|
1 | 1 | module.exports = function() {
|
2 |
| - const colors = { |
3 |
| - transparent: 'transparent', |
4 |
| - |
5 |
| - black: '#22292f', |
6 |
| - 'grey-darkest': '#3d4852', |
7 |
| - 'grey-darker': '#606f7b', |
8 |
| - 'grey-dark': '#8795a1', |
9 |
| - grey: '#b8c2cc', |
10 |
| - 'grey-light': '#dae1e7', |
11 |
| - 'grey-lighter': '#f1f5f8', |
12 |
| - 'grey-lightest': '#f8fafc', |
13 |
| - white: '#ffffff', |
| 2 | + return { |
| 3 | + colors: { |
| 4 | + transparent: 'transparent', |
14 | 5 |
|
15 |
| - 'red-darkest': '#3b0d0c', |
16 |
| - 'red-darker': '#621b18', |
17 |
| - 'red-dark': '#cc1f1a', |
18 |
| - red: '#e3342f', |
19 |
| - 'red-light': '#ef5753', |
20 |
| - 'red-lighter': '#f9acaa', |
21 |
| - 'red-lightest': '#fcebea', |
| 6 | + black: '#22292f', |
| 7 | + 'grey-darkest': '#3d4852', |
| 8 | + 'grey-darker': '#606f7b', |
| 9 | + 'grey-dark': '#8795a1', |
| 10 | + grey: '#b8c2cc', |
| 11 | + 'grey-light': '#dae1e7', |
| 12 | + 'grey-lighter': '#f1f5f8', |
| 13 | + 'grey-lightest': '#f8fafc', |
| 14 | + white: '#ffffff', |
22 | 15 |
|
23 |
| - 'orange-darkest': '#462a16', |
24 |
| - 'orange-darker': '#613b1f', |
25 |
| - 'orange-dark': '#de751f', |
26 |
| - orange: '#f6993f', |
27 |
| - 'orange-light': '#faad63', |
28 |
| - 'orange-lighter': '#fcd9b6', |
29 |
| - 'orange-lightest': '#fff5eb', |
| 16 | + 'red-darkest': '#3b0d0c', |
| 17 | + 'red-darker': '#621b18', |
| 18 | + 'red-dark': '#cc1f1a', |
| 19 | + red: '#e3342f', |
| 20 | + 'red-light': '#ef5753', |
| 21 | + 'red-lighter': '#f9acaa', |
| 22 | + 'red-lightest': '#fcebea', |
30 | 23 |
|
31 |
| - 'yellow-darkest': '#453411', |
32 |
| - 'yellow-darker': '#684f1d', |
33 |
| - 'yellow-dark': '#f2d024', |
34 |
| - yellow: '#ffed4a', |
35 |
| - 'yellow-light': '#fff382', |
36 |
| - 'yellow-lighter': '#fff9c2', |
37 |
| - 'yellow-lightest': '#fcfbeb', |
| 24 | + 'orange-darkest': '#462a16', |
| 25 | + 'orange-darker': '#613b1f', |
| 26 | + 'orange-dark': '#de751f', |
| 27 | + orange: '#f6993f', |
| 28 | + 'orange-light': '#faad63', |
| 29 | + 'orange-lighter': '#fcd9b6', |
| 30 | + 'orange-lightest': '#fff5eb', |
38 | 31 |
|
39 |
| - 'green-darkest': '#0f2f21', |
40 |
| - 'green-darker': '#1a4731', |
41 |
| - 'green-dark': '#1f9d55', |
42 |
| - green: '#38c172', |
43 |
| - 'green-light': '#51d88a', |
44 |
| - 'green-lighter': '#a2f5bf', |
45 |
| - 'green-lightest': '#e3fcec', |
| 32 | + 'yellow-darkest': '#453411', |
| 33 | + 'yellow-darker': '#684f1d', |
| 34 | + 'yellow-dark': '#f2d024', |
| 35 | + yellow: '#ffed4a', |
| 36 | + 'yellow-light': '#fff382', |
| 37 | + 'yellow-lighter': '#fff9c2', |
| 38 | + 'yellow-lightest': '#fcfbeb', |
46 | 39 |
|
47 |
| - 'teal-darkest': '#0d3331', |
48 |
| - 'teal-darker': '#20504f', |
49 |
| - 'teal-dark': '#38a89d', |
50 |
| - teal: '#4dc0b5', |
51 |
| - 'teal-light': '#64d5ca', |
52 |
| - 'teal-lighter': '#a0f0ed', |
53 |
| - 'teal-lightest': '#e8fffe', |
| 40 | + 'green-darkest': '#0f2f21', |
| 41 | + 'green-darker': '#1a4731', |
| 42 | + 'green-dark': '#1f9d55', |
| 43 | + green: '#38c172', |
| 44 | + 'green-light': '#51d88a', |
| 45 | + 'green-lighter': '#a2f5bf', |
| 46 | + 'green-lightest': '#e3fcec', |
54 | 47 |
|
55 |
| - 'blue-darkest': '#12283a', |
56 |
| - 'blue-darker': '#1c3d5a', |
57 |
| - 'blue-dark': '#2779bd', |
58 |
| - blue: '#3490dc', |
59 |
| - 'blue-light': '#6cb2eb', |
60 |
| - 'blue-lighter': '#bcdefa', |
61 |
| - 'blue-lightest': '#eff8ff', |
| 48 | + 'teal-darkest': '#0d3331', |
| 49 | + 'teal-darker': '#20504f', |
| 50 | + 'teal-dark': '#38a89d', |
| 51 | + teal: '#4dc0b5', |
| 52 | + 'teal-light': '#64d5ca', |
| 53 | + 'teal-lighter': '#a0f0ed', |
| 54 | + 'teal-lightest': '#e8fffe', |
62 | 55 |
|
63 |
| - 'indigo-darkest': '#191e38', |
64 |
| - 'indigo-darker': '#2f365f', |
65 |
| - 'indigo-dark': '#5661b3', |
66 |
| - indigo: '#6574cd', |
67 |
| - 'indigo-light': '#7886d7', |
68 |
| - 'indigo-lighter': '#b2b7ff', |
69 |
| - 'indigo-lightest': '#e6e8ff', |
| 56 | + 'blue-darkest': '#12283a', |
| 57 | + 'blue-darker': '#1c3d5a', |
| 58 | + 'blue-dark': '#2779bd', |
| 59 | + blue: '#3490dc', |
| 60 | + 'blue-light': '#6cb2eb', |
| 61 | + 'blue-lighter': '#bcdefa', |
| 62 | + 'blue-lightest': '#eff8ff', |
70 | 63 |
|
71 |
| - 'purple-darkest': '#21183c', |
72 |
| - 'purple-darker': '#382b5f', |
73 |
| - 'purple-dark': '#794acf', |
74 |
| - purple: '#9561e2', |
75 |
| - 'purple-light': '#a779e9', |
76 |
| - 'purple-lighter': '#d6bbfc', |
77 |
| - 'purple-lightest': '#f3ebff', |
| 64 | + 'indigo-darkest': '#191e38', |
| 65 | + 'indigo-darker': '#2f365f', |
| 66 | + 'indigo-dark': '#5661b3', |
| 67 | + indigo: '#6574cd', |
| 68 | + 'indigo-light': '#7886d7', |
| 69 | + 'indigo-lighter': '#b2b7ff', |
| 70 | + 'indigo-lightest': '#e6e8ff', |
78 | 71 |
|
79 |
| - 'pink-darkest': '#451225', |
80 |
| - 'pink-darker': '#6f213f', |
81 |
| - 'pink-dark': '#eb5286', |
82 |
| - pink: '#f66d9b', |
83 |
| - 'pink-light': '#fa7ea8', |
84 |
| - 'pink-lighter': '#ffbbca', |
85 |
| - 'pink-lightest': '#ffebef', |
86 |
| - } |
| 72 | + 'purple-darkest': '#21183c', |
| 73 | + 'purple-darker': '#382b5f', |
| 74 | + 'purple-dark': '#794acf', |
| 75 | + purple: '#9561e2', |
| 76 | + 'purple-light': '#a779e9', |
| 77 | + 'purple-lighter': '#d6bbfc', |
| 78 | + 'purple-lightest': '#f3ebff', |
87 | 79 |
|
88 |
| - return { |
89 |
| - colors, |
| 80 | + 'pink-darkest': '#451225', |
| 81 | + 'pink-darker': '#6f213f', |
| 82 | + 'pink-dark': '#eb5286', |
| 83 | + pink: '#f66d9b', |
| 84 | + 'pink-light': '#fa7ea8', |
| 85 | + 'pink-lighter': '#ffbbca', |
| 86 | + 'pink-lightest': '#ffebef', |
| 87 | + }, |
90 | 88 | screens: {
|
91 | 89 | sm: '576px',
|
92 | 90 | md: '768px',
|
@@ -170,7 +168,7 @@ module.exports = function() {
|
170 | 168 | '8': '8px',
|
171 | 169 | },
|
172 | 170 | borderColors: theme => {
|
173 |
| - return global.Object.assign({ default: colors['grey-light'] }, theme.colors) |
| 171 | + return global.Object.assign({ default: theme.colors['grey-light'] }, theme.colors) |
174 | 172 | },
|
175 | 173 | borderRadius: {
|
176 | 174 | none: '0',
|
|
0 commit comments