-
Notifications
You must be signed in to change notification settings - Fork 6
/
color-styles.js
61 lines (59 loc) · 1.21 KB
/
color-styles.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import colors from "./colors";
const colorStyles = {
warning: {
color: colors.yellows[7],
backgroundColor: colors.yellows[1],
button: {
color: colors.yellows[6],
backgroundColor: "transparent",
"&:hover": {
color: colors.yellows[7]
}
}
},
error: {
color: colors.reds[6],
backgroundColor: colors.reds[1],
button: {
color: colors.reds[4],
backgroundColor: "transparent",
"&:hover": {
color: colors.reds[6]
}
}
},
info: {
color: colors.blues[7],
backgroundColor: colors.blues[1],
button: {
color: colors.blues[4],
backgroundColor: "transparent",
"&:hover": {
color: colors.blues[7]
}
}
},
success: {
color: colors.greens[7],
backgroundColor: colors.greens[1],
button: {
color: colors.greens[5],
backgroundColor: "transparent",
"&:hover": {
color: colors.greens[7]
}
}
},
light: {
color: colors.grays[7],
backgroundColor: colors.grays[0],
button: {
color: colors.grays[5],
backgroundColor: "transparent",
"&:hover": {
color: colors.grays[7]
}
}
}
};
export default colorStyles;