@atlaskit/tokens 0.8.1 → 0.9.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/css/atlassian-dark.css +8 -4
  3. package/css/atlassian-light.css +8 -4
  4. package/dist/cjs/artifacts/rename-mapping.js +4 -0
  5. package/dist/cjs/artifacts/token-default-values.js +8 -4
  6. package/dist/cjs/artifacts/token-names.js +4 -0
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +644 -18
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +642 -16
  9. package/dist/cjs/get-token.js +1 -1
  10. package/dist/cjs/tokens/atlassian-dark/color/background.js +17 -5
  11. package/dist/cjs/tokens/atlassian-dark/color/border.js +3 -0
  12. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  13. package/dist/cjs/tokens/atlassian-light/color/background.js +17 -5
  14. package/dist/cjs/tokens/atlassian-light/color/border.js +3 -0
  15. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  16. package/dist/cjs/tokens/default/color/accent.js +65 -1
  17. package/dist/cjs/tokens/default/color/background.js +82 -6
  18. package/dist/cjs/tokens/default/color/border.js +19 -0
  19. package/dist/cjs/tokens/default/color/icon.js +13 -1
  20. package/dist/cjs/tokens/default/color/interaction.js +4 -0
  21. package/dist/cjs/tokens/default/color/skeleton.js +2 -0
  22. package/dist/cjs/tokens/default/color/text.js +15 -0
  23. package/dist/cjs/tokens/default/deprecated/deprecated.js +108 -0
  24. package/dist/cjs/tokens/default/elevation/shadow.js +3 -0
  25. package/dist/cjs/tokens/default/elevation/surface.js +4 -0
  26. package/dist/cjs/tokens/default/utility/utility.js +2 -0
  27. package/dist/cjs/version.json +1 -1
  28. package/dist/es2019/artifacts/rename-mapping.js +4 -0
  29. package/dist/es2019/artifacts/token-default-values.js +8 -4
  30. package/dist/es2019/artifacts/token-names.js +4 -0
  31. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +644 -18
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +642 -16
  33. package/dist/es2019/get-token.js +1 -1
  34. package/dist/es2019/tokens/atlassian-dark/color/background.js +17 -5
  35. package/dist/es2019/tokens/atlassian-dark/color/border.js +3 -0
  36. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  37. package/dist/es2019/tokens/atlassian-light/color/background.js +17 -5
  38. package/dist/es2019/tokens/atlassian-light/color/border.js +3 -0
  39. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  40. package/dist/es2019/tokens/default/color/accent.js +65 -1
  41. package/dist/es2019/tokens/default/color/background.js +82 -6
  42. package/dist/es2019/tokens/default/color/border.js +19 -0
  43. package/dist/es2019/tokens/default/color/icon.js +13 -1
  44. package/dist/es2019/tokens/default/color/interaction.js +4 -0
  45. package/dist/es2019/tokens/default/color/skeleton.js +2 -0
  46. package/dist/es2019/tokens/default/color/text.js +15 -0
  47. package/dist/es2019/tokens/default/deprecated/deprecated.js +108 -0
  48. package/dist/es2019/tokens/default/elevation/shadow.js +3 -0
  49. package/dist/es2019/tokens/default/elevation/surface.js +4 -0
  50. package/dist/es2019/tokens/default/utility/utility.js +2 -0
  51. package/dist/es2019/version.json +1 -1
  52. package/dist/esm/artifacts/rename-mapping.js +4 -0
  53. package/dist/esm/artifacts/token-default-values.js +8 -4
  54. package/dist/esm/artifacts/token-names.js +4 -0
  55. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +644 -18
  56. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +642 -16
  57. package/dist/esm/get-token.js +1 -1
  58. package/dist/esm/tokens/atlassian-dark/color/background.js +17 -5
  59. package/dist/esm/tokens/atlassian-dark/color/border.js +3 -0
  60. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  61. package/dist/esm/tokens/atlassian-light/color/background.js +17 -5
  62. package/dist/esm/tokens/atlassian-light/color/border.js +3 -0
  63. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  64. package/dist/esm/tokens/default/color/accent.js +65 -1
  65. package/dist/esm/tokens/default/color/background.js +82 -6
  66. package/dist/esm/tokens/default/color/border.js +19 -0
  67. package/dist/esm/tokens/default/color/icon.js +13 -1
  68. package/dist/esm/tokens/default/color/interaction.js +4 -0
  69. package/dist/esm/tokens/default/color/skeleton.js +2 -0
  70. package/dist/esm/tokens/default/color/text.js +15 -0
  71. package/dist/esm/tokens/default/deprecated/deprecated.js +108 -0
  72. package/dist/esm/tokens/default/elevation/shadow.js +3 -0
  73. package/dist/esm/tokens/default/elevation/surface.js +4 -0
  74. package/dist/esm/tokens/default/utility/utility.js +2 -0
  75. package/dist/esm/version.json +1 -1
  76. package/dist/types/artifacts/token-default-values.d.ts +8 -4
  77. package/dist/types/artifacts/token-names.d.ts +8 -0
  78. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +8 -0
  79. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +8 -0
  80. package/dist/types/artifacts/types-internal.d.ts +1 -1
  81. package/dist/types/artifacts/types.d.ts +1 -1
  82. package/dist/types/tokens/default/utility/utility.d.ts +14 -10
  83. package/dist/types/types.d.ts +13 -1
  84. package/package.json +6 -2
@@ -5,6 +5,7 @@ const color = {
5
5
  attributes: {
6
6
  group: 'paint',
7
7
  state: 'deleted',
8
+ introduced: '0.1.1',
8
9
  replacement: 'color.background.accent.blue.bolder',
9
10
  description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
10
11
  }
@@ -13,6 +14,7 @@ const color = {
13
14
  attributes: {
14
15
  group: 'paint',
15
16
  state: 'deleted',
17
+ introduced: '0.1.1',
16
18
  replacement: 'color.background.accent.green.bolder',
17
19
  description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
18
20
  }
@@ -21,6 +23,7 @@ const color = {
21
23
  attributes: {
22
24
  group: 'paint',
23
25
  state: 'deleted',
26
+ introduced: '0.1.1',
24
27
  replacement: 'color.background.accent.orange.bolder',
25
28
  description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
26
29
  }
@@ -29,6 +32,7 @@ const color = {
29
32
  attributes: {
30
33
  group: 'paint',
31
34
  state: 'deleted',
35
+ introduced: '0.1.1',
32
36
  replacement: 'color.background.accent.purple.bolder',
33
37
  description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
34
38
  }
@@ -37,6 +41,7 @@ const color = {
37
41
  attributes: {
38
42
  group: 'paint',
39
43
  state: 'deleted',
44
+ introduced: '0.1.1',
40
45
  replacement: 'color.background.accent.red.bolder',
41
46
  description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
42
47
  }
@@ -45,6 +50,7 @@ const color = {
45
50
  attributes: {
46
51
  group: 'paint',
47
52
  state: 'deleted',
53
+ introduced: '0.1.1',
48
54
  replacement: 'color.background.accent.teal.bolder',
49
55
  description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
50
56
  }
@@ -53,6 +59,7 @@ const color = {
53
59
  attributes: {
54
60
  group: 'paint',
55
61
  state: 'deleted',
62
+ introduced: '0.1.0',
56
63
  replacement: 'color.background.accent.blue.subtler',
57
64
  description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
58
65
  }
@@ -61,6 +68,7 @@ const color = {
61
68
  attributes: {
62
69
  group: 'paint',
63
70
  state: 'deleted',
71
+ introduced: '0.1.0',
64
72
  replacement: 'color.background.accent.green.subtler',
65
73
  description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
66
74
  }
@@ -69,6 +77,7 @@ const color = {
69
77
  attributes: {
70
78
  group: 'paint',
71
79
  state: 'deleted',
80
+ introduced: '0.1.0',
72
81
  replacement: 'color.background.accent.magenta.subtler',
73
82
  description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
74
83
  }
@@ -77,6 +86,7 @@ const color = {
77
86
  attributes: {
78
87
  group: 'paint',
79
88
  state: 'deleted',
89
+ introduced: '0.1.0',
80
90
  replacement: 'color.background.accent.orange.subtler',
81
91
  description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
82
92
  }
@@ -85,6 +95,7 @@ const color = {
85
95
  attributes: {
86
96
  group: 'paint',
87
97
  state: 'deleted',
98
+ introduced: '0.1.0',
88
99
  replacement: 'color.background.accent.purple.subtler',
89
100
  description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
90
101
  }
@@ -93,6 +104,7 @@ const color = {
93
104
  attributes: {
94
105
  group: 'paint',
95
106
  state: 'deleted',
107
+ introduced: '0.1.0',
96
108
  replacement: 'color.background.accent.red.subtler',
97
109
  description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
98
110
  }
@@ -101,6 +113,7 @@ const color = {
101
113
  attributes: {
102
114
  group: 'paint',
103
115
  state: 'deleted',
116
+ introduced: '0.1.0',
104
117
  replacement: 'color.background.accent.teal.subtler',
105
118
  description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
106
119
  }
@@ -113,6 +126,7 @@ const color = {
113
126
  attributes: {
114
127
  group: 'paint',
115
128
  state: 'deleted',
129
+ introduced: '0.6.0',
116
130
  replacement: 'color.background.accent.blue.subtler',
117
131
  description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
118
132
  }
@@ -121,6 +135,7 @@ const color = {
121
135
  attributes: {
122
136
  group: 'paint',
123
137
  state: 'deleted',
138
+ introduced: '0.6.0',
124
139
  replacement: 'color.background.accent.blue.subtle',
125
140
  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.'
126
141
  }
@@ -131,6 +146,7 @@ const color = {
131
146
  attributes: {
132
147
  group: 'paint',
133
148
  state: 'deleted',
149
+ introduced: '0.6.0',
134
150
  replacement: 'color.background.accent.red.subtler',
135
151
  description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
136
152
  }
@@ -139,6 +155,7 @@ const color = {
139
155
  attributes: {
140
156
  group: 'paint',
141
157
  state: 'deleted',
158
+ introduced: '0.6.0',
142
159
  replacement: 'color.background.accent.red.subtle',
143
160
  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.'
144
161
  }
@@ -149,6 +166,7 @@ const color = {
149
166
  attributes: {
150
167
  group: 'paint',
151
168
  state: 'deleted',
169
+ introduced: '0.6.0',
152
170
  replacement: 'color.background.accent.orange.subtler',
153
171
  description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
154
172
  }
@@ -157,6 +175,7 @@ const color = {
157
175
  attributes: {
158
176
  group: 'paint',
159
177
  state: 'deleted',
178
+ introduced: '0.6.0',
160
179
  replacement: 'color.background.accent.orange.subtle',
161
180
  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.'
162
181
  }
@@ -167,6 +186,7 @@ const color = {
167
186
  attributes: {
168
187
  group: 'paint',
169
188
  state: 'deleted',
189
+ introduced: '0.6.0',
170
190
  replacement: 'color.background.accent.yellow.subtler',
171
191
  description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
172
192
  }
@@ -175,6 +195,7 @@ const color = {
175
195
  attributes: {
176
196
  group: 'paint',
177
197
  state: 'deleted',
198
+ introduced: '0.6.0',
178
199
  replacement: 'color.background.accent.yellow.subtle',
179
200
  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.'
180
201
  }
@@ -185,6 +206,7 @@ const color = {
185
206
  attributes: {
186
207
  group: 'paint',
187
208
  state: 'deleted',
209
+ introduced: '0.6.0',
188
210
  replacement: 'color.background.accent.green.subtler',
189
211
  description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
190
212
  }
@@ -193,6 +215,7 @@ const color = {
193
215
  attributes: {
194
216
  group: 'paint',
195
217
  state: 'deleted',
218
+ introduced: '0.6.0',
196
219
  replacement: 'color.background.accent.green.subtle',
197
220
  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.'
198
221
  }
@@ -203,6 +226,7 @@ const color = {
203
226
  attributes: {
204
227
  group: 'paint',
205
228
  state: 'deleted',
229
+ introduced: '0.6.0',
206
230
  replacement: 'color.background.accent.teal.subtler',
207
231
  description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
208
232
  }
@@ -211,6 +235,7 @@ const color = {
211
235
  attributes: {
212
236
  group: 'paint',
213
237
  state: 'deleted',
238
+ introduced: '0.6.0',
214
239
  replacement: 'color.background.accent.teal.subtle',
215
240
  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.'
216
241
  }
@@ -221,6 +246,7 @@ const color = {
221
246
  attributes: {
222
247
  group: 'paint',
223
248
  state: 'deleted',
249
+ introduced: '0.6.0',
224
250
  replacement: 'color.background.accent.purple.subtler',
225
251
  description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
226
252
  }
@@ -229,6 +255,7 @@ const color = {
229
255
  attributes: {
230
256
  group: 'paint',
231
257
  state: 'deleted',
258
+ introduced: '0.6.0',
232
259
  replacement: 'color.background.accent.purple.subtle',
233
260
  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.'
234
261
  }
@@ -239,6 +266,7 @@ const color = {
239
266
  attributes: {
240
267
  group: 'paint',
241
268
  state: 'deleted',
269
+ introduced: '0.6.0',
242
270
  replacement: 'color.background.accent.magenta.subtler',
243
271
  description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
244
272
  }
@@ -247,6 +275,7 @@ const color = {
247
275
  attributes: {
248
276
  group: 'paint',
249
277
  state: 'deleted',
278
+ introduced: '0.6.0',
250
279
  replacement: 'color.background.accent.magenta.subtle',
251
280
  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.'
252
281
  }
@@ -257,6 +286,7 @@ const color = {
257
286
  attributes: {
258
287
  group: 'paint',
259
288
  state: 'deleted',
289
+ introduced: '0.0.15',
260
290
  replacement: 'color.blanket.[default]',
261
291
  description: 'Use for the screen overlay that appears with modal dialogs'
262
292
  }
@@ -267,6 +297,7 @@ const color = {
267
297
  attributes: {
268
298
  group: 'paint',
269
299
  state: 'deprecated',
300
+ introduced: '0.6.0',
270
301
  replacement: 'color.background.selected.[default].[default]',
271
302
  description: 'Use for the background of elements used to reinforce our brand.'
272
303
  }
@@ -275,6 +306,7 @@ const color = {
275
306
  attributes: {
276
307
  group: 'paint',
277
308
  state: 'deprecated',
309
+ introduced: '0.6.0',
278
310
  replacement: 'color.background.selected.[default].hovered',
279
311
  description: 'Hovered state for color.background.brand'
280
312
  }
@@ -283,6 +315,7 @@ const color = {
283
315
  attributes: {
284
316
  group: 'paint',
285
317
  state: 'deprecated',
318
+ introduced: '0.6.0',
286
319
  replacement: 'color.background.selected.[default].pressed',
287
320
  description: 'Pressed state for color.background.brand'
288
321
  }
@@ -294,6 +327,7 @@ const color = {
294
327
  attributes: {
295
328
  group: 'paint',
296
329
  state: 'deleted',
330
+ introduced: '0.0.15',
297
331
  replacement: 'color.background.brand.bold.hovered',
298
332
  description: 'Hover state of background.boldBrand'
299
333
  }
@@ -302,6 +336,7 @@ const color = {
302
336
  attributes: {
303
337
  group: 'paint',
304
338
  state: 'deleted',
339
+ introduced: '0.0.15',
305
340
  replacement: 'color.background.brand.bold.pressed',
306
341
  description: 'Pressed state of background.boldBrand'
307
342
  }
@@ -310,6 +345,7 @@ const color = {
310
345
  attributes: {
311
346
  group: 'paint',
312
347
  state: 'deleted',
348
+ introduced: '0.0.15',
313
349
  replacement: 'color.background.brand.bold.[default]',
314
350
  description: 'A vibrant background for small UI elements like primary buttons and bold in progress lozenges.'
315
351
  }
@@ -320,6 +356,7 @@ const color = {
320
356
  attributes: {
321
357
  group: 'paint',
322
358
  state: 'deleted',
359
+ introduced: '0.0.15',
323
360
  replacement: 'color.background.danger.bold.hovered',
324
361
  description: 'Hover state of background.boldDanger'
325
362
  }
@@ -328,6 +365,7 @@ const color = {
328
365
  attributes: {
329
366
  group: 'paint',
330
367
  state: 'deleted',
368
+ introduced: '0.0.15',
331
369
  replacement: 'color.background.danger.bold.pressed',
332
370
  description: 'Pressed state of background.boldDanger'
333
371
  }
@@ -336,6 +374,7 @@ const color = {
336
374
  attributes: {
337
375
  group: 'paint',
338
376
  state: 'deleted',
377
+ introduced: '0.0.15',
339
378
  replacement: 'color.background.danger.bold.[default]',
340
379
  description: 'A vibrant background for small UI elements like danger buttons and bold removed lozenges.'
341
380
  }
@@ -346,6 +385,7 @@ const color = {
346
385
  attributes: {
347
386
  group: 'paint',
348
387
  state: 'deleted',
388
+ introduced: '0.0.15',
349
389
  replacement: 'color.background.discovery.bold.hovered',
350
390
  description: 'Hover state of background.boldDiscovery'
351
391
  }
@@ -354,6 +394,7 @@ const color = {
354
394
  attributes: {
355
395
  group: 'paint',
356
396
  state: 'deleted',
397
+ introduced: '0.0.15',
357
398
  replacement: 'color.background.discovery.bold.pressed',
358
399
  description: 'Pressed state of background.boldDiscovery'
359
400
  }
@@ -362,6 +403,7 @@ const color = {
362
403
  attributes: {
363
404
  group: 'paint',
364
405
  state: 'deleted',
406
+ introduced: '0.0.15',
365
407
  replacement: 'color.background.discovery.bold.[default]',
366
408
  description: 'A vibrant background for small UI elements like onboarding buttons and bold new lozenges.'
367
409
  }
@@ -372,6 +414,7 @@ const color = {
372
414
  attributes: {
373
415
  group: 'paint',
374
416
  state: 'deleted',
417
+ introduced: '0.0.15',
375
418
  replacement: 'color.background.neutral.bold.hovered',
376
419
  description: 'Hover state of background.boldNeutral'
377
420
  }
@@ -380,6 +423,7 @@ const color = {
380
423
  attributes: {
381
424
  group: 'paint',
382
425
  state: 'deleted',
426
+ introduced: '0.0.15',
383
427
  replacement: 'color.background.neutral.bold.pressed',
384
428
  description: 'Pressed state of background.boldNeutral'
385
429
  }
@@ -388,6 +432,7 @@ const color = {
388
432
  attributes: {
389
433
  group: 'paint',
390
434
  state: 'deleted',
435
+ introduced: '0.0.15',
391
436
  replacement: 'color.background.neutral.bold.[default]',
392
437
  description: 'A vibrant background for small UI elements like unchecked toggles and bold default lozenges.'
393
438
  }
@@ -398,6 +443,7 @@ const color = {
398
443
  attributes: {
399
444
  group: 'paint',
400
445
  state: 'deleted',
446
+ introduced: '0.0.15',
401
447
  replacement: 'color.background.success.bold.hovered',
402
448
  description: 'Hover state of background.boldSuccess'
403
449
  }
@@ -406,6 +452,7 @@ const color = {
406
452
  attributes: {
407
453
  group: 'paint',
408
454
  state: 'deleted',
455
+ introduced: '0.0.15',
409
456
  replacement: 'color.background.success.bold.pressed',
410
457
  description: 'Pressed state of background.boldSuccess'
411
458
  }
@@ -414,6 +461,7 @@ const color = {
414
461
  attributes: {
415
462
  group: 'paint',
416
463
  state: 'deleted',
464
+ introduced: '0.0.15',
417
465
  replacement: 'color.background.success.bold.[default]',
418
466
  description: 'A vibrant background for small UI elements like checked toggles and bold success lozenges.'
419
467
  }
@@ -424,6 +472,7 @@ const color = {
424
472
  attributes: {
425
473
  group: 'paint',
426
474
  state: 'deleted',
475
+ introduced: '0.0.15',
427
476
  replacement: 'color.background.warning.bold.hovered',
428
477
  description: 'Hover state of background.boldWarning'
429
478
  }
@@ -432,6 +481,7 @@ const color = {
432
481
  attributes: {
433
482
  group: 'paint',
434
483
  state: 'deleted',
484
+ introduced: '0.0.15',
435
485
  replacement: 'color.background.warning.bold.pressed',
436
486
  description: 'Pressed state of background.boldWarning'
437
487
  }
@@ -440,6 +490,7 @@ const color = {
440
490
  attributes: {
441
491
  group: 'paint',
442
492
  state: 'deleted',
493
+ introduced: '0.0.15',
443
494
  replacement: 'color.background.warning.bold.[default]',
444
495
  description: 'A vibrant background for small UI elements like warning buttons and bold moved lozenges.'
445
496
  }
@@ -449,6 +500,7 @@ const color = {
449
500
  attributes: {
450
501
  group: 'paint',
451
502
  state: 'deleted',
503
+ introduced: '0.0.15',
452
504
  replacement: 'elevation.surface.raised',
453
505
  description: 'Use for the background of raised cards, such as Jira cards on a Kanban board.\nCombine with shadow.card.'
454
506
  }
@@ -457,14 +509,27 @@ const color = {
457
509
  attributes: {
458
510
  group: 'paint',
459
511
  state: 'deleted',
512
+ introduced: '0.0.15',
460
513
  replacement: 'elevation.surface.[default]',
461
514
  description: 'Use as the primary background for the UI'
462
515
  }
463
516
  },
517
+ inverse: {
518
+ '[default]': {
519
+ attributes: {
520
+ group: 'paint',
521
+ state: 'deprecated',
522
+ introduced: '0.1.0',
523
+ replacement: 'color.background.inverse.subtle.[default]',
524
+ description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
525
+ }
526
+ }
527
+ },
464
528
  overlay: {
465
529
  attributes: {
466
530
  group: 'paint',
467
531
  state: 'deleted',
532
+ introduced: '0.0.15',
468
533
  replacement: 'elevation.surface.overlay',
469
534
  description: `
470
535
  Use for the background of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).
@@ -479,6 +544,7 @@ Combine with shadow.overlay.`
479
544
  attributes: {
480
545
  group: 'paint',
481
546
  state: 'deprecated',
547
+ introduced: '0.1.0',
482
548
  replacement: 'color.background.selected.[default].[default]',
483
549
  description: 'Use for backgrounds of elements in a selected state'
484
550
  }
@@ -487,6 +553,7 @@ Combine with shadow.overlay.`
487
553
  attributes: {
488
554
  group: 'paint',
489
555
  state: 'deprecated',
556
+ introduced: '0.1.0',
490
557
  replacement: 'color.background.selected.[default].hovered',
491
558
  description: 'Hover state for color.background.selected'
492
559
  }
@@ -497,6 +564,7 @@ Combine with shadow.overlay.`
497
564
  attributes: {
498
565
  group: 'paint',
499
566
  state: 'deleted',
567
+ introduced: '0.0.15',
500
568
  replacement: 'color.background.input.pressed',
501
569
  description: 'Pressed state for background.subtleBorderedNeutral'
502
570
  }
@@ -505,6 +573,7 @@ Combine with shadow.overlay.`
505
573
  attributes: {
506
574
  group: 'paint',
507
575
  state: 'deleted',
576
+ introduced: '0.0.15',
508
577
  replacement: 'color.background.input.[default]',
509
578
  description: 'Hover state for background.subtleBorderedNeutral'
510
579
  }
@@ -515,6 +584,7 @@ Combine with shadow.overlay.`
515
584
  attributes: {
516
585
  group: 'paint',
517
586
  state: 'deprecated',
587
+ introduced: '0.0.15',
518
588
  replacement: 'color.background.selected.[default].hovered',
519
589
  description: 'Hover state for background.subtleBrand'
520
590
  }
@@ -523,6 +593,7 @@ Combine with shadow.overlay.`
523
593
  attributes: {
524
594
  group: 'paint',
525
595
  state: 'deprecated',
596
+ introduced: '0.0.15',
526
597
  replacement: 'color.background.selected.[default].pressed',
527
598
  description: 'Pressed state for background.subtleBrand'
528
599
  }
@@ -531,6 +602,7 @@ Combine with shadow.overlay.`
531
602
  attributes: {
532
603
  group: 'paint',
533
604
  state: 'deprecated',
605
+ introduced: '0.0.15',
534
606
  replacement: 'color.background.selected.[default].[default]',
535
607
  description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
536
608
  }
@@ -541,6 +613,7 @@ Combine with shadow.overlay.`
541
613
  attributes: {
542
614
  group: 'paint',
543
615
  state: 'deleted',
616
+ introduced: '0.0.15',
544
617
  replacement: 'color.background.danger.[default].hovered',
545
618
  description: 'Hover state for background.subtleDanger'
546
619
  }
@@ -549,6 +622,7 @@ Combine with shadow.overlay.`
549
622
  attributes: {
550
623
  group: 'paint',
551
624
  state: 'deleted',
625
+ introduced: '0.0.15',
552
626
  replacement: 'color.background.danger.[default].pressed',
553
627
  description: 'Pressed state for background.subtleDanger'
554
628
  }
@@ -557,6 +631,7 @@ Combine with shadow.overlay.`
557
631
  attributes: {
558
632
  group: 'paint',
559
633
  state: 'deleted',
634
+ introduced: '0.0.15',
560
635
  replacement: 'color.background.danger.[default].[default]',
561
636
  description: 'Use for subdued backgrounds of UI elements like error section messages and removed lozenges.'
562
637
  }
@@ -567,6 +642,7 @@ Combine with shadow.overlay.`
567
642
  attributes: {
568
643
  group: 'paint',
569
644
  state: 'deleted',
645
+ introduced: '0.0.15',
570
646
  replacement: 'color.background.discovery.[default].hovered',
571
647
  description: 'Hover state for background.subtleDiscovery'
572
648
  }
@@ -575,6 +651,7 @@ Combine with shadow.overlay.`
575
651
  attributes: {
576
652
  group: 'paint',
577
653
  state: 'deleted',
654
+ introduced: '0.0.15',
578
655
  replacement: 'color.background.discovery.[default].pressed',
579
656
  description: 'Pressed state for background.subtleDiscovery'
580
657
  }
@@ -583,6 +660,7 @@ Combine with shadow.overlay.`
583
660
  attributes: {
584
661
  group: 'paint',
585
662
  state: 'deleted',
663
+ introduced: '0.0.15',
586
664
  replacement: 'color.background.discovery.[default].[default]',
587
665
  description: 'Use for subdued backgrounds of UI elements like discovery section messages and new lozenges.'
588
666
  }
@@ -593,6 +671,7 @@ Combine with shadow.overlay.`
593
671
  attributes: {
594
672
  group: 'paint',
595
673
  state: 'deleted',
674
+ introduced: '0.0.15',
596
675
  replacement: 'color.background.neutral.[default].hovered',
597
676
  description: 'Hover state for background.subtleNeutral'
598
677
  }
@@ -601,6 +680,7 @@ Combine with shadow.overlay.`
601
680
  attributes: {
602
681
  group: 'paint',
603
682
  state: 'deleted',
683
+ introduced: '0.0.15',
604
684
  replacement: 'color.background.neutral.[default].pressed',
605
685
  description: 'Pressed state for background.subtleNeutral'
606
686
  }
@@ -609,6 +689,7 @@ Combine with shadow.overlay.`
609
689
  attributes: {
610
690
  group: 'paint',
611
691
  state: 'deleted',
692
+ introduced: '0.0.15',
612
693
  replacement: 'color.background.neutral.[default].[default]',
613
694
  description: 'Use as the default background of UI elements like buttons, lozenges, and tags.'
614
695
  }
@@ -619,6 +700,7 @@ Combine with shadow.overlay.`
619
700
  attributes: {
620
701
  group: 'paint',
621
702
  state: 'deleted',
703
+ introduced: '0.0.15',
622
704
  replacement: 'color.background.success.[default].hovered',
623
705
  description: 'Hover state for background.subtleSuccess'
624
706
  }
@@ -627,6 +709,7 @@ Combine with shadow.overlay.`
627
709
  attributes: {
628
710
  group: 'paint',
629
711
  state: 'deleted',
712
+ introduced: '0.0.15',
630
713
  replacement: 'color.background.success.[default].pressed',
631
714
  description: 'Pressed state for background.subtleSuccess'
632
715
  }
@@ -635,6 +718,7 @@ Combine with shadow.overlay.`
635
718
  attributes: {
636
719
  group: 'paint',
637
720
  state: 'deleted',
721
+ introduced: '0.0.15',
638
722
  replacement: 'color.background.success.[default].[default]',
639
723
  description: 'Use for subdued backgrounds of UI elements like success section messages and success lozenges.'
640
724
  }
@@ -645,6 +729,7 @@ Combine with shadow.overlay.`
645
729
  attributes: {
646
730
  group: 'paint',
647
731
  state: 'deleted',
732
+ introduced: '0.0.15',
648
733
  replacement: 'color.background.warning.[default].hovered',
649
734
  description: 'Hover state for background.subtleWarning'
650
735
  }
@@ -653,6 +738,7 @@ Combine with shadow.overlay.`
653
738
  attributes: {
654
739
  group: 'paint',
655
740
  state: 'deleted',
741
+ introduced: '0.0.15',
656
742
  replacement: 'color.background.warning.[default].pressed',
657
743
  description: 'Pressed state for background.subtleWarning'
658
744
  }
@@ -661,6 +747,7 @@ Combine with shadow.overlay.`
661
747
  attributes: {
662
748
  group: 'paint',
663
749
  state: 'deleted',
750
+ introduced: '0.0.15',
664
751
  replacement: 'color.background.warning.[default].[default]',
665
752
  description: 'Use for subdued backgrounds of UI elements like warning section messages and moved lozenges.'
666
753
  }
@@ -670,6 +757,7 @@ Combine with shadow.overlay.`
670
757
  attributes: {
671
758
  group: 'paint',
672
759
  state: 'deleted',
760
+ introduced: '0.0.15',
673
761
  replacement: 'elevation.surface.sunken',
674
762
  description: 'Use as a secondary background for the UI'
675
763
  }
@@ -679,6 +767,7 @@ Combine with shadow.overlay.`
679
767
  attributes: {
680
768
  group: 'paint',
681
769
  state: 'deleted',
770
+ introduced: '0.0.15',
682
771
  replacement: 'color.background.neutral.subtle.hovered',
683
772
  description: 'Hover state for UIs that do not have a default background, such as menu items or subtle buttons.'
684
773
  }
@@ -687,6 +776,7 @@ Combine with shadow.overlay.`
687
776
  attributes: {
688
777
  group: 'paint',
689
778
  state: 'deleted',
779
+ introduced: '0.0.15',
690
780
  replacement: 'color.background.neutral.subtle.pressed',
691
781
  description: 'Pressed state for UIs that do not have a default background, such as menu items or subtle buttons.'
692
782
  }
@@ -698,6 +788,7 @@ Combine with shadow.overlay.`
698
788
  attributes: {
699
789
  group: 'paint',
700
790
  state: 'deleted',
791
+ introduced: '0.0.15',
701
792
  replacement: 'color.text.[default]',
702
793
  description: 'Use for primary text, such as body copy, sentence case headers, and buttons'
703
794
  }
@@ -707,6 +798,7 @@ Combine with shadow.overlay.`
707
798
  attributes: {
708
799
  group: 'paint',
709
800
  state: 'deleted',
801
+ introduced: '0.0.15',
710
802
  replacement: 'color.link.pressed',
711
803
  description: 'Use for links in a pressed state'
712
804
  }
@@ -715,6 +807,7 @@ Combine with shadow.overlay.`
715
807
  attributes: {
716
808
  group: 'paint',
717
809
  state: 'deleted',
810
+ introduced: '0.0.15',
718
811
  replacement: 'color.link.[default]',
719
812
  description: 'Use for links in a resting or hover state. Add an underline for hover states'
720
813
  }
@@ -724,6 +817,7 @@ Combine with shadow.overlay.`
724
817
  attributes: {
725
818
  group: 'paint',
726
819
  state: 'deleted',
820
+ introduced: '0.0.15',
727
821
  replacement: 'color.text.subtlest',
728
822
  description: `
729
823
  Use for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.
@@ -735,6 +829,7 @@ Use for icons that are paired with text.medEmphasis text`
735
829
  attributes: {
736
830
  group: 'paint',
737
831
  state: 'deleted',
832
+ introduced: '0.0.15',
738
833
  replacement: 'color.text.subtle',
739
834
  description: `
740
835
  Use for secondary text, such navigation, subtle button links, input field labels, and all caps subheadings.
@@ -747,6 +842,7 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
747
842
  attributes: {
748
843
  group: 'paint',
749
844
  state: 'deleted',
845
+ introduced: '0.0.15',
750
846
  replacement: 'color.text.inverse',
751
847
  description: 'Use for text and icons when on bold backgrounds'
752
848
  }
@@ -755,6 +851,7 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
755
851
  attributes: {
756
852
  group: 'paint',
757
853
  state: 'deleted',
854
+ introduced: '0.0.15',
758
855
  replacement: 'color.text.warning.inverse',
759
856
  description: 'Use for text and icons when on bold warning backgrounds'
760
857
  }
@@ -765,6 +862,7 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
765
862
  attributes: {
766
863
  group: 'paint',
767
864
  state: 'deleted',
865
+ introduced: '0.0.15',
768
866
  replacement: 'color.border.focused',
769
867
  description: 'Use for focus rings of elements in a focus state'
770
868
  }
@@ -773,6 +871,7 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
773
871
  attributes: {
774
872
  group: 'paint',
775
873
  state: 'deleted',
874
+ introduced: '0.0.15',
776
875
  replacement: 'color.border.[default]',
777
876
  description: 'Use to create borders around UI elements such as text fields, checkboxes, and radio buttons, or to visually group or separate UI elements, such as flat cards or side panel dividers'
778
877
  }
@@ -783,6 +882,7 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
783
882
  attributes: {
784
883
  group: 'paint',
785
884
  state: 'deleted',
885
+ introduced: '0.0.15',
786
886
  replacement: 'color.icon.brand',
787
887
  description: `
788
888
  Use rarely for icons or borders representing brand, in-progress, or information, such as the icons in information sections messages.
@@ -794,6 +894,7 @@ Also use for blue icons or borders when there is no meaning tied to the color, s
794
894
  attributes: {
795
895
  group: 'paint',
796
896
  state: 'deleted',
897
+ introduced: '0.0.15',
797
898
  replacement: 'color.icon.danger',
798
899
  description: `
799
900
  Use rarely for icons and borders representing critical information, such the icons in error section messages or the borders on invalid text fields.
@@ -805,6 +906,7 @@ Also use for red icons or borders when there is no meaning tied to the color, su
805
906
  attributes: {
806
907
  group: 'paint',
807
908
  state: 'deleted',
909
+ introduced: '0.0.15',
808
910
  replacement: 'color.icon.discovery',
809
911
  description: `
810
912
  Use rarely for icons and borders representing new information, such as the icons in discovery section mesages or the borders in onboarding spotlights.
@@ -817,6 +919,7 @@ Also use for purple icons or borders when there is no meaning tied to the color,
817
919
  attributes: {
818
920
  group: 'paint',
819
921
  state: 'deleted',
922
+ introduced: '0.0.15',
820
923
  replacement: 'color.icon.success',
821
924
  description: `
822
925
  Use rarely for icons and borders representing positive information, such as the icons in success section messages or the borders on validated text fields.
@@ -829,6 +932,7 @@ Also use for green icons or borders when there is no meaning tied to the color,
829
932
  attributes: {
830
933
  group: 'paint',
831
934
  state: 'deleted',
935
+ introduced: '0.0.15',
832
936
  replacement: 'color.icon.warning.[default]',
833
937
  description: `
834
938
  Use rarely for icons and borders representing semi-urgent information, such as the icons in warning section messages.
@@ -843,6 +947,7 @@ Also use for yellow icons or borders when there is no meaning tied to the color,
843
947
  attributes: {
844
948
  group: 'paint',
845
949
  state: 'deleted',
950
+ introduced: '0.1.0',
846
951
  replacement: 'color.interaction.hovered',
847
952
  description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
848
953
  }
@@ -851,6 +956,7 @@ Also use for yellow icons or borders when there is no meaning tied to the color,
851
956
  attributes: {
852
957
  group: 'paint',
853
958
  state: 'deleted',
959
+ introduced: '0.1.0',
854
960
  replacement: 'color.interaction.pressed',
855
961
  description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
856
962
  }
@@ -862,6 +968,7 @@ Also use for yellow icons or borders when there is no meaning tied to the color,
862
968
  attributes: {
863
969
  group: 'shadow',
864
970
  state: 'deleted',
971
+ introduced: '0.6.0',
865
972
  replacement: 'elevation.shadow.raised',
866
973
  description: `
867
974
  Use for the box shadow of raised card elements, such as Jira cards on a Kanban board.
@@ -873,6 +980,7 @@ Combine with background.overlay`
873
980
  attributes: {
874
981
  group: 'shadow',
875
982
  state: 'deleted',
983
+ introduced: '0.6.0',
876
984
  replacement: 'elevation.shadow.overlay',
877
985
  description: `
878
986
  Use for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).