@atlaskit/tokens 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.md +42 -3
- package/css/atlassian-dark.css +88 -81
- package/css/atlassian-light.css +88 -81
- package/dist/cjs/entry-points/token-default-values.js +15 -0
- package/dist/cjs/figma/synchronize-figma-tokens.js +4 -4
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +25 -28
- package/dist/cjs/tokens/atlassian-dark/color/background.js +49 -196
- package/dist/cjs/tokens/atlassian-dark/color/border.js +2 -8
- package/dist/cjs/tokens/atlassian-dark/color/icon-border.js +5 -20
- package/dist/cjs/tokens/atlassian-dark/color/overlay.js +2 -8
- package/dist/cjs/tokens/atlassian-dark/color/text.js +14 -56
- package/dist/cjs/tokens/atlassian-dark/shadow/shadow.js +2 -8
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +17 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +25 -28
- package/dist/cjs/tokens/atlassian-light/color/background.js +49 -196
- package/dist/cjs/tokens/atlassian-light/color/border.js +2 -8
- package/dist/cjs/tokens/atlassian-light/color/icon-border.js +5 -20
- package/dist/cjs/tokens/atlassian-light/color/overlay.js +2 -8
- package/dist/cjs/tokens/atlassian-light/color/text.js +14 -56
- package/dist/cjs/tokens/atlassian-light/shadow/shadow.js +2 -8
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +17 -0
- package/dist/cjs/tokens/default/color/accent.js +92 -0
- package/dist/cjs/tokens/default/color/background.js +338 -0
- package/dist/cjs/tokens/default/color/border.js +26 -0
- package/dist/cjs/tokens/default/color/icon-border.js +44 -0
- package/dist/cjs/tokens/default/color/overlay.js +26 -0
- package/dist/cjs/tokens/default/color/text.js +100 -0
- package/dist/cjs/tokens/default/shadow/shadow.js +24 -0
- package/dist/cjs/tokens/default/utility/utility.js +20 -0
- package/dist/cjs/tokens/rename-mapping.js +1 -11
- package/dist/cjs/tokens/token-default-values.js +104 -0
- package/dist/cjs/tokens/token-names.js +88 -81
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/entry-points/token-default-values.js +1 -0
- package/dist/es2019/figma/synchronize-figma-tokens.js +4 -4
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +25 -28
- package/dist/es2019/tokens/atlassian-dark/color/background.js +49 -196
- package/dist/es2019/tokens/atlassian-dark/color/border.js +2 -8
- package/dist/es2019/tokens/atlassian-dark/color/icon-border.js +5 -20
- package/dist/es2019/tokens/atlassian-dark/color/overlay.js +2 -8
- package/dist/es2019/tokens/atlassian-dark/color/text.js +14 -56
- package/dist/es2019/tokens/atlassian-dark/shadow/shadow.js +2 -8
- package/dist/es2019/tokens/atlassian-dark/utility/utility.js +10 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +25 -28
- package/dist/es2019/tokens/atlassian-light/color/background.js +49 -196
- package/dist/es2019/tokens/atlassian-light/color/border.js +2 -8
- package/dist/es2019/tokens/atlassian-light/color/icon-border.js +5 -20
- package/dist/es2019/tokens/atlassian-light/color/overlay.js +2 -8
- package/dist/es2019/tokens/atlassian-light/color/text.js +14 -56
- package/dist/es2019/tokens/atlassian-light/shadow/shadow.js +2 -8
- package/dist/es2019/tokens/atlassian-light/utility/utility.js +10 -0
- package/dist/es2019/tokens/default/color/accent.js +85 -0
- package/dist/es2019/tokens/default/color/background.js +336 -0
- package/dist/es2019/tokens/default/color/border.js +19 -0
- package/dist/es2019/tokens/default/color/icon-border.js +55 -0
- package/dist/es2019/tokens/default/color/overlay.js +19 -0
- package/dist/es2019/tokens/default/color/text.js +100 -0
- package/dist/es2019/tokens/default/shadow/shadow.js +25 -0
- package/dist/es2019/tokens/default/utility/utility.js +13 -0
- package/dist/es2019/tokens/rename-mapping.js +1 -11
- package/dist/es2019/tokens/token-default-values.js +97 -0
- package/dist/es2019/tokens/token-names.js +88 -81
- package/dist/es2019/version.json +1 -1
- package/dist/esm/entry-points/token-default-values.js +1 -0
- package/dist/esm/figma/synchronize-figma-tokens.js +4 -4
- package/dist/esm/tokens/atlassian-dark/color/accent.js +25 -28
- package/dist/esm/tokens/atlassian-dark/color/background.js +49 -196
- package/dist/esm/tokens/atlassian-dark/color/border.js +2 -8
- package/dist/esm/tokens/atlassian-dark/color/icon-border.js +5 -20
- package/dist/esm/tokens/atlassian-dark/color/overlay.js +2 -8
- package/dist/esm/tokens/atlassian-dark/color/text.js +14 -56
- package/dist/esm/tokens/atlassian-dark/shadow/shadow.js +2 -8
- package/dist/esm/tokens/atlassian-dark/utility/utility.js +10 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +25 -28
- package/dist/esm/tokens/atlassian-light/color/background.js +49 -196
- package/dist/esm/tokens/atlassian-light/color/border.js +2 -8
- package/dist/esm/tokens/atlassian-light/color/icon-border.js +5 -20
- package/dist/esm/tokens/atlassian-light/color/overlay.js +2 -8
- package/dist/esm/tokens/atlassian-light/color/text.js +14 -56
- package/dist/esm/tokens/atlassian-light/shadow/shadow.js +2 -8
- package/dist/esm/tokens/atlassian-light/utility/utility.js +10 -0
- package/dist/esm/tokens/default/color/accent.js +85 -0
- package/dist/esm/tokens/default/color/background.js +331 -0
- package/dist/esm/tokens/default/color/border.js +19 -0
- package/dist/esm/tokens/default/color/icon-border.js +37 -0
- package/dist/esm/tokens/default/color/overlay.js +19 -0
- package/dist/esm/tokens/default/color/text.js +93 -0
- package/dist/esm/tokens/default/shadow/shadow.js +17 -0
- package/dist/esm/tokens/default/utility/utility.js +13 -0
- package/dist/esm/tokens/rename-mapping.js +1 -11
- package/dist/esm/tokens/token-default-values.js +97 -0
- package/dist/esm/tokens/token-names.js +88 -81
- package/dist/esm/version.json +1 -1
- package/dist/types/entry-points/token-default-values.d.ts +1 -0
- package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/icon-border.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/overlay.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/shadow/shadow.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +5 -0
- package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/color/icon-border.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/color/overlay.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/shadow/shadow.d.ts +2 -2
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +5 -0
- package/dist/types/tokens/default/color/accent.d.ts +3 -0
- package/dist/types/tokens/default/color/background.d.ts +3 -0
- package/dist/types/tokens/default/color/border.d.ts +3 -0
- package/dist/types/tokens/default/color/icon-border.d.ts +3 -0
- package/dist/types/tokens/default/color/overlay.d.ts +3 -0
- package/dist/types/tokens/default/color/text.d.ts +3 -0
- package/dist/types/tokens/default/shadow/shadow.d.ts +3 -0
- package/dist/types/tokens/default/utility/utility.d.ts +5 -0
- package/dist/types/tokens/token-default-values.d.ts +94 -0
- package/dist/types/tokens/token-names.d.ts +176 -162
- package/dist/types/types.d.ts +22 -4
- package/package.json +4 -2
- package/token-default-values/package.json +7 -0
- package/tokens-browser-extension/README.md +28 -0
- package/tokens-browser-extension/atlassian-theme.css +375 -0
- package/tokens-browser-extension/background.js +75 -0
- package/tokens-browser-extension/content-script.js +75 -0
- package/tokens-browser-extension/devtools.html +1 -0
- package/tokens-browser-extension/devtools.js +14 -0
- package/tokens-browser-extension/manifest.json +36 -0
- package/tokens-browser-extension/messageback-script.js +10 -0
- package/tokens-browser-extension/messaging.js +36 -0
- package/tokens-browser-extension/panel.html +25 -0
- package/tokens-browser-extension/panel.js +46 -0
- package/tokens-browser-extension/toast.png +0 -0
|
@@ -2,327 +2,180 @@ const color = {
|
|
|
2
2
|
color: {
|
|
3
3
|
background: {
|
|
4
4
|
sunken: {
|
|
5
|
-
value: 'N100A'
|
|
6
|
-
attributes: {
|
|
7
|
-
group: 'paint'
|
|
8
|
-
}
|
|
5
|
+
value: 'N100A'
|
|
9
6
|
},
|
|
10
7
|
default: {
|
|
11
|
-
value: 'N0'
|
|
12
|
-
attributes: {
|
|
13
|
-
group: 'paint'
|
|
14
|
-
}
|
|
8
|
+
value: 'N0'
|
|
15
9
|
},
|
|
16
10
|
card: {
|
|
17
|
-
value: 'N0'
|
|
18
|
-
attributes: {
|
|
19
|
-
group: 'paint'
|
|
20
|
-
}
|
|
11
|
+
value: 'N0'
|
|
21
12
|
},
|
|
22
13
|
overlay: {
|
|
23
|
-
value: 'N0'
|
|
24
|
-
attributes: {
|
|
25
|
-
group: 'paint'
|
|
26
|
-
}
|
|
14
|
+
value: 'N0'
|
|
27
15
|
},
|
|
28
16
|
selected: {
|
|
29
17
|
resting: {
|
|
30
|
-
value: 'B100'
|
|
31
|
-
attributes: {
|
|
32
|
-
group: 'paint'
|
|
33
|
-
}
|
|
18
|
+
value: 'B100'
|
|
34
19
|
},
|
|
35
20
|
hover: {
|
|
36
|
-
value: 'B200'
|
|
37
|
-
attributes: {
|
|
38
|
-
group: 'paint'
|
|
39
|
-
}
|
|
21
|
+
value: 'B200'
|
|
40
22
|
},
|
|
41
23
|
pressed: {
|
|
42
|
-
value: 'B300'
|
|
43
|
-
attributes: {
|
|
44
|
-
group: 'paint'
|
|
45
|
-
}
|
|
24
|
+
value: 'B300'
|
|
46
25
|
}
|
|
47
26
|
},
|
|
48
27
|
blanket: {
|
|
49
|
-
value: 'N500A'
|
|
50
|
-
attributes: {
|
|
51
|
-
group: 'paint'
|
|
52
|
-
}
|
|
28
|
+
value: 'N500A'
|
|
53
29
|
},
|
|
54
30
|
disabled: {
|
|
55
|
-
value: 'N200A'
|
|
56
|
-
attributes: {
|
|
57
|
-
group: 'paint'
|
|
58
|
-
}
|
|
31
|
+
value: 'N200A'
|
|
59
32
|
},
|
|
60
33
|
boldBrand: {
|
|
61
34
|
resting: {
|
|
62
|
-
value: 'B700'
|
|
63
|
-
attributes: {
|
|
64
|
-
group: 'paint'
|
|
65
|
-
}
|
|
35
|
+
value: 'B700'
|
|
66
36
|
},
|
|
67
37
|
hover: {
|
|
68
|
-
value: 'B800'
|
|
69
|
-
attributes: {
|
|
70
|
-
group: 'paint'
|
|
71
|
-
}
|
|
38
|
+
value: 'B800'
|
|
72
39
|
},
|
|
73
40
|
pressed: {
|
|
74
|
-
value: 'B900'
|
|
75
|
-
attributes: {
|
|
76
|
-
group: 'paint'
|
|
77
|
-
}
|
|
41
|
+
value: 'B900'
|
|
78
42
|
}
|
|
79
43
|
},
|
|
80
44
|
subtleBrand: {
|
|
81
45
|
resting: {
|
|
82
|
-
value: 'B100'
|
|
83
|
-
attributes: {
|
|
84
|
-
group: 'paint'
|
|
85
|
-
}
|
|
46
|
+
value: 'B100'
|
|
86
47
|
},
|
|
87
48
|
hover: {
|
|
88
|
-
value: 'B200'
|
|
89
|
-
attributes: {
|
|
90
|
-
group: 'paint'
|
|
91
|
-
}
|
|
49
|
+
value: 'B200'
|
|
92
50
|
},
|
|
93
51
|
pressed: {
|
|
94
|
-
value: 'B300'
|
|
95
|
-
attributes: {
|
|
96
|
-
group: 'paint'
|
|
97
|
-
}
|
|
52
|
+
value: 'B300'
|
|
98
53
|
}
|
|
99
54
|
},
|
|
100
55
|
boldDanger: {
|
|
101
56
|
resting: {
|
|
102
|
-
value: 'R700'
|
|
103
|
-
attributes: {
|
|
104
|
-
group: 'paint'
|
|
105
|
-
}
|
|
57
|
+
value: 'R700'
|
|
106
58
|
},
|
|
107
59
|
hover: {
|
|
108
|
-
value: 'R800'
|
|
109
|
-
attributes: {
|
|
110
|
-
group: 'paint'
|
|
111
|
-
}
|
|
60
|
+
value: 'R800'
|
|
112
61
|
},
|
|
113
62
|
pressed: {
|
|
114
|
-
value: 'R900'
|
|
115
|
-
attributes: {
|
|
116
|
-
group: 'paint'
|
|
117
|
-
}
|
|
63
|
+
value: 'R900'
|
|
118
64
|
}
|
|
119
65
|
},
|
|
120
66
|
subtleDanger: {
|
|
121
67
|
resting: {
|
|
122
|
-
value: 'R100'
|
|
123
|
-
attributes: {
|
|
124
|
-
group: 'paint'
|
|
125
|
-
}
|
|
68
|
+
value: 'R100'
|
|
126
69
|
},
|
|
127
70
|
hover: {
|
|
128
|
-
value: 'R200'
|
|
129
|
-
attributes: {
|
|
130
|
-
group: 'paint'
|
|
131
|
-
}
|
|
71
|
+
value: 'R200'
|
|
132
72
|
},
|
|
133
73
|
pressed: {
|
|
134
|
-
value: 'R300'
|
|
135
|
-
attributes: {
|
|
136
|
-
group: 'paint'
|
|
137
|
-
}
|
|
74
|
+
value: 'R300'
|
|
138
75
|
}
|
|
139
76
|
},
|
|
140
77
|
boldWarning: {
|
|
141
78
|
resting: {
|
|
142
|
-
value: 'Y400'
|
|
143
|
-
attributes: {
|
|
144
|
-
group: 'paint'
|
|
145
|
-
}
|
|
79
|
+
value: 'Y400'
|
|
146
80
|
},
|
|
147
81
|
hover: {
|
|
148
|
-
value: 'Y500'
|
|
149
|
-
attributes: {
|
|
150
|
-
group: 'paint'
|
|
151
|
-
}
|
|
82
|
+
value: 'Y500'
|
|
152
83
|
},
|
|
153
84
|
pressed: {
|
|
154
|
-
value: 'Y600'
|
|
155
|
-
attributes: {
|
|
156
|
-
group: 'paint'
|
|
157
|
-
}
|
|
85
|
+
value: 'Y600'
|
|
158
86
|
}
|
|
159
87
|
},
|
|
160
88
|
subtleWarning: {
|
|
161
89
|
resting: {
|
|
162
|
-
value: 'Y100'
|
|
163
|
-
attributes: {
|
|
164
|
-
group: 'paint'
|
|
165
|
-
}
|
|
90
|
+
value: 'Y100'
|
|
166
91
|
},
|
|
167
92
|
hover: {
|
|
168
|
-
value: 'Y200'
|
|
169
|
-
attributes: {
|
|
170
|
-
group: 'paint'
|
|
171
|
-
}
|
|
93
|
+
value: 'Y200'
|
|
172
94
|
},
|
|
173
95
|
pressed: {
|
|
174
|
-
value: 'Y300'
|
|
175
|
-
attributes: {
|
|
176
|
-
group: 'paint'
|
|
177
|
-
}
|
|
96
|
+
value: 'Y300'
|
|
178
97
|
}
|
|
179
98
|
},
|
|
180
99
|
boldSuccess: {
|
|
181
100
|
resting: {
|
|
182
|
-
value: 'G700'
|
|
183
|
-
attributes: {
|
|
184
|
-
group: 'paint'
|
|
185
|
-
}
|
|
101
|
+
value: 'G700'
|
|
186
102
|
},
|
|
187
103
|
hover: {
|
|
188
|
-
value: 'G800'
|
|
189
|
-
attributes: {
|
|
190
|
-
group: 'paint'
|
|
191
|
-
}
|
|
104
|
+
value: 'G800'
|
|
192
105
|
},
|
|
193
106
|
pressed: {
|
|
194
|
-
value: 'G900'
|
|
195
|
-
attributes: {
|
|
196
|
-
group: 'paint'
|
|
197
|
-
}
|
|
107
|
+
value: 'G900'
|
|
198
108
|
}
|
|
199
109
|
},
|
|
200
110
|
subtleSuccess: {
|
|
201
111
|
resting: {
|
|
202
|
-
value: 'G100'
|
|
203
|
-
attributes: {
|
|
204
|
-
group: 'paint'
|
|
205
|
-
}
|
|
112
|
+
value: 'G100'
|
|
206
113
|
},
|
|
207
114
|
hover: {
|
|
208
|
-
value: 'G200'
|
|
209
|
-
attributes: {
|
|
210
|
-
group: 'paint'
|
|
211
|
-
}
|
|
115
|
+
value: 'G200'
|
|
212
116
|
},
|
|
213
117
|
pressed: {
|
|
214
|
-
value: 'G300'
|
|
215
|
-
attributes: {
|
|
216
|
-
group: 'paint'
|
|
217
|
-
}
|
|
118
|
+
value: 'G300'
|
|
218
119
|
}
|
|
219
120
|
},
|
|
220
121
|
boldDiscovery: {
|
|
221
122
|
resting: {
|
|
222
|
-
value: 'P700'
|
|
223
|
-
attributes: {
|
|
224
|
-
group: 'paint'
|
|
225
|
-
}
|
|
123
|
+
value: 'P700'
|
|
226
124
|
},
|
|
227
125
|
hover: {
|
|
228
|
-
value: 'P800'
|
|
229
|
-
attributes: {
|
|
230
|
-
group: 'paint'
|
|
231
|
-
}
|
|
126
|
+
value: 'P800'
|
|
232
127
|
},
|
|
233
128
|
pressed: {
|
|
234
|
-
value: 'P900'
|
|
235
|
-
attributes: {
|
|
236
|
-
group: 'paint'
|
|
237
|
-
}
|
|
129
|
+
value: 'P900'
|
|
238
130
|
}
|
|
239
131
|
},
|
|
240
132
|
subtleDiscovery: {
|
|
241
133
|
resting: {
|
|
242
|
-
value: 'P100'
|
|
243
|
-
attributes: {
|
|
244
|
-
group: 'paint'
|
|
245
|
-
}
|
|
134
|
+
value: 'P100'
|
|
246
135
|
},
|
|
247
136
|
hover: {
|
|
248
|
-
value: 'P200'
|
|
249
|
-
attributes: {
|
|
250
|
-
group: 'paint'
|
|
251
|
-
}
|
|
137
|
+
value: 'P200'
|
|
252
138
|
},
|
|
253
139
|
pressed: {
|
|
254
|
-
value: 'P300'
|
|
255
|
-
attributes: {
|
|
256
|
-
group: 'paint'
|
|
257
|
-
}
|
|
140
|
+
value: 'P300'
|
|
258
141
|
}
|
|
259
142
|
},
|
|
260
143
|
boldNeutral: {
|
|
261
144
|
resting: {
|
|
262
|
-
value: 'N800'
|
|
263
|
-
attributes: {
|
|
264
|
-
group: 'paint'
|
|
265
|
-
}
|
|
145
|
+
value: 'N800'
|
|
266
146
|
},
|
|
267
147
|
hover: {
|
|
268
|
-
value: 'N900'
|
|
269
|
-
attributes: {
|
|
270
|
-
group: 'paint'
|
|
271
|
-
}
|
|
148
|
+
value: 'N900'
|
|
272
149
|
},
|
|
273
150
|
pressed: {
|
|
274
|
-
value: 'N1000'
|
|
275
|
-
attributes: {
|
|
276
|
-
group: 'paint'
|
|
277
|
-
}
|
|
151
|
+
value: 'N1000'
|
|
278
152
|
}
|
|
279
153
|
},
|
|
280
154
|
transparentNeutral: {
|
|
281
155
|
hover: {
|
|
282
|
-
value: 'N200A'
|
|
283
|
-
attributes: {
|
|
284
|
-
group: 'paint'
|
|
285
|
-
}
|
|
156
|
+
value: 'N200A'
|
|
286
157
|
},
|
|
287
158
|
pressed: {
|
|
288
|
-
value: 'N300A'
|
|
289
|
-
attributes: {
|
|
290
|
-
group: 'paint'
|
|
291
|
-
}
|
|
159
|
+
value: 'N300A'
|
|
292
160
|
}
|
|
293
161
|
},
|
|
294
162
|
subtleNeutral: {
|
|
295
163
|
resting: {
|
|
296
|
-
value: 'N200A'
|
|
297
|
-
attributes: {
|
|
298
|
-
group: 'paint'
|
|
299
|
-
}
|
|
164
|
+
value: 'N200A'
|
|
300
165
|
},
|
|
301
166
|
hover: {
|
|
302
|
-
value: 'N300A'
|
|
303
|
-
attributes: {
|
|
304
|
-
group: 'paint'
|
|
305
|
-
}
|
|
167
|
+
value: 'N300A'
|
|
306
168
|
},
|
|
307
169
|
pressed: {
|
|
308
|
-
value: 'N400A'
|
|
309
|
-
attributes: {
|
|
310
|
-
group: 'paint'
|
|
311
|
-
}
|
|
170
|
+
value: 'N400A'
|
|
312
171
|
}
|
|
313
172
|
},
|
|
314
173
|
subtleBorderedNeutral: {
|
|
315
174
|
resting: {
|
|
316
|
-
value: 'N100A'
|
|
317
|
-
attributes: {
|
|
318
|
-
group: 'paint'
|
|
319
|
-
}
|
|
175
|
+
value: 'N100A'
|
|
320
176
|
},
|
|
321
177
|
pressed: {
|
|
322
|
-
value: 'N200A'
|
|
323
|
-
attributes: {
|
|
324
|
-
group: 'paint'
|
|
325
|
-
}
|
|
178
|
+
value: 'N200A'
|
|
326
179
|
}
|
|
327
180
|
}
|
|
328
181
|
}
|
|
@@ -2,34 +2,19 @@ const color = {
|
|
|
2
2
|
color: {
|
|
3
3
|
iconBorder: {
|
|
4
4
|
brand: {
|
|
5
|
-
value: 'B600'
|
|
6
|
-
attributes: {
|
|
7
|
-
group: 'paint'
|
|
8
|
-
}
|
|
5
|
+
value: 'B600'
|
|
9
6
|
},
|
|
10
7
|
danger: {
|
|
11
|
-
value: 'R600'
|
|
12
|
-
attributes: {
|
|
13
|
-
group: 'paint'
|
|
14
|
-
}
|
|
8
|
+
value: 'R600'
|
|
15
9
|
},
|
|
16
10
|
warning: {
|
|
17
|
-
value: 'O600'
|
|
18
|
-
attributes: {
|
|
19
|
-
group: 'paint'
|
|
20
|
-
}
|
|
11
|
+
value: 'O600'
|
|
21
12
|
},
|
|
22
13
|
success: {
|
|
23
|
-
value: 'G600'
|
|
24
|
-
attributes: {
|
|
25
|
-
group: 'paint'
|
|
26
|
-
}
|
|
14
|
+
value: 'G600'
|
|
27
15
|
},
|
|
28
16
|
discovery: {
|
|
29
|
-
value: 'P600'
|
|
30
|
-
attributes: {
|
|
31
|
-
group: 'paint'
|
|
32
|
-
}
|
|
17
|
+
value: 'P600'
|
|
33
18
|
}
|
|
34
19
|
}
|
|
35
20
|
}
|
|
@@ -2,90 +2,48 @@ const color = {
|
|
|
2
2
|
color: {
|
|
3
3
|
text: {
|
|
4
4
|
selected: {
|
|
5
|
-
value: 'B700'
|
|
6
|
-
attributes: {
|
|
7
|
-
group: 'paint'
|
|
8
|
-
}
|
|
5
|
+
value: 'B700'
|
|
9
6
|
},
|
|
10
7
|
highEmphasis: {
|
|
11
|
-
value: 'N1000'
|
|
12
|
-
attributes: {
|
|
13
|
-
group: 'paint'
|
|
14
|
-
}
|
|
8
|
+
value: 'N1000'
|
|
15
9
|
},
|
|
16
10
|
mediumEmphasis: {
|
|
17
|
-
value: 'N800'
|
|
18
|
-
attributes: {
|
|
19
|
-
group: 'paint'
|
|
20
|
-
}
|
|
11
|
+
value: 'N800'
|
|
21
12
|
},
|
|
22
13
|
lowEmphasis: {
|
|
23
|
-
value: 'N700'
|
|
24
|
-
attributes: {
|
|
25
|
-
group: 'paint'
|
|
26
|
-
}
|
|
14
|
+
value: 'N700'
|
|
27
15
|
},
|
|
28
16
|
onBold: {
|
|
29
|
-
value: 'N0'
|
|
30
|
-
attributes: {
|
|
31
|
-
group: 'paint'
|
|
32
|
-
}
|
|
17
|
+
value: 'N0'
|
|
33
18
|
},
|
|
34
19
|
onBoldWarning: {
|
|
35
|
-
value: 'N1000'
|
|
36
|
-
attributes: {
|
|
37
|
-
group: 'paint'
|
|
38
|
-
}
|
|
20
|
+
value: 'N1000'
|
|
39
21
|
},
|
|
40
22
|
link: {
|
|
41
23
|
resting: {
|
|
42
|
-
value: 'B700'
|
|
43
|
-
attributes: {
|
|
44
|
-
group: 'paint'
|
|
45
|
-
}
|
|
24
|
+
value: 'B700'
|
|
46
25
|
},
|
|
47
26
|
pressed: {
|
|
48
|
-
value: 'B800'
|
|
49
|
-
attributes: {
|
|
50
|
-
group: 'paint'
|
|
51
|
-
}
|
|
27
|
+
value: 'B800'
|
|
52
28
|
}
|
|
53
29
|
},
|
|
54
30
|
brand: {
|
|
55
|
-
value: 'B800'
|
|
56
|
-
attributes: {
|
|
57
|
-
group: 'paint'
|
|
58
|
-
}
|
|
31
|
+
value: 'B800'
|
|
59
32
|
},
|
|
60
33
|
warning: {
|
|
61
|
-
value: 'O800'
|
|
62
|
-
attributes: {
|
|
63
|
-
group: 'paint'
|
|
64
|
-
}
|
|
34
|
+
value: 'O800'
|
|
65
35
|
},
|
|
66
36
|
danger: {
|
|
67
|
-
value: 'R800'
|
|
68
|
-
attributes: {
|
|
69
|
-
group: 'paint'
|
|
70
|
-
}
|
|
37
|
+
value: 'R800'
|
|
71
38
|
},
|
|
72
39
|
success: {
|
|
73
|
-
value: 'G800'
|
|
74
|
-
attributes: {
|
|
75
|
-
group: 'paint'
|
|
76
|
-
}
|
|
40
|
+
value: 'G800'
|
|
77
41
|
},
|
|
78
42
|
discovery: {
|
|
79
|
-
value: 'P800'
|
|
80
|
-
attributes: {
|
|
81
|
-
group: 'paint'
|
|
82
|
-
}
|
|
43
|
+
value: 'P800'
|
|
83
44
|
},
|
|
84
45
|
disabled: {
|
|
85
|
-
value: 'N500'
|
|
86
|
-
attributes: {
|
|
87
|
-
group: 'paint'
|
|
88
|
-
}
|
|
46
|
+
value: 'N500'
|
|
89
47
|
}
|
|
90
48
|
}
|
|
91
49
|
}
|
|
@@ -17,10 +17,7 @@ const shadow = {
|
|
|
17
17
|
},
|
|
18
18
|
color: 'N1100',
|
|
19
19
|
opacity: 0.31
|
|
20
|
-
}]
|
|
21
|
-
attributes: {
|
|
22
|
-
group: 'shadow'
|
|
23
|
-
}
|
|
20
|
+
}]
|
|
24
21
|
},
|
|
25
22
|
overlay: {
|
|
26
23
|
value: [{
|
|
@@ -39,10 +36,7 @@ const shadow = {
|
|
|
39
36
|
},
|
|
40
37
|
color: 'N1100',
|
|
41
38
|
opacity: 0.31
|
|
42
|
-
}]
|
|
43
|
-
attributes: {
|
|
44
|
-
group: 'shadow'
|
|
45
|
-
}
|
|
39
|
+
}]
|
|
46
40
|
}
|
|
47
41
|
}
|
|
48
42
|
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
const color = {
|
|
2
|
+
color: {
|
|
3
|
+
accent: {
|
|
4
|
+
boldBlue: {
|
|
5
|
+
attributes: {
|
|
6
|
+
group: 'paint',
|
|
7
|
+
description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
boldGreen: {
|
|
11
|
+
attributes: {
|
|
12
|
+
group: 'paint',
|
|
13
|
+
description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
boldOrange: {
|
|
17
|
+
attributes: {
|
|
18
|
+
group: 'paint',
|
|
19
|
+
description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
boldPurple: {
|
|
23
|
+
attributes: {
|
|
24
|
+
group: 'paint',
|
|
25
|
+
description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
boldRed: {
|
|
29
|
+
attributes: {
|
|
30
|
+
group: 'paint',
|
|
31
|
+
description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
boldTeal: {
|
|
35
|
+
attributes: {
|
|
36
|
+
group: 'paint',
|
|
37
|
+
description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
subtleBlue: {
|
|
41
|
+
attributes: {
|
|
42
|
+
group: 'paint',
|
|
43
|
+
description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
subtleGreen: {
|
|
47
|
+
attributes: {
|
|
48
|
+
group: 'paint',
|
|
49
|
+
description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
subtleMagenta: {
|
|
53
|
+
attributes: {
|
|
54
|
+
group: 'paint',
|
|
55
|
+
description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
subtleOrange: {
|
|
59
|
+
attributes: {
|
|
60
|
+
group: 'paint',
|
|
61
|
+
description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
subtlePurple: {
|
|
65
|
+
attributes: {
|
|
66
|
+
group: 'paint',
|
|
67
|
+
description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
subtleRed: {
|
|
71
|
+
attributes: {
|
|
72
|
+
group: 'paint',
|
|
73
|
+
description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
subtleTeal: {
|
|
77
|
+
attributes: {
|
|
78
|
+
group: 'paint',
|
|
79
|
+
description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
export default color;
|