@atlaskit/tokens 0.8.0 → 0.8.3

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 (91) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/css/atlassian-dark.css +7 -4
  3. package/css/atlassian-light.css +7 -4
  4. package/dist/cjs/artifacts/rename-mapping.js +4 -0
  5. package/dist/cjs/artifacts/token-default-values.js +7 -4
  6. package/dist/cjs/artifacts/token-names.js +3 -0
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +623 -18
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +621 -16
  9. package/dist/cjs/constants.js +18 -0
  10. package/dist/cjs/entry-points/token-ids.js +25 -0
  11. package/dist/cjs/get-token.js +1 -1
  12. package/dist/cjs/token-ids.js +75 -0
  13. package/dist/cjs/tokens/atlassian-dark/color/background.js +17 -5
  14. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  15. package/dist/cjs/tokens/atlassian-light/color/background.js +17 -5
  16. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  17. package/dist/cjs/tokens/default/color/accent.js +65 -1
  18. package/dist/cjs/tokens/default/color/background.js +82 -6
  19. package/dist/cjs/tokens/default/color/border.js +11 -0
  20. package/dist/cjs/tokens/default/color/icon.js +13 -1
  21. package/dist/cjs/tokens/default/color/interaction.js +4 -0
  22. package/dist/cjs/tokens/default/color/skeleton.js +2 -0
  23. package/dist/cjs/tokens/default/color/text.js +15 -0
  24. package/dist/cjs/tokens/default/deprecated/deprecated.js +108 -0
  25. package/dist/cjs/tokens/default/elevation/shadow.js +3 -0
  26. package/dist/cjs/tokens/default/elevation/surface.js +4 -0
  27. package/dist/cjs/tokens/default/utility/utility.js +2 -0
  28. package/dist/cjs/version.json +4 -2
  29. package/dist/es2019/artifacts/rename-mapping.js +4 -0
  30. package/dist/es2019/artifacts/token-default-values.js +7 -4
  31. package/dist/es2019/artifacts/token-names.js +3 -0
  32. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +623 -18
  33. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +621 -16
  34. package/dist/es2019/constants.js +8 -0
  35. package/dist/es2019/entry-points/token-ids.js +1 -0
  36. package/dist/es2019/get-token.js +1 -1
  37. package/dist/es2019/token-ids.js +51 -0
  38. package/dist/es2019/tokens/atlassian-dark/color/background.js +17 -5
  39. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  40. package/dist/es2019/tokens/atlassian-light/color/background.js +17 -5
  41. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  42. package/dist/es2019/tokens/default/color/accent.js +65 -1
  43. package/dist/es2019/tokens/default/color/background.js +82 -6
  44. package/dist/es2019/tokens/default/color/border.js +11 -0
  45. package/dist/es2019/tokens/default/color/icon.js +13 -1
  46. package/dist/es2019/tokens/default/color/interaction.js +4 -0
  47. package/dist/es2019/tokens/default/color/skeleton.js +2 -0
  48. package/dist/es2019/tokens/default/color/text.js +15 -0
  49. package/dist/es2019/tokens/default/deprecated/deprecated.js +108 -0
  50. package/dist/es2019/tokens/default/elevation/shadow.js +3 -0
  51. package/dist/es2019/tokens/default/elevation/surface.js +4 -0
  52. package/dist/es2019/tokens/default/utility/utility.js +2 -0
  53. package/dist/es2019/version.json +4 -2
  54. package/dist/esm/artifacts/rename-mapping.js +4 -0
  55. package/dist/esm/artifacts/token-default-values.js +7 -4
  56. package/dist/esm/artifacts/token-names.js +3 -0
  57. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +623 -18
  58. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +621 -16
  59. package/dist/esm/constants.js +8 -0
  60. package/dist/esm/entry-points/token-ids.js +1 -0
  61. package/dist/esm/get-token.js +1 -1
  62. package/dist/esm/token-ids.js +58 -0
  63. package/dist/esm/tokens/atlassian-dark/color/background.js +17 -5
  64. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +6 -0
  65. package/dist/esm/tokens/atlassian-light/color/background.js +17 -5
  66. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +6 -0
  67. package/dist/esm/tokens/default/color/accent.js +65 -1
  68. package/dist/esm/tokens/default/color/background.js +82 -6
  69. package/dist/esm/tokens/default/color/border.js +11 -0
  70. package/dist/esm/tokens/default/color/icon.js +13 -1
  71. package/dist/esm/tokens/default/color/interaction.js +4 -0
  72. package/dist/esm/tokens/default/color/skeleton.js +2 -0
  73. package/dist/esm/tokens/default/color/text.js +15 -0
  74. package/dist/esm/tokens/default/deprecated/deprecated.js +108 -0
  75. package/dist/esm/tokens/default/elevation/shadow.js +3 -0
  76. package/dist/esm/tokens/default/elevation/surface.js +4 -0
  77. package/dist/esm/tokens/default/utility/utility.js +2 -0
  78. package/dist/esm/version.json +4 -2
  79. package/dist/types/artifacts/token-default-values.d.ts +7 -4
  80. package/dist/types/artifacts/token-names.d.ts +6 -0
  81. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +8 -0
  82. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +8 -0
  83. package/dist/types/artifacts/types-internal.d.ts +1 -1
  84. package/dist/types/artifacts/types.d.ts +1 -1
  85. package/dist/types/constants.d.ts +4 -0
  86. package/dist/types/entry-points/token-ids.d.ts +1 -0
  87. package/dist/types/token-ids.d.ts +43 -0
  88. package/dist/types/tokens/default/utility/utility.d.ts +14 -10
  89. package/dist/types/types.d.ts +12 -1
  90. package/package.json +5 -2
  91. package/token-ids/package.json +7 -0
@@ -0,0 +1,8 @@
1
+ export const ALLOWED_THEMES = ['light', 'dark'];
2
+ export const DEFAULT_THEME = 'light';
3
+ export const CSS_PREFIX = 'ds'; // Maps the longer theme name to a shorthand used in css/code
4
+
5
+ export const LONG_SHORT_MAPPING = {
6
+ 'atlassian-light': 'light',
7
+ 'atlassian-dark': 'dark'
8
+ };
@@ -0,0 +1 @@
1
+ export { getCSSCustomProperty, getTokenId, getFullyQualifiedTokenId } from '../token-ids';
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  const name = "@atlaskit/tokens";
4
- const version = "0.8.0";
4
+ const version = "0.8.3";
5
5
 
6
6
  function token(path, fallback) {
7
7
  let token = tokens[path];
@@ -0,0 +1,51 @@
1
+ import { CSS_PREFIX } from './constants';
2
+ /**
3
+ * Transforms a style dictionary token path to a CSS custom property.
4
+ *
5
+ * A css prefix will be prepended and all [default] key words will be omitted
6
+ * from the path
7
+ *
8
+ * @example <caption>Passing a path as an array</caption>
9
+ * // Returns ds-background-bold
10
+ * getCSSCustomProperty(['color', 'background', 'bold', '[default]'])
11
+ *
12
+ * @example <caption>Passing a path as a string</caption>
13
+ * // Returns ds-background-bold
14
+ * getCSSCustomProperty('color.background.bold.[default]')
15
+ */
16
+
17
+ export const getCSSCustomProperty = path => {
18
+ const normalizedPath = typeof path === 'string' ? path.split('.') : path;
19
+ return `--${[CSS_PREFIX, ...normalizedPath.slice(1)].filter(el => el !== '[default]').join('-')}`;
20
+ };
21
+
22
+ /**
23
+ * Transforms a style dictionary token path to a shorthand token id
24
+ * These ids will be typically be how tokens are interacted with via typescript and css
25
+ *
26
+ * All [default] key words will be omitted from the path
27
+ *
28
+ * @example <caption>Passing a path as an array</caption>
29
+ * // Returns color.background.bold
30
+ * getTokenId(['color', 'background', 'bold', '[default]'])
31
+ *
32
+ * @example <caption>Passing a path as a string</caption>
33
+ * // Returns color.background.bold
34
+ * getTokenId('color.background.bold.[default]')
35
+ */
36
+ export const getTokenId = path => {
37
+ const normalizedPath = typeof path === 'string' ? path.split('.') : path;
38
+ return normalizedPath.filter(el => el !== '[default]').join('.');
39
+ };
40
+ /**
41
+ * Transforms a style dictionary token path to a fully qualified token id
42
+ * These Ids are intended to be used internal to this package by style-dictionary
43
+ *
44
+ * [default] key words will NOT be omitted from the path
45
+ *
46
+ * @example <caption>Passing a path as a string</caption>
47
+ * // Returns color.background.bold.[default]
48
+ * getFullyQualifiedTokenId(['color', 'background', 'bold', '[default]'])
49
+ */
50
+
51
+ export const getFullyQualifiedTokenId = path => path.join('.');
@@ -17,19 +17,31 @@ const color = {
17
17
  disabled: {
18
18
  value: 'DN200A'
19
19
  },
20
- // @ts-ignore temporary value
21
20
  inverse: {
22
- value: '#ffffff33'
21
+ subtle: {
22
+ // @ts-ignore temporary value (#FFFFFF 16% opacity)
23
+ '[default]': {
24
+ value: '#FFFFFF29'
25
+ },
26
+ // @ts-ignore temporary value (#FFFFFF 24% opacity)
27
+ hovered: {
28
+ value: '#FFFFFF3D'
29
+ },
30
+ // @ts-ignore temporary value (#FFFFFF 32% opacity)
31
+ pressed: {
32
+ value: '#FFFFFF52'
33
+ }
34
+ }
23
35
  },
24
36
  input: {
25
37
  '[default]': {
26
- value: 'DN100A'
38
+ value: 'DN100'
27
39
  },
28
40
  hovered: {
29
- value: 'DN0'
41
+ value: 'DN200'
30
42
  },
31
43
  pressed: {
32
- value: 'DN200A'
44
+ value: 'DN100'
33
45
  }
34
46
  },
35
47
  neutral: {
@@ -196,6 +196,12 @@ const color = {
196
196
  card: {
197
197
  value: 'DN100'
198
198
  },
199
+ inverse: {
200
+ // @ts-ignore temporary until a palette colour exists for it
201
+ '[default]': {
202
+ value: '#00000029'
203
+ }
204
+ },
199
205
  overlay: {
200
206
  value: 'DN200'
201
207
  },
@@ -17,19 +17,31 @@ const color = {
17
17
  disabled: {
18
18
  value: 'N200A'
19
19
  },
20
- // @ts-ignore temporary value
21
20
  inverse: {
22
- value: '#00000029'
21
+ subtle: {
22
+ // @ts-ignore temporary value (#000000 16% opacity)
23
+ '[default]': {
24
+ value: '#00000029'
25
+ },
26
+ // @ts-ignore temporary value (#000000 24% opacity)
27
+ hovered: {
28
+ value: '#0000003D'
29
+ },
30
+ // @ts-ignore temporary value (#000000 32% opacity)
31
+ pressed: {
32
+ value: '#00000052'
33
+ }
34
+ }
23
35
  },
24
36
  input: {
25
37
  '[default]': {
26
- value: 'N100A'
38
+ value: 'N0'
27
39
  },
28
40
  hovered: {
29
- value: 'N0'
41
+ value: 'N100'
30
42
  },
31
43
  pressed: {
32
- value: 'N200A'
44
+ value: 'N0'
33
45
  }
34
46
  },
35
47
  neutral: {
@@ -196,6 +196,12 @@ const color = {
196
196
  card: {
197
197
  value: 'N0'
198
198
  },
199
+ inverse: {
200
+ // @ts-ignore temporary until a palette colour exists for it
201
+ '[default]': {
202
+ value: '#FFFFFF29'
203
+ }
204
+ },
199
205
  overlay: {
200
206
  value: 'N0'
201
207
  },
@@ -7,6 +7,7 @@ const color = {
7
7
  attributes: {
8
8
  group: 'paint',
9
9
  state: 'active',
10
+ introduced: '0.6.0',
10
11
  description: 'Use for blue text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
11
12
  }
12
13
  },
@@ -14,6 +15,7 @@ const color = {
14
15
  attributes: {
15
16
  group: 'paint',
16
17
  state: 'active',
18
+ introduced: '0.7.0',
17
19
  description: 'Use on bold blue accent backgrounds.'
18
20
  }
19
21
  }
@@ -23,6 +25,7 @@ const color = {
23
25
  attributes: {
24
26
  group: 'paint',
25
27
  state: 'active',
28
+ introduced: '0.6.0',
26
29
  description: 'Use for red text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
27
30
  }
28
31
  },
@@ -30,6 +33,7 @@ const color = {
30
33
  attributes: {
31
34
  group: 'paint',
32
35
  state: 'active',
36
+ introduced: '0.7.0',
33
37
  description: 'Use on bold red accent backgrounds.'
34
38
  }
35
39
  }
@@ -39,6 +43,7 @@ const color = {
39
43
  attributes: {
40
44
  group: 'paint',
41
45
  state: 'active',
46
+ introduced: '0.6.0',
42
47
  description: 'Use for orange text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
43
48
  }
44
49
  },
@@ -46,6 +51,7 @@ const color = {
46
51
  attributes: {
47
52
  group: 'paint',
48
53
  state: 'active',
54
+ introduced: '0.7.0',
49
55
  description: 'Use on bold orange accent backgrounds.'
50
56
  }
51
57
  }
@@ -55,6 +61,7 @@ const color = {
55
61
  attributes: {
56
62
  group: 'paint',
57
63
  state: 'active',
64
+ introduced: '0.6.0',
58
65
  description: 'Use for yellow text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
59
66
  }
60
67
  },
@@ -62,6 +69,7 @@ const color = {
62
69
  attributes: {
63
70
  group: 'paint',
64
71
  state: 'active',
72
+ introduced: '0.7.0',
65
73
  description: 'Use on bold yellow accent backgrounds.'
66
74
  }
67
75
  }
@@ -71,6 +79,7 @@ const color = {
71
79
  attributes: {
72
80
  group: 'paint',
73
81
  state: 'active',
82
+ introduced: '0.6.0',
74
83
  description: 'Use for green text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
75
84
  }
76
85
  },
@@ -78,6 +87,7 @@ const color = {
78
87
  attributes: {
79
88
  group: 'paint',
80
89
  state: 'active',
90
+ introduced: '0.7.0',
81
91
  description: 'Use on bold green accent backgrounds.'
82
92
  }
83
93
  }
@@ -87,6 +97,7 @@ const color = {
87
97
  attributes: {
88
98
  group: 'paint',
89
99
  state: 'active',
100
+ introduced: '0.6.0',
90
101
  description: 'Use for purple text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
91
102
  }
92
103
  },
@@ -94,6 +105,7 @@ const color = {
94
105
  attributes: {
95
106
  group: 'paint',
96
107
  state: 'active',
108
+ introduced: '0.7.0',
97
109
  description: 'Use on bold purple accent backgrounds.'
98
110
  }
99
111
  }
@@ -103,6 +115,7 @@ const color = {
103
115
  attributes: {
104
116
  group: 'paint',
105
117
  state: 'active',
118
+ introduced: '0.6.0',
106
119
  description: 'Use for teal text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
107
120
  }
108
121
  },
@@ -110,6 +123,7 @@ const color = {
110
123
  attributes: {
111
124
  group: 'paint',
112
125
  state: 'active',
126
+ introduced: '0.7.0',
113
127
  description: 'Use on bold teal accent backgrounds.'
114
128
  }
115
129
  }
@@ -119,13 +133,15 @@ const color = {
119
133
  attributes: {
120
134
  group: 'paint',
121
135
  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.'
136
+ introduced: '0.6.0',
137
+ description: 'Use for magenta text on non-bold backgrounds when there is no meaning tied to the color, such as colored tags.'
123
138
  }
124
139
  },
125
140
  bolder: {
126
141
  attributes: {
127
142
  group: 'paint',
128
143
  state: 'active',
144
+ introduced: '0.7.0',
129
145
  description: 'Use on bold magenta accent backgrounds.'
130
146
  }
131
147
  }
@@ -138,6 +154,7 @@ const color = {
138
154
  attributes: {
139
155
  group: 'paint',
140
156
  state: 'active',
157
+ introduced: '0.6.0',
141
158
  description: 'Use for blue icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
142
159
  }
143
160
  },
@@ -145,6 +162,7 @@ const color = {
145
162
  attributes: {
146
163
  group: 'paint',
147
164
  state: 'active',
165
+ introduced: '0.6.0',
148
166
  description: 'Use for red icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
149
167
  }
150
168
  },
@@ -152,6 +170,7 @@ const color = {
152
170
  attributes: {
153
171
  group: 'paint',
154
172
  state: 'active',
173
+ introduced: '0.6.0',
155
174
  description: 'Use for orange icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
156
175
  }
157
176
  },
@@ -159,6 +178,7 @@ const color = {
159
178
  attributes: {
160
179
  group: 'paint',
161
180
  state: 'active',
181
+ introduced: '0.6.0',
162
182
  description: 'Use for yellow icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
163
183
  }
164
184
  },
@@ -166,6 +186,7 @@ const color = {
166
186
  attributes: {
167
187
  group: 'paint',
168
188
  state: 'active',
189
+ introduced: '0.6.0',
169
190
  description: 'Use for green icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
170
191
  }
171
192
  },
@@ -173,6 +194,7 @@ const color = {
173
194
  attributes: {
174
195
  group: 'paint',
175
196
  state: 'active',
197
+ introduced: '0.6.0',
176
198
  description: 'Use for purple icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
177
199
  }
178
200
  },
@@ -180,6 +202,7 @@ const color = {
180
202
  attributes: {
181
203
  group: 'paint',
182
204
  state: 'active',
205
+ introduced: '0.6.0',
183
206
  description: 'Use for teal icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
184
207
  }
185
208
  },
@@ -187,6 +210,7 @@ const color = {
187
210
  attributes: {
188
211
  group: 'paint',
189
212
  state: 'active',
213
+ introduced: '0.6.0',
190
214
  description: 'Use for magenta icons on non-bold backgrounds when there is no meaning tied to the color, such as file type icons.'
191
215
  }
192
216
  }
@@ -198,6 +222,7 @@ const color = {
198
222
  attributes: {
199
223
  group: 'paint',
200
224
  state: 'active',
225
+ introduced: '0.6.0',
201
226
  description: 'Use for blue borders on non-bold backgrounds when there is no meaning tied to the color.'
202
227
  }
203
228
  },
@@ -205,6 +230,7 @@ const color = {
205
230
  attributes: {
206
231
  group: 'paint',
207
232
  state: 'active',
233
+ introduced: '0.6.0',
208
234
  description: 'Use for red borders on non-bold backgrounds when there is no meaning tied to the color.'
209
235
  }
210
236
  },
@@ -212,6 +238,7 @@ const color = {
212
238
  attributes: {
213
239
  group: 'paint',
214
240
  state: 'active',
241
+ introduced: '0.6.0',
215
242
  description: 'Use for orange borders on non-bold backgrounds when there is no meaning tied to the color.'
216
243
  }
217
244
  },
@@ -219,6 +246,7 @@ const color = {
219
246
  attributes: {
220
247
  group: 'paint',
221
248
  state: 'active',
249
+ introduced: '0.6.0',
222
250
  description: 'Use for yellow borders on non-bold backgrounds when there is no meaning tied to the color.'
223
251
  }
224
252
  },
@@ -226,6 +254,7 @@ const color = {
226
254
  attributes: {
227
255
  group: 'paint',
228
256
  state: 'active',
257
+ introduced: '0.6.0',
229
258
  description: 'Use for green borders on non-bold backgrounds when there is no meaning tied to the color.'
230
259
  }
231
260
  },
@@ -233,6 +262,7 @@ const color = {
233
262
  attributes: {
234
263
  group: 'paint',
235
264
  state: 'active',
265
+ introduced: '0.6.0',
236
266
  description: 'Use for purple borders on non-bold backgrounds when there is no meaning tied to the color.'
237
267
  }
238
268
  },
@@ -240,6 +270,7 @@ const color = {
240
270
  attributes: {
241
271
  group: 'paint',
242
272
  state: 'active',
273
+ introduced: '0.6.0',
243
274
  description: 'Use for teal borders on non-bold backgrounds when there is no meaning tied to the color.'
244
275
  }
245
276
  },
@@ -247,6 +278,7 @@ const color = {
247
278
  attributes: {
248
279
  group: 'paint',
249
280
  state: 'active',
281
+ introduced: '0.6.0',
250
282
  description: 'Use for magenta borders on non-bold backgrounds when there is no meaning tied to the color.'
251
283
  }
252
284
  }
@@ -259,6 +291,7 @@ const color = {
259
291
  attributes: {
260
292
  group: 'paint',
261
293
  state: 'active',
294
+ introduced: '0.7.0',
262
295
  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
296
  }
264
297
  },
@@ -266,6 +299,7 @@ const color = {
266
299
  attributes: {
267
300
  group: 'paint',
268
301
  state: 'active',
302
+ introduced: '0.7.0',
269
303
  description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
270
304
  }
271
305
  },
@@ -273,6 +307,7 @@ const color = {
273
307
  attributes: {
274
308
  group: 'paint',
275
309
  state: 'active',
310
+ introduced: '0.7.0',
276
311
  description: 'Use for vibrant blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
277
312
  }
278
313
  },
@@ -280,6 +315,7 @@ const color = {
280
315
  attributes: {
281
316
  group: 'paint',
282
317
  state: 'active',
318
+ introduced: '0.7.0',
283
319
  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
320
  }
285
321
  }
@@ -289,6 +325,7 @@ const color = {
289
325
  attributes: {
290
326
  group: 'paint',
291
327
  state: 'active',
328
+ introduced: '0.7.0',
292
329
  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
330
  }
294
331
  },
@@ -296,6 +333,7 @@ const color = {
296
333
  attributes: {
297
334
  group: 'paint',
298
335
  state: 'active',
336
+ introduced: '0.7.0',
299
337
  description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
300
338
  }
301
339
  },
@@ -303,6 +341,7 @@ const color = {
303
341
  attributes: {
304
342
  group: 'paint',
305
343
  state: 'active',
344
+ introduced: '0.7.0',
306
345
  description: 'Use for vibrant red backgrounds when there is no meaning tied to the color, such as colored tags.'
307
346
  }
308
347
  },
@@ -310,6 +349,7 @@ const color = {
310
349
  attributes: {
311
350
  group: 'paint',
312
351
  state: 'active',
352
+ introduced: '0.7.0',
313
353
  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
354
  }
315
355
  }
@@ -319,6 +359,7 @@ const color = {
319
359
  attributes: {
320
360
  group: 'paint',
321
361
  state: 'active',
362
+ introduced: '0.7.0',
322
363
  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
364
  }
324
365
  },
@@ -326,6 +367,7 @@ const color = {
326
367
  attributes: {
327
368
  group: 'paint',
328
369
  state: 'active',
370
+ introduced: '0.7.0',
329
371
  description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
330
372
  }
331
373
  },
@@ -333,6 +375,7 @@ const color = {
333
375
  attributes: {
334
376
  group: 'paint',
335
377
  state: 'active',
378
+ introduced: '0.7.0',
336
379
  description: 'Use for vibrant orange backgrounds when there is no meaning tied to the color, such as colored tags.'
337
380
  }
338
381
  },
@@ -340,6 +383,7 @@ const color = {
340
383
  attributes: {
341
384
  group: 'paint',
342
385
  state: 'active',
386
+ introduced: '0.7.0',
343
387
  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
388
  }
345
389
  }
@@ -349,6 +393,7 @@ const color = {
349
393
  attributes: {
350
394
  group: 'paint',
351
395
  state: 'active',
396
+ introduced: '0.7.0',
352
397
  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
398
  }
354
399
  },
@@ -356,6 +401,7 @@ const color = {
356
401
  attributes: {
357
402
  group: 'paint',
358
403
  state: 'active',
404
+ introduced: '0.7.0',
359
405
  description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
360
406
  }
361
407
  },
@@ -363,6 +409,7 @@ const color = {
363
409
  attributes: {
364
410
  group: 'paint',
365
411
  state: 'active',
412
+ introduced: '0.7.0',
366
413
  description: 'Use for vibrant yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
367
414
  }
368
415
  },
@@ -370,6 +417,7 @@ const color = {
370
417
  attributes: {
371
418
  group: 'paint',
372
419
  state: 'active',
420
+ introduced: '0.7.0',
373
421
  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
422
  }
375
423
  }
@@ -379,6 +427,7 @@ const color = {
379
427
  attributes: {
380
428
  group: 'paint',
381
429
  state: 'active',
430
+ introduced: '0.7.0',
382
431
  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
432
  }
384
433
  },
@@ -386,6 +435,7 @@ const color = {
386
435
  attributes: {
387
436
  group: 'paint',
388
437
  state: 'active',
438
+ introduced: '0.7.0',
389
439
  description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
390
440
  }
391
441
  },
@@ -393,6 +443,7 @@ const color = {
393
443
  attributes: {
394
444
  group: 'paint',
395
445
  state: 'active',
446
+ introduced: '0.7.0',
396
447
  description: 'Use for vibrant green backgrounds when there is no meaning tied to the color, such as colored tags.'
397
448
  }
398
449
  },
@@ -400,6 +451,7 @@ const color = {
400
451
  attributes: {
401
452
  group: 'paint',
402
453
  state: 'active',
454
+ introduced: '0.7.0',
403
455
  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
456
  }
405
457
  }
@@ -409,6 +461,7 @@ const color = {
409
461
  attributes: {
410
462
  group: 'paint',
411
463
  state: 'active',
464
+ introduced: '0.7.0',
412
465
  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
466
  }
414
467
  },
@@ -416,6 +469,7 @@ const color = {
416
469
  attributes: {
417
470
  group: 'paint',
418
471
  state: 'active',
472
+ introduced: '0.7.0',
419
473
  description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
420
474
  }
421
475
  },
@@ -423,6 +477,7 @@ const color = {
423
477
  attributes: {
424
478
  group: 'paint',
425
479
  state: 'active',
480
+ introduced: '0.7.0',
426
481
  description: 'Use for vibrant teal backgrounds when there is no meaning tied to the color, such as colored tags.'
427
482
  }
428
483
  },
@@ -430,6 +485,7 @@ const color = {
430
485
  attributes: {
431
486
  group: 'paint',
432
487
  state: 'active',
488
+ introduced: '0.7.0',
433
489
  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
490
  }
435
491
  }
@@ -439,6 +495,7 @@ const color = {
439
495
  attributes: {
440
496
  group: 'paint',
441
497
  state: 'active',
498
+ introduced: '0.7.0',
442
499
  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
500
  }
444
501
  },
@@ -446,6 +503,7 @@ const color = {
446
503
  attributes: {
447
504
  group: 'paint',
448
505
  state: 'active',
506
+ introduced: '0.7.0',
449
507
  description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
450
508
  }
451
509
  },
@@ -453,6 +511,7 @@ const color = {
453
511
  attributes: {
454
512
  group: 'paint',
455
513
  state: 'active',
514
+ introduced: '0.7.0',
456
515
  description: 'Use for vibrant purple backgrounds when there is no meaning tied to the color, such as colored tags.'
457
516
  }
458
517
  },
@@ -460,6 +519,7 @@ const color = {
460
519
  attributes: {
461
520
  group: 'paint',
462
521
  state: 'active',
522
+ introduced: '0.7.0',
463
523
  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
524
  }
465
525
  }
@@ -469,6 +529,7 @@ const color = {
469
529
  attributes: {
470
530
  group: 'paint',
471
531
  state: 'active',
532
+ introduced: '0.7.0',
472
533
  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
534
  }
474
535
  },
@@ -476,6 +537,7 @@ const color = {
476
537
  attributes: {
477
538
  group: 'paint',
478
539
  state: 'active',
540
+ introduced: '0.7.0',
479
541
  description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
480
542
  }
481
543
  },
@@ -483,6 +545,7 @@ const color = {
483
545
  attributes: {
484
546
  group: 'paint',
485
547
  state: 'active',
548
+ introduced: '0.7.0',
486
549
  description: 'Use for vibrant magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
487
550
  }
488
551
  },
@@ -490,6 +553,7 @@ const color = {
490
553
  attributes: {
491
554
  group: 'paint',
492
555
  state: 'active',
556
+ introduced: '0.7.0',
493
557
  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
558
  }
495
559
  }