-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ripple.js
42 lines (41 loc) · 1.06 KB
/
ripple.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export const RippleConfig = {
animationSpeed: '0.5s',
colorful: true,
duration: 500,
icon: true,
position: 'bottom-right',
progressBar: true,
timeout: 3000,
colors: {
success: {
backgroundColor: '#ECFDF3',
color: '#008A2E',
borderColor: '#D3FDE5',
progressBarColor: '#008A2E',
},
error: {
backgroundColor: '#FFF0F0',
color: '#E60000',
borderColor: '#FFE0E1',
progressBarColor: '#E60000',
},
info: {
backgroundColor: '#F0F8FF',
color: '#0973DC',
borderColor: '#D3E0FD',
progressBarColor: '#0973DC',
},
warning: {
backgroundColor: '#FFFCF0',
color: '#DC7609',
borderColor: '#FDF5D3',
progressBarColor: '#DC7609',
},
default: {
backgroundColor: '#FFFFFF',
color: '#171717',
borderColor: '#EDEDED',
progressBarColor: '#171717',
}
}
};