@atlaskit/tokens 0.6.3 → 0.7.2
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 +38 -0
- package/css/atlassian-dark.css +45 -3
- package/css/atlassian-light.css +43 -1
- package/dist/cjs/artifacts/rename-mapping.js +78 -14
- package/dist/cjs/artifacts/token-default-values.js +43 -1
- package/dist/cjs/artifacts/token-names.js +42 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1009 -179
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1007 -177
- package/dist/cjs/figma/synchronize-figma-tokens.js +34 -9
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/cjs/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/cjs/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/cjs/tokens/atlassian-light/color/background.js +11 -1
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/cjs/tokens/default/color/accent.js +234 -50
- package/dist/cjs/tokens/default/color/background.js +20 -4
- package/dist/cjs/tokens/default/deprecated/deprecated.js +160 -14
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +78 -14
- package/dist/es2019/artifacts/token-default-values.js +43 -1
- package/dist/es2019/artifacts/token-names.js +42 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1009 -179
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1007 -177
- package/dist/es2019/figma/synchronize-figma-tokens.js +32 -9
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/es2019/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/es2019/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/es2019/tokens/atlassian-light/color/background.js +11 -1
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/es2019/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/es2019/tokens/default/color/accent.js +234 -50
- package/dist/es2019/tokens/default/color/background.js +20 -4
- package/dist/es2019/tokens/default/deprecated/deprecated.js +160 -14
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +78 -14
- package/dist/esm/artifacts/token-default-values.js +43 -1
- package/dist/esm/artifacts/token-names.js +42 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1009 -179
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1007 -177
- package/dist/esm/figma/synchronize-figma-tokens.js +34 -9
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/esm/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +69 -3
- package/dist/esm/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/esm/tokens/atlassian-light/color/background.js +11 -1
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +66 -0
- package/dist/esm/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/esm/tokens/default/color/accent.js +234 -50
- package/dist/esm/tokens/default/color/background.js +20 -4
- package/dist/esm/tokens/default/deprecated/deprecated.js +160 -14
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +43 -1
- package/dist/types/artifacts/token-names.d.ts +84 -0
- package/dist/types/artifacts/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/figma/synchronize-figma-tokens.d.ts +9 -1
- package/dist/types/tokens/default/utility/utility.d.ts +10 -10
- package/dist/types/types.d.ts +103 -25
- package/package.json +1 -1
|
@@ -42,6 +42,72 @@ const color = {
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
background: {
|
|
45
|
+
accent: {
|
|
46
|
+
blue: {
|
|
47
|
+
'[default]': {
|
|
48
|
+
value: 'B200'
|
|
49
|
+
},
|
|
50
|
+
bold: {
|
|
51
|
+
value: 'B400'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
red: {
|
|
55
|
+
'[default]': {
|
|
56
|
+
value: 'R200'
|
|
57
|
+
},
|
|
58
|
+
bold: {
|
|
59
|
+
value: 'R400'
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
orange: {
|
|
63
|
+
'[default]': {
|
|
64
|
+
value: 'O200'
|
|
65
|
+
},
|
|
66
|
+
bold: {
|
|
67
|
+
value: 'O400'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
yellow: {
|
|
71
|
+
'[default]': {
|
|
72
|
+
value: 'Y200'
|
|
73
|
+
},
|
|
74
|
+
bold: {
|
|
75
|
+
value: 'Y400'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
green: {
|
|
79
|
+
'[default]': {
|
|
80
|
+
value: 'G200'
|
|
81
|
+
},
|
|
82
|
+
bold: {
|
|
83
|
+
value: 'G400'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
purple: {
|
|
87
|
+
'[default]': {
|
|
88
|
+
value: 'P200'
|
|
89
|
+
},
|
|
90
|
+
bold: {
|
|
91
|
+
value: 'P400'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
teal: {
|
|
95
|
+
'[default]': {
|
|
96
|
+
value: 'T200'
|
|
97
|
+
},
|
|
98
|
+
bold: {
|
|
99
|
+
value: 'T400'
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
magenta: {
|
|
103
|
+
'[default]': {
|
|
104
|
+
value: 'M200'
|
|
105
|
+
},
|
|
106
|
+
bold: {
|
|
107
|
+
value: 'M400'
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
45
111
|
blanket: {
|
|
46
112
|
value: 'N500A'
|
|
47
113
|
},
|
|
@@ -3,59 +3,131 @@ const color = {
|
|
|
3
3
|
text: {
|
|
4
4
|
accent: {
|
|
5
5
|
blue: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
'[default]': {
|
|
7
|
+
attributes: {
|
|
8
|
+
group: 'paint',
|
|
9
|
+
state: 'active',
|
|
10
|
+
description: 'Use for blue text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
bolder: {
|
|
14
|
+
attributes: {
|
|
15
|
+
group: 'paint',
|
|
16
|
+
state: 'active',
|
|
17
|
+
description: 'Use on bold blue accent backgrounds.'
|
|
18
|
+
}
|
|
10
19
|
}
|
|
11
20
|
},
|
|
12
21
|
red: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
'[default]': {
|
|
23
|
+
attributes: {
|
|
24
|
+
group: 'paint',
|
|
25
|
+
state: 'active',
|
|
26
|
+
description: 'Use for red text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
bolder: {
|
|
30
|
+
attributes: {
|
|
31
|
+
group: 'paint',
|
|
32
|
+
state: 'active',
|
|
33
|
+
description: 'Use on bold red accent backgrounds.'
|
|
34
|
+
}
|
|
17
35
|
}
|
|
18
36
|
},
|
|
19
37
|
orange: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
38
|
+
'[default]': {
|
|
39
|
+
attributes: {
|
|
40
|
+
group: 'paint',
|
|
41
|
+
state: 'active',
|
|
42
|
+
description: 'Use for orange text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
bolder: {
|
|
46
|
+
attributes: {
|
|
47
|
+
group: 'paint',
|
|
48
|
+
state: 'active',
|
|
49
|
+
description: 'Use on bold orange accent backgrounds.'
|
|
50
|
+
}
|
|
24
51
|
}
|
|
25
52
|
},
|
|
26
53
|
yellow: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
54
|
+
'[default]': {
|
|
55
|
+
attributes: {
|
|
56
|
+
group: 'paint',
|
|
57
|
+
state: 'active',
|
|
58
|
+
description: 'Use for yellow text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
bolder: {
|
|
62
|
+
attributes: {
|
|
63
|
+
group: 'paint',
|
|
64
|
+
state: 'active',
|
|
65
|
+
description: 'Use on bold yellow accent backgrounds.'
|
|
66
|
+
}
|
|
31
67
|
}
|
|
32
68
|
},
|
|
33
69
|
green: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
70
|
+
'[default]': {
|
|
71
|
+
attributes: {
|
|
72
|
+
group: 'paint',
|
|
73
|
+
state: 'active',
|
|
74
|
+
description: 'Use for green text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
bolder: {
|
|
78
|
+
attributes: {
|
|
79
|
+
group: 'paint',
|
|
80
|
+
state: 'active',
|
|
81
|
+
description: 'Use on bold green accent backgrounds.'
|
|
82
|
+
}
|
|
38
83
|
}
|
|
39
84
|
},
|
|
40
85
|
purple: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
86
|
+
'[default]': {
|
|
87
|
+
attributes: {
|
|
88
|
+
group: 'paint',
|
|
89
|
+
state: 'active',
|
|
90
|
+
description: 'Use for purple text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
bolder: {
|
|
94
|
+
attributes: {
|
|
95
|
+
group: 'paint',
|
|
96
|
+
state: 'active',
|
|
97
|
+
description: 'Use on bold purple accent backgrounds.'
|
|
98
|
+
}
|
|
45
99
|
}
|
|
46
100
|
},
|
|
47
101
|
teal: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
102
|
+
'[default]': {
|
|
103
|
+
attributes: {
|
|
104
|
+
group: 'paint',
|
|
105
|
+
state: 'active',
|
|
106
|
+
description: 'Use for teal text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
bolder: {
|
|
110
|
+
attributes: {
|
|
111
|
+
group: 'paint',
|
|
112
|
+
state: 'active',
|
|
113
|
+
description: 'Use on bold teal accent backgrounds.'
|
|
114
|
+
}
|
|
52
115
|
}
|
|
53
116
|
},
|
|
54
117
|
magenta: {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
118
|
+
'[default]': {
|
|
119
|
+
attributes: {
|
|
120
|
+
group: 'paint',
|
|
121
|
+
state: 'active',
|
|
122
|
+
description: 'Use for megenta text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
bolder: {
|
|
126
|
+
attributes: {
|
|
127
|
+
group: 'paint',
|
|
128
|
+
state: 'active',
|
|
129
|
+
description: 'Use on bold magenta accent backgrounds.'
|
|
130
|
+
}
|
|
59
131
|
}
|
|
60
132
|
}
|
|
61
133
|
}
|
|
@@ -126,14 +198,14 @@ const color = {
|
|
|
126
198
|
attributes: {
|
|
127
199
|
group: 'paint',
|
|
128
200
|
state: 'active',
|
|
129
|
-
description: 'Use for blue borders on non-bold backgrounds when there is no meaning tied to the color
|
|
201
|
+
description: 'Use for blue borders on non-bold backgrounds when there is no meaning tied to the color.'
|
|
130
202
|
}
|
|
131
203
|
},
|
|
132
204
|
red: {
|
|
133
205
|
attributes: {
|
|
134
206
|
group: 'paint',
|
|
135
207
|
state: 'active',
|
|
136
|
-
description: 'Use for red borders on non-bold backgrounds when there is no meaning tied to the color
|
|
208
|
+
description: 'Use for red borders on non-bold backgrounds when there is no meaning tied to the color.'
|
|
137
209
|
}
|
|
138
210
|
},
|
|
139
211
|
orange: {
|
|
@@ -183,131 +255,243 @@ const color = {
|
|
|
183
255
|
background: {
|
|
184
256
|
accent: {
|
|
185
257
|
blue: {
|
|
186
|
-
|
|
258
|
+
subtlest: {
|
|
259
|
+
attributes: {
|
|
260
|
+
group: 'paint',
|
|
261
|
+
state: 'active',
|
|
262
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
subtler: {
|
|
187
266
|
attributes: {
|
|
188
267
|
group: 'paint',
|
|
189
268
|
state: 'active',
|
|
190
269
|
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
191
270
|
}
|
|
192
271
|
},
|
|
193
|
-
|
|
272
|
+
subtle: {
|
|
194
273
|
attributes: {
|
|
195
274
|
group: 'paint',
|
|
196
275
|
state: 'active',
|
|
197
276
|
description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
198
277
|
}
|
|
278
|
+
},
|
|
279
|
+
bolder: {
|
|
280
|
+
attributes: {
|
|
281
|
+
group: 'paint',
|
|
282
|
+
state: 'active',
|
|
283
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
284
|
+
}
|
|
199
285
|
}
|
|
200
286
|
},
|
|
201
287
|
red: {
|
|
202
|
-
|
|
288
|
+
subtlest: {
|
|
289
|
+
attributes: {
|
|
290
|
+
group: 'paint',
|
|
291
|
+
state: 'active',
|
|
292
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
subtler: {
|
|
203
296
|
attributes: {
|
|
204
297
|
group: 'paint',
|
|
205
298
|
state: 'active',
|
|
206
299
|
description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
207
300
|
}
|
|
208
301
|
},
|
|
209
|
-
|
|
302
|
+
subtle: {
|
|
210
303
|
attributes: {
|
|
211
304
|
group: 'paint',
|
|
212
305
|
state: 'active',
|
|
213
306
|
description: 'Use for vibrant red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
214
307
|
}
|
|
308
|
+
},
|
|
309
|
+
bolder: {
|
|
310
|
+
attributes: {
|
|
311
|
+
group: 'paint',
|
|
312
|
+
state: 'active',
|
|
313
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
314
|
+
}
|
|
215
315
|
}
|
|
216
316
|
},
|
|
217
317
|
orange: {
|
|
218
|
-
|
|
318
|
+
subtlest: {
|
|
319
|
+
attributes: {
|
|
320
|
+
group: 'paint',
|
|
321
|
+
state: 'active',
|
|
322
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
subtler: {
|
|
219
326
|
attributes: {
|
|
220
327
|
group: 'paint',
|
|
221
328
|
state: 'active',
|
|
222
329
|
description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
223
330
|
}
|
|
224
331
|
},
|
|
225
|
-
|
|
332
|
+
subtle: {
|
|
226
333
|
attributes: {
|
|
227
334
|
group: 'paint',
|
|
228
335
|
state: 'active',
|
|
229
336
|
description: 'Use for vibrant orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
230
337
|
}
|
|
338
|
+
},
|
|
339
|
+
bolder: {
|
|
340
|
+
attributes: {
|
|
341
|
+
group: 'paint',
|
|
342
|
+
state: 'active',
|
|
343
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
344
|
+
}
|
|
231
345
|
}
|
|
232
346
|
},
|
|
233
347
|
yellow: {
|
|
234
|
-
|
|
348
|
+
subtlest: {
|
|
349
|
+
attributes: {
|
|
350
|
+
group: 'paint',
|
|
351
|
+
state: 'active',
|
|
352
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
subtler: {
|
|
235
356
|
attributes: {
|
|
236
357
|
group: 'paint',
|
|
237
358
|
state: 'active',
|
|
238
359
|
description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
239
360
|
}
|
|
240
361
|
},
|
|
241
|
-
|
|
362
|
+
subtle: {
|
|
242
363
|
attributes: {
|
|
243
364
|
group: 'paint',
|
|
244
365
|
state: 'active',
|
|
245
366
|
description: 'Use for vibrant yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
246
367
|
}
|
|
368
|
+
},
|
|
369
|
+
bolder: {
|
|
370
|
+
attributes: {
|
|
371
|
+
group: 'paint',
|
|
372
|
+
state: 'active',
|
|
373
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
374
|
+
}
|
|
247
375
|
}
|
|
248
376
|
},
|
|
249
377
|
green: {
|
|
250
|
-
|
|
378
|
+
subtlest: {
|
|
379
|
+
attributes: {
|
|
380
|
+
group: 'paint',
|
|
381
|
+
state: 'active',
|
|
382
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
subtler: {
|
|
251
386
|
attributes: {
|
|
252
387
|
group: 'paint',
|
|
253
388
|
state: 'active',
|
|
254
389
|
description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
255
390
|
}
|
|
256
391
|
},
|
|
257
|
-
|
|
392
|
+
subtle: {
|
|
258
393
|
attributes: {
|
|
259
394
|
group: 'paint',
|
|
260
395
|
state: 'active',
|
|
261
396
|
description: 'Use for vibrant green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
262
397
|
}
|
|
398
|
+
},
|
|
399
|
+
bolder: {
|
|
400
|
+
attributes: {
|
|
401
|
+
group: 'paint',
|
|
402
|
+
state: 'active',
|
|
403
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
404
|
+
}
|
|
263
405
|
}
|
|
264
406
|
},
|
|
265
407
|
teal: {
|
|
266
|
-
|
|
408
|
+
subtlest: {
|
|
409
|
+
attributes: {
|
|
410
|
+
group: 'paint',
|
|
411
|
+
state: 'active',
|
|
412
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
subtler: {
|
|
267
416
|
attributes: {
|
|
268
417
|
group: 'paint',
|
|
269
418
|
state: 'active',
|
|
270
419
|
description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
271
420
|
}
|
|
272
421
|
},
|
|
273
|
-
|
|
422
|
+
subtle: {
|
|
274
423
|
attributes: {
|
|
275
424
|
group: 'paint',
|
|
276
425
|
state: 'active',
|
|
277
426
|
description: 'Use for vibrant teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
278
427
|
}
|
|
428
|
+
},
|
|
429
|
+
bolder: {
|
|
430
|
+
attributes: {
|
|
431
|
+
group: 'paint',
|
|
432
|
+
state: 'active',
|
|
433
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
434
|
+
}
|
|
279
435
|
}
|
|
280
436
|
},
|
|
281
437
|
purple: {
|
|
282
|
-
|
|
438
|
+
subtlest: {
|
|
439
|
+
attributes: {
|
|
440
|
+
group: 'paint',
|
|
441
|
+
state: 'active',
|
|
442
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
subtler: {
|
|
283
446
|
attributes: {
|
|
284
447
|
group: 'paint',
|
|
285
448
|
state: 'active',
|
|
286
449
|
description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
287
450
|
}
|
|
288
451
|
},
|
|
289
|
-
|
|
452
|
+
subtle: {
|
|
290
453
|
attributes: {
|
|
291
454
|
group: 'paint',
|
|
292
455
|
state: 'active',
|
|
293
456
|
description: 'Use for vibrant purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
294
457
|
}
|
|
458
|
+
},
|
|
459
|
+
bolder: {
|
|
460
|
+
attributes: {
|
|
461
|
+
group: 'paint',
|
|
462
|
+
state: 'active',
|
|
463
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
464
|
+
}
|
|
295
465
|
}
|
|
296
466
|
},
|
|
297
467
|
magenta: {
|
|
298
|
-
|
|
468
|
+
subtlest: {
|
|
469
|
+
attributes: {
|
|
470
|
+
group: 'paint',
|
|
471
|
+
state: 'active',
|
|
472
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color. Reserved for when you only want a hint of color.'
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
subtler: {
|
|
299
476
|
attributes: {
|
|
300
477
|
group: 'paint',
|
|
301
478
|
state: 'active',
|
|
302
479
|
description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
303
480
|
}
|
|
304
481
|
},
|
|
305
|
-
|
|
482
|
+
subtle: {
|
|
306
483
|
attributes: {
|
|
307
484
|
group: 'paint',
|
|
308
485
|
state: 'active',
|
|
309
486
|
description: 'Use for vibrant magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
310
487
|
}
|
|
488
|
+
},
|
|
489
|
+
bolder: {
|
|
490
|
+
attributes: {
|
|
491
|
+
group: 'paint',
|
|
492
|
+
state: 'active',
|
|
493
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
494
|
+
}
|
|
311
495
|
}
|
|
312
496
|
}
|
|
313
497
|
}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
const color = {
|
|
2
2
|
color: {
|
|
3
3
|
blanket: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
'[default]': {
|
|
5
|
+
attributes: {
|
|
6
|
+
group: 'paint',
|
|
7
|
+
state: 'active',
|
|
8
|
+
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
selected: {
|
|
12
|
+
attributes: {
|
|
13
|
+
group: 'paint',
|
|
14
|
+
state: 'active',
|
|
15
|
+
description: "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
danger: {
|
|
19
|
+
attributes: {
|
|
20
|
+
group: 'paint',
|
|
21
|
+
state: 'active',
|
|
22
|
+
description: "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
23
|
+
}
|
|
8
24
|
}
|
|
9
25
|
},
|
|
10
26
|
background: {
|