|
1 | 1 | const colors = { |
2 | 2 | light: { |
3 | 3 | background: { |
4 | | - default: 'hsla(0, 0%, 100%, 1)', |
5 | | - alternative: 'hsla(210, 18%, 96%, 1)', |
| 4 | + default: '#FFFFFF', |
| 5 | + alternative: '#F2F4F6', |
6 | 6 | }, |
7 | 7 | text: { |
8 | | - default: 'hsla(210, 8%, 15%, 1)', |
9 | | - alternative: 'hsla(210, 8%, 35%, 1)', |
10 | | - muted: 'hsla(210, 8%, 75%, 1)', |
| 8 | + default: '#24272A', |
| 9 | + alternative: '#535A61', |
| 10 | + muted: '#BBC0C5', |
11 | 11 | }, |
12 | 12 | icon: { |
13 | | - default: 'hsla(212, 8%, 45%, 1)', |
14 | | - muted: 'hsla(210, 8%, 75%, 1)', |
| 13 | + default: '#6A737D', |
| 14 | + muted: '#BBC0C5', |
15 | 15 | }, |
16 | 16 | border: { |
17 | | - default: 'hsla(210, 8%, 75%, 1)', |
18 | | - muted: 'hsla(210, 8%, 85%, 1)', |
| 17 | + default: '#BBC0C5', |
| 18 | + muted: '#D6D9DC', |
19 | 19 | }, |
20 | 20 | overlay: { |
21 | | - default: 'hsla(0, 0%, 0%, .6)', |
22 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
| 21 | + default: '#00000060', |
| 22 | + inverse: '#FCFCFC', |
23 | 23 | }, |
24 | 24 | primary: { |
25 | | - default: 'hsla(205, 97%, 43%, 1)', |
26 | | - alternative: 'hsla(205, 98%, 33%, 1)', |
27 | | - muted: 'hsla(205, 97%, 43%, .1)', |
28 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
29 | | - disabled: 'hsla(205, 97%, 43%, .5)', |
| 25 | + default: '#037DD6', |
| 26 | + alternative: '#0260A4', |
| 27 | + muted: '#037DD610', |
| 28 | + inverse: '#FCFCFC', |
| 29 | + disabled: '#037DD650', |
30 | 30 | }, |
31 | 31 | secondary: { |
32 | | - default: 'hsla(24, 93%, 50%, 1)', |
33 | | - alternative: 'hsla(25, 93%, 40%, 1)', |
34 | | - muted: 'hsla(24, 93%, 50%, .1)', |
35 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
36 | | - disabled: 'hsla(24, 93%, 50%, .5)', |
| 32 | + default: '#F66A0A', |
| 33 | + alternative: '#C65507', |
| 34 | + muted: '#F66A0A10', |
| 35 | + inverse: '#FCFCFC', |
| 36 | + disabled: '#F66A0A50', |
37 | 37 | }, |
38 | 38 | error: { |
39 | | - default: 'hsla(354, 66%, 54%, 1)', |
40 | | - alternative: 'hsla(354, 67%, 44%, 1)', |
41 | | - muted: 'hsla(354, 66%, 54%, .1)', |
42 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
43 | | - disabled: 'hsla(354, 66%, 54%, .5)', |
| 39 | + default: '#D73A49', |
| 40 | + alternative: '#B92534', |
| 41 | + muted: '#D73A4910', |
| 42 | + inverse: '#FCFCFC', |
| 43 | + disabled: '#D73A4950', |
44 | 44 | }, |
45 | 45 | warning: { |
46 | | - default: 'hsla(46, 100%, 62%, 1)', |
47 | | - alternative: 'hsla(46, 100%, 52%, 1)', |
48 | | - muted: 'hsla(46, 100%, 62%, .1)', |
49 | | - inverse: 'hsla(210, 9%, 9%, 1)', |
50 | | - disabled: 'hsla(46, 100%, 62%, .5)', |
| 46 | + default: '#FFD33D', |
| 47 | + alternative: '#FFC70A', |
| 48 | + muted: '#FFD33D10', |
| 49 | + inverse: '#141618', |
| 50 | + disabled: '#FFD33D50', |
51 | 51 | }, |
52 | 52 | success: { |
53 | | - default: 'hsla(134, 61%, 41%, 1)', |
54 | | - alternative: 'hsla(134, 62%, 31%, 1)', |
55 | | - muted: 'hsla(134, 61%, 41%, .1)', |
56 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
57 | | - disabled: 'hsla(134, 61%, 41%, 1, .5)', |
| 53 | + default: '#28A745', |
| 54 | + alternative: '#1E7E34', |
| 55 | + muted: '#28A74510', |
| 56 | + inverse: '#FCFCFC', |
| 57 | + disabled: '#28A74550', |
58 | 58 | }, |
59 | 59 | info: { |
60 | | - default: 'hsla(205, 97%, 43%, 1)', |
61 | | - alternative: 'hsla(205, 98%, 33%, 1)', |
62 | | - muted: 'hsla(205, 97%, 43%, .1)', |
63 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
64 | | - disabled: 'hsla(205, 97%, 43%, .5)', |
| 60 | + default: '#037DD6', |
| 61 | + alternative: '#0260A4', |
| 62 | + muted: '#037DD610', |
| 63 | + inverse: '#FCFCFC', |
| 64 | + disabled: '#037DD650', |
65 | 65 | }, |
66 | 66 | }, |
67 | 67 | dark: { |
68 | 68 | background: { |
69 | | - default: 'hsla(210, 9%, 9%, 1)', |
70 | | - alternative: 'hsla(210, 8%, 15%, 1)', |
| 69 | + default: '#141618', |
| 70 | + alternative: '#24272A', |
71 | 71 | }, |
72 | 72 | text: { |
73 | | - default: 'hsla(0, 0%, 100%, 1)', |
74 | | - alternative: 'hsla(210, 25%, 98%, 1)', |
75 | | - muted: 'hsla(213, 8%, 55%, 1)', |
| 73 | + default: '#FFFFFF', |
| 74 | + alternative: '#FAFBFC', |
| 75 | + muted: '#9FA6AE', |
76 | 76 | }, |
77 | 77 | icon: { |
78 | | - default: 'hsla(210, 18%, 96%, 1)', |
79 | | - muted: 'hsla(213, 8%, 55%, 1)', |
| 78 | + default: '#F2F4F6', |
| 79 | + muted: '#9FA6AE', |
80 | 80 | }, |
81 | 81 | border: { |
82 | | - default: 'hsla(213, 8%, 55%, 1)', |
83 | | - muted: 'hsla(213, 9%, 25%, 1)', |
| 82 | + default: '#848C96', |
| 83 | + muted: '#3B4046', |
84 | 84 | }, |
85 | 85 | overlay: { |
86 | | - default: 'hsla(0, 0%, 100%, .4)', |
87 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
| 86 | + default: '#FFFFFF40', |
| 87 | + inverse: '#FCFCFC', |
88 | 88 | }, |
89 | 89 | primary: { |
90 | | - default: 'hsla(205, 98%, 53%, 1)', |
91 | | - alternative: 'hsla(205, 97%, 63%, 1)', |
92 | | - muted: 'hsla(205, 98%, 53%, .15)', |
93 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
94 | | - disabled: 'hsla(205, 98%, 53%, .5)', |
| 90 | + default: '#1098FC', |
| 91 | + alternative: '#43AEFC', |
| 92 | + muted: '#1098FC15', |
| 93 | + inverse: '#FCFCFC', |
| 94 | + disabled: '#1098FC50', |
95 | 95 | }, |
96 | 96 | secondary: { |
97 | | - default: 'hsla(24, 93%, 60%, 1)', |
98 | | - alternative: 'hsla(25, 93%, 70%, 1)', |
99 | | - muted: 'hsla(24, 93%, 60%, .15)', |
100 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
101 | | - disabled: 'hsla(24, 93%, 60%, .5)', |
| 97 | + default: '##F8883', |
| 98 | + alternative: '#FAA66C', |
| 99 | + muted: '#F8883B15', |
| 100 | + inverse: '#FCFCFC', |
| 101 | + disabled: '#F8883B50', |
102 | 102 | }, |
103 | 103 | error: { |
104 | | - default: 'hsla(354, 66%, 54%, 1)', |
105 | | - alternative: 'hsla(354, 67%, 64%, 1)', |
106 | | - muted: 'hsla(354, 66%, 54%, .15)', |
107 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
108 | | - disabled: 'hsla(354, 66%, 54%, .5)', |
| 104 | + default: '#D73A49', |
| 105 | + alternative: '#E06470', |
| 106 | + muted: '#D73A4915', |
| 107 | + inverse: '#FCFCFC', |
| 108 | + disabled: '#D73A4950', |
109 | 109 | }, |
110 | 110 | warning: { |
111 | | - default: 'hsla(46, 100%, 62%, 1)', |
112 | | - alternative: 'hsla(47, 100%, 72%, 1)', |
113 | | - muted: 'hsla(46, 100%, 62%, .15)', |
114 | | - inverse: 'hsla(210, 9%, 9%, 1)', |
115 | | - disabled: 'hsla(46, 100%, 62%, .5)', |
| 111 | + default: '#FFD33D', |
| 112 | + alternative: '#FFDF70', |
| 113 | + muted: '#FFD33D15', |
| 114 | + inverse: '#141618', |
| 115 | + disabled: '#FFD33D50', |
116 | 116 | }, |
117 | 117 | success: { |
118 | | - default: 'hsla(134, 61%, 41%, 1)', |
119 | | - alternative: 'hsla(134, 61%, 61%, 1)', |
120 | | - muted: 'hsla(134, 61%, 41%, .15)', |
121 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
122 | | - disabled: 'hsla(134, 61%, 41%, 1, .5)', |
| 118 | + default: '#28A745', |
| 119 | + alternative: '#5DD879', |
| 120 | + muted: '#28A74515', |
| 121 | + inverse: '#FCFCFC', |
| 122 | + disabled: '#28A74550', |
123 | 123 | }, |
124 | 124 | info: { |
125 | | - default: 'hsla(205, 98%, 53%, 1)', |
126 | | - alternative: 'hsla(205, 97%, 63%, 1)', |
127 | | - muted: 'hsla(205, 98%, 53%, .15)', |
128 | | - inverse: 'hsla(0, 0%, 99%, 1)', |
129 | | - disabled: 'hsla(205, 97%, 43%, .5)', |
| 125 | + default: '#1098FC', |
| 126 | + alternative: '#43AEFC', |
| 127 | + muted: '#1098FC15', |
| 128 | + inverse: '#FCFCFC', |
| 129 | + disabled: '#037DD650', |
130 | 130 | }, |
131 | 131 | }, |
132 | 132 | }; |
|
0 commit comments