@atlaskit/tokens 1.5.1 → 1.6.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 +16 -0
- package/dist/cjs/artifacts/generated-pairs.js +1 -289
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +12 -10
- package/dist/cjs/artifacts/token-names.js +12 -10
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +902 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +36 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +36 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/cjs/constants.js +1 -1
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/shape-palette.js +2 -1
- package/dist/cjs/set-global-theme.js +14 -3
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/cjs/tokens/atlassian-shape/shape.js +7 -1
- package/dist/cjs/tokens/default/color/accent.js +16 -16
- package/dist/cjs/tokens/default/shape/shape.js +33 -17
- package/dist/cjs/utils/theme-state-transformer.js +2 -1
- package/dist/cjs/utils/token-order.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/generated-pairs.js +1 -289
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/es2019/artifacts/themes/atlassian-dark-new-input-border.js +2 -14
- package/dist/es2019/artifacts/themes/atlassian-light-new-input-border.js +2 -14
- package/dist/es2019/artifacts/themes/atlassian-shape.js +12 -10
- package/dist/es2019/artifacts/token-default-values.js +12 -10
- package/dist/es2019/artifacts/token-names.js +12 -10
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/es2019/constants.js +1 -1
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/shape-palette.js +2 -1
- package/dist/es2019/set-global-theme.js +10 -2
- package/dist/es2019/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/es2019/tokens/atlassian-shape/shape.js +7 -1
- package/dist/es2019/tokens/default/color/accent.js +16 -16
- package/dist/es2019/tokens/default/shape/shape.js +33 -17
- package/dist/es2019/utils/theme-state-transformer.js +2 -1
- package/dist/es2019/utils/token-order.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/generated-pairs.js +1 -289
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +3 -3
- package/dist/esm/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-light-new-input-border.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +12 -10
- package/dist/esm/artifacts/token-names.js +12 -10
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +81 -37
- package/dist/esm/constants.js +1 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/shape-palette.js +2 -1
- package/dist/esm/set-global-theme.js +14 -3
- package/dist/esm/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/atlassian-light-new-input-border/color/border.js +1 -37
- package/dist/esm/tokens/atlassian-shape/shape.js +7 -1
- package/dist/esm/tokens/default/color/accent.js +16 -16
- package/dist/esm/tokens/default/shape/shape.js +33 -17
- package/dist/esm/utils/theme-state-transformer.js +2 -1
- package/dist/esm/utils/token-order.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +3 -18
- package/dist/types/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +12 -10
- package/dist/types/artifacts/token-names.d.ts +23 -19
- package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/palettes/shape-palette.d.ts +1 -1
- package/dist/types/set-global-theme.d.ts +8 -7
- package/dist/types/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/dist/types/types.d.ts +3 -1
- package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +3 -18
- package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +12 -10
- package/dist/types-ts4.5/artifacts/token-names.d.ts +23 -19
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/palettes/shape-palette.d.ts +1 -1
- package/dist/types-ts4.5/set-global-theme.d.ts +8 -7
- package/dist/types-ts4.5/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
- package/dist/types-ts4.5/types.d.ts +3 -1
- package/figma/atlassian-dark.json +16 -16
- package/figma/atlassian-legacy-dark.json +16 -16
- package/figma/atlassian-legacy-light.json +16 -16
- package/figma/atlassian-light.json +16 -16
- package/figma/atlassian-shape.json +36 -18
- package/package.json +4 -3
- package/report.api.md +125 -22
- package/tmp/api-report-tmp.d.ts +107 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 1.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`191bbd4a3c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/191bbd4a3c2) - Public changes to types for `setGlobalTheme` to match API - previously themes could be incorrectly applied ie the light theme could theoretically take the space theme as a valid value. No behavior changes. Internally the shape theme has been moved from experimental status. These tokens are now active however they remain disabled by default.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`98edc7e8b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98edc7e8b62) - Patch for tokens metadata and descriptions.
|
|
12
|
+
|
|
13
|
+
## 1.5.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`8be4cc2372f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8be4cc2372f) - update border color to Neutral500
|
|
18
|
+
|
|
3
19
|
## 1.5.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ exports.generatedPairs = exports.default = void 0;
|
|
|
10
10
|
* Auto-generated list of token pairings that may need to have sufficient contrast.
|
|
11
11
|
* Not currently used by tests, but is used by the custom theme contrast checker example
|
|
12
12
|
*
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::ec8e2d34c5152b1b66186e14b261c0f1>>
|
|
14
14
|
* @codegenCommand yarn build tokens
|
|
15
15
|
*/
|
|
16
16
|
var generatedPairs = [{
|
|
@@ -189,38 +189,6 @@ var generatedPairs = [{
|
|
|
189
189
|
foreground: 'color.text.accent.red.bolder',
|
|
190
190
|
background: 'color.background.accent.red.subtle',
|
|
191
191
|
desiredContrast: 4.5
|
|
192
|
-
}, {
|
|
193
|
-
foreground: 'color.text.accent.red.bolder',
|
|
194
|
-
background: 'color.background.accent.orange.subtle',
|
|
195
|
-
desiredContrast: 4.5
|
|
196
|
-
}, {
|
|
197
|
-
foreground: 'color.text.accent.red.bolder',
|
|
198
|
-
background: 'color.background.accent.yellow.subtle',
|
|
199
|
-
desiredContrast: 4.5
|
|
200
|
-
}, {
|
|
201
|
-
foreground: 'color.text.accent.red.bolder',
|
|
202
|
-
background: 'color.background.accent.green.subtle',
|
|
203
|
-
desiredContrast: 4.5
|
|
204
|
-
}, {
|
|
205
|
-
foreground: 'color.text.accent.red.bolder',
|
|
206
|
-
background: 'color.background.accent.teal.subtle',
|
|
207
|
-
desiredContrast: 4.5
|
|
208
|
-
}, {
|
|
209
|
-
foreground: 'color.text.accent.red.bolder',
|
|
210
|
-
background: 'color.background.accent.blue.subtle',
|
|
211
|
-
desiredContrast: 4.5
|
|
212
|
-
}, {
|
|
213
|
-
foreground: 'color.text.accent.red.bolder',
|
|
214
|
-
background: 'color.background.accent.purple.subtle',
|
|
215
|
-
desiredContrast: 4.5
|
|
216
|
-
}, {
|
|
217
|
-
foreground: 'color.text.accent.red.bolder',
|
|
218
|
-
background: 'color.background.accent.magenta.subtle',
|
|
219
|
-
desiredContrast: 4.5
|
|
220
|
-
}, {
|
|
221
|
-
foreground: 'color.text.accent.red.bolder',
|
|
222
|
-
background: 'color.background.accent.gray.subtle',
|
|
223
|
-
desiredContrast: 4.5
|
|
224
192
|
}, {
|
|
225
193
|
foreground: 'color.text.accent.orange',
|
|
226
194
|
background: 'color.background.accent.orange.subtlest',
|
|
@@ -229,10 +197,6 @@ var generatedPairs = [{
|
|
|
229
197
|
foreground: 'color.text.accent.orange',
|
|
230
198
|
background: 'color.background.accent.orange.subtler',
|
|
231
199
|
desiredContrast: 4.5
|
|
232
|
-
}, {
|
|
233
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
234
|
-
background: 'color.background.accent.red.subtle',
|
|
235
|
-
desiredContrast: 4.5
|
|
236
200
|
}, {
|
|
237
201
|
foreground: 'color.text.accent.orange.bolder',
|
|
238
202
|
background: 'color.background.accent.orange.subtlest',
|
|
@@ -245,34 +209,6 @@ var generatedPairs = [{
|
|
|
245
209
|
foreground: 'color.text.accent.orange.bolder',
|
|
246
210
|
background: 'color.background.accent.orange.subtle',
|
|
247
211
|
desiredContrast: 4.5
|
|
248
|
-
}, {
|
|
249
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
250
|
-
background: 'color.background.accent.yellow.subtle',
|
|
251
|
-
desiredContrast: 4.5
|
|
252
|
-
}, {
|
|
253
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
254
|
-
background: 'color.background.accent.green.subtle',
|
|
255
|
-
desiredContrast: 4.5
|
|
256
|
-
}, {
|
|
257
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
258
|
-
background: 'color.background.accent.teal.subtle',
|
|
259
|
-
desiredContrast: 4.5
|
|
260
|
-
}, {
|
|
261
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
262
|
-
background: 'color.background.accent.blue.subtle',
|
|
263
|
-
desiredContrast: 4.5
|
|
264
|
-
}, {
|
|
265
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
266
|
-
background: 'color.background.accent.purple.subtle',
|
|
267
|
-
desiredContrast: 4.5
|
|
268
|
-
}, {
|
|
269
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
270
|
-
background: 'color.background.accent.magenta.subtle',
|
|
271
|
-
desiredContrast: 4.5
|
|
272
|
-
}, {
|
|
273
|
-
foreground: 'color.text.accent.orange.bolder',
|
|
274
|
-
background: 'color.background.accent.gray.subtle',
|
|
275
|
-
desiredContrast: 4.5
|
|
276
212
|
}, {
|
|
277
213
|
foreground: 'color.text.accent.yellow',
|
|
278
214
|
background: 'color.background.accent.yellow.subtlest',
|
|
@@ -281,14 +217,6 @@ var generatedPairs = [{
|
|
|
281
217
|
foreground: 'color.text.accent.yellow',
|
|
282
218
|
background: 'color.background.accent.yellow.subtler',
|
|
283
219
|
desiredContrast: 4.5
|
|
284
|
-
}, {
|
|
285
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
286
|
-
background: 'color.background.accent.red.subtle',
|
|
287
|
-
desiredContrast: 4.5
|
|
288
|
-
}, {
|
|
289
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
290
|
-
background: 'color.background.accent.orange.subtle',
|
|
291
|
-
desiredContrast: 4.5
|
|
292
220
|
}, {
|
|
293
221
|
foreground: 'color.text.accent.yellow.bolder',
|
|
294
222
|
background: 'color.background.accent.yellow.subtlest',
|
|
@@ -301,30 +229,6 @@ var generatedPairs = [{
|
|
|
301
229
|
foreground: 'color.text.accent.yellow.bolder',
|
|
302
230
|
background: 'color.background.accent.yellow.subtle',
|
|
303
231
|
desiredContrast: 4.5
|
|
304
|
-
}, {
|
|
305
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
306
|
-
background: 'color.background.accent.green.subtle',
|
|
307
|
-
desiredContrast: 4.5
|
|
308
|
-
}, {
|
|
309
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
310
|
-
background: 'color.background.accent.teal.subtle',
|
|
311
|
-
desiredContrast: 4.5
|
|
312
|
-
}, {
|
|
313
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
314
|
-
background: 'color.background.accent.blue.subtle',
|
|
315
|
-
desiredContrast: 4.5
|
|
316
|
-
}, {
|
|
317
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
318
|
-
background: 'color.background.accent.purple.subtle',
|
|
319
|
-
desiredContrast: 4.5
|
|
320
|
-
}, {
|
|
321
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
322
|
-
background: 'color.background.accent.magenta.subtle',
|
|
323
|
-
desiredContrast: 4.5
|
|
324
|
-
}, {
|
|
325
|
-
foreground: 'color.text.accent.yellow.bolder',
|
|
326
|
-
background: 'color.background.accent.gray.subtle',
|
|
327
|
-
desiredContrast: 4.5
|
|
328
232
|
}, {
|
|
329
233
|
foreground: 'color.text.accent.green',
|
|
330
234
|
background: 'color.background.accent.green.subtlest',
|
|
@@ -333,18 +237,6 @@ var generatedPairs = [{
|
|
|
333
237
|
foreground: 'color.text.accent.green',
|
|
334
238
|
background: 'color.background.accent.green.subtler',
|
|
335
239
|
desiredContrast: 4.5
|
|
336
|
-
}, {
|
|
337
|
-
foreground: 'color.text.accent.green.bolder',
|
|
338
|
-
background: 'color.background.accent.red.subtle',
|
|
339
|
-
desiredContrast: 4.5
|
|
340
|
-
}, {
|
|
341
|
-
foreground: 'color.text.accent.green.bolder',
|
|
342
|
-
background: 'color.background.accent.orange.subtle',
|
|
343
|
-
desiredContrast: 4.5
|
|
344
|
-
}, {
|
|
345
|
-
foreground: 'color.text.accent.green.bolder',
|
|
346
|
-
background: 'color.background.accent.yellow.subtle',
|
|
347
|
-
desiredContrast: 4.5
|
|
348
240
|
}, {
|
|
349
241
|
foreground: 'color.text.accent.green.bolder',
|
|
350
242
|
background: 'color.background.accent.green.subtlest',
|
|
@@ -357,26 +249,6 @@ var generatedPairs = [{
|
|
|
357
249
|
foreground: 'color.text.accent.green.bolder',
|
|
358
250
|
background: 'color.background.accent.green.subtle',
|
|
359
251
|
desiredContrast: 4.5
|
|
360
|
-
}, {
|
|
361
|
-
foreground: 'color.text.accent.green.bolder',
|
|
362
|
-
background: 'color.background.accent.teal.subtle',
|
|
363
|
-
desiredContrast: 4.5
|
|
364
|
-
}, {
|
|
365
|
-
foreground: 'color.text.accent.green.bolder',
|
|
366
|
-
background: 'color.background.accent.blue.subtle',
|
|
367
|
-
desiredContrast: 4.5
|
|
368
|
-
}, {
|
|
369
|
-
foreground: 'color.text.accent.green.bolder',
|
|
370
|
-
background: 'color.background.accent.purple.subtle',
|
|
371
|
-
desiredContrast: 4.5
|
|
372
|
-
}, {
|
|
373
|
-
foreground: 'color.text.accent.green.bolder',
|
|
374
|
-
background: 'color.background.accent.magenta.subtle',
|
|
375
|
-
desiredContrast: 4.5
|
|
376
|
-
}, {
|
|
377
|
-
foreground: 'color.text.accent.green.bolder',
|
|
378
|
-
background: 'color.background.accent.gray.subtle',
|
|
379
|
-
desiredContrast: 4.5
|
|
380
252
|
}, {
|
|
381
253
|
foreground: 'color.text.accent.teal',
|
|
382
254
|
background: 'color.background.accent.teal.subtlest',
|
|
@@ -385,22 +257,6 @@ var generatedPairs = [{
|
|
|
385
257
|
foreground: 'color.text.accent.teal',
|
|
386
258
|
background: 'color.background.accent.teal.subtler',
|
|
387
259
|
desiredContrast: 4.5
|
|
388
|
-
}, {
|
|
389
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
390
|
-
background: 'color.background.accent.red.subtle',
|
|
391
|
-
desiredContrast: 4.5
|
|
392
|
-
}, {
|
|
393
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
394
|
-
background: 'color.background.accent.orange.subtle',
|
|
395
|
-
desiredContrast: 4.5
|
|
396
|
-
}, {
|
|
397
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
398
|
-
background: 'color.background.accent.yellow.subtle',
|
|
399
|
-
desiredContrast: 4.5
|
|
400
|
-
}, {
|
|
401
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
402
|
-
background: 'color.background.accent.green.subtle',
|
|
403
|
-
desiredContrast: 4.5
|
|
404
260
|
}, {
|
|
405
261
|
foreground: 'color.text.accent.teal.bolder',
|
|
406
262
|
background: 'color.background.accent.teal.subtlest',
|
|
@@ -413,22 +269,6 @@ var generatedPairs = [{
|
|
|
413
269
|
foreground: 'color.text.accent.teal.bolder',
|
|
414
270
|
background: 'color.background.accent.teal.subtle',
|
|
415
271
|
desiredContrast: 4.5
|
|
416
|
-
}, {
|
|
417
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
418
|
-
background: 'color.background.accent.blue.subtle',
|
|
419
|
-
desiredContrast: 4.5
|
|
420
|
-
}, {
|
|
421
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
422
|
-
background: 'color.background.accent.purple.subtle',
|
|
423
|
-
desiredContrast: 4.5
|
|
424
|
-
}, {
|
|
425
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
426
|
-
background: 'color.background.accent.magenta.subtle',
|
|
427
|
-
desiredContrast: 4.5
|
|
428
|
-
}, {
|
|
429
|
-
foreground: 'color.text.accent.teal.bolder',
|
|
430
|
-
background: 'color.background.accent.gray.subtle',
|
|
431
|
-
desiredContrast: 4.5
|
|
432
272
|
}, {
|
|
433
273
|
foreground: 'color.text.accent.blue',
|
|
434
274
|
background: 'color.background.accent.blue.subtlest',
|
|
@@ -437,26 +277,6 @@ var generatedPairs = [{
|
|
|
437
277
|
foreground: 'color.text.accent.blue',
|
|
438
278
|
background: 'color.background.accent.blue.subtler',
|
|
439
279
|
desiredContrast: 4.5
|
|
440
|
-
}, {
|
|
441
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
442
|
-
background: 'color.background.accent.red.subtle',
|
|
443
|
-
desiredContrast: 4.5
|
|
444
|
-
}, {
|
|
445
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
446
|
-
background: 'color.background.accent.orange.subtle',
|
|
447
|
-
desiredContrast: 4.5
|
|
448
|
-
}, {
|
|
449
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
450
|
-
background: 'color.background.accent.yellow.subtle',
|
|
451
|
-
desiredContrast: 4.5
|
|
452
|
-
}, {
|
|
453
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
454
|
-
background: 'color.background.accent.green.subtle',
|
|
455
|
-
desiredContrast: 4.5
|
|
456
|
-
}, {
|
|
457
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
458
|
-
background: 'color.background.accent.teal.subtle',
|
|
459
|
-
desiredContrast: 4.5
|
|
460
280
|
}, {
|
|
461
281
|
foreground: 'color.text.accent.blue.bolder',
|
|
462
282
|
background: 'color.background.accent.blue.subtlest',
|
|
@@ -469,18 +289,6 @@ var generatedPairs = [{
|
|
|
469
289
|
foreground: 'color.text.accent.blue.bolder',
|
|
470
290
|
background: 'color.background.accent.blue.subtle',
|
|
471
291
|
desiredContrast: 4.5
|
|
472
|
-
}, {
|
|
473
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
474
|
-
background: 'color.background.accent.purple.subtle',
|
|
475
|
-
desiredContrast: 4.5
|
|
476
|
-
}, {
|
|
477
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
478
|
-
background: 'color.background.accent.magenta.subtle',
|
|
479
|
-
desiredContrast: 4.5
|
|
480
|
-
}, {
|
|
481
|
-
foreground: 'color.text.accent.blue.bolder',
|
|
482
|
-
background: 'color.background.accent.gray.subtle',
|
|
483
|
-
desiredContrast: 4.5
|
|
484
292
|
}, {
|
|
485
293
|
foreground: 'color.text.accent.purple',
|
|
486
294
|
background: 'color.background.accent.purple.subtlest',
|
|
@@ -489,30 +297,6 @@ var generatedPairs = [{
|
|
|
489
297
|
foreground: 'color.text.accent.purple',
|
|
490
298
|
background: 'color.background.accent.purple.subtler',
|
|
491
299
|
desiredContrast: 4.5
|
|
492
|
-
}, {
|
|
493
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
494
|
-
background: 'color.background.accent.red.subtle',
|
|
495
|
-
desiredContrast: 4.5
|
|
496
|
-
}, {
|
|
497
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
498
|
-
background: 'color.background.accent.orange.subtle',
|
|
499
|
-
desiredContrast: 4.5
|
|
500
|
-
}, {
|
|
501
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
502
|
-
background: 'color.background.accent.yellow.subtle',
|
|
503
|
-
desiredContrast: 4.5
|
|
504
|
-
}, {
|
|
505
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
506
|
-
background: 'color.background.accent.green.subtle',
|
|
507
|
-
desiredContrast: 4.5
|
|
508
|
-
}, {
|
|
509
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
510
|
-
background: 'color.background.accent.teal.subtle',
|
|
511
|
-
desiredContrast: 4.5
|
|
512
|
-
}, {
|
|
513
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
514
|
-
background: 'color.background.accent.blue.subtle',
|
|
515
|
-
desiredContrast: 4.5
|
|
516
300
|
}, {
|
|
517
301
|
foreground: 'color.text.accent.purple.bolder',
|
|
518
302
|
background: 'color.background.accent.purple.subtlest',
|
|
@@ -525,14 +309,6 @@ var generatedPairs = [{
|
|
|
525
309
|
foreground: 'color.text.accent.purple.bolder',
|
|
526
310
|
background: 'color.background.accent.purple.subtle',
|
|
527
311
|
desiredContrast: 4.5
|
|
528
|
-
}, {
|
|
529
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
530
|
-
background: 'color.background.accent.magenta.subtle',
|
|
531
|
-
desiredContrast: 4.5
|
|
532
|
-
}, {
|
|
533
|
-
foreground: 'color.text.accent.purple.bolder',
|
|
534
|
-
background: 'color.background.accent.gray.subtle',
|
|
535
|
-
desiredContrast: 4.5
|
|
536
312
|
}, {
|
|
537
313
|
foreground: 'color.text.accent.magenta',
|
|
538
314
|
background: 'color.background.accent.magenta.subtlest',
|
|
@@ -541,34 +317,6 @@ var generatedPairs = [{
|
|
|
541
317
|
foreground: 'color.text.accent.magenta',
|
|
542
318
|
background: 'color.background.accent.magenta.subtler',
|
|
543
319
|
desiredContrast: 4.5
|
|
544
|
-
}, {
|
|
545
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
546
|
-
background: 'color.background.accent.red.subtle',
|
|
547
|
-
desiredContrast: 4.5
|
|
548
|
-
}, {
|
|
549
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
550
|
-
background: 'color.background.accent.orange.subtle',
|
|
551
|
-
desiredContrast: 4.5
|
|
552
|
-
}, {
|
|
553
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
554
|
-
background: 'color.background.accent.yellow.subtle',
|
|
555
|
-
desiredContrast: 4.5
|
|
556
|
-
}, {
|
|
557
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
558
|
-
background: 'color.background.accent.green.subtle',
|
|
559
|
-
desiredContrast: 4.5
|
|
560
|
-
}, {
|
|
561
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
562
|
-
background: 'color.background.accent.teal.subtle',
|
|
563
|
-
desiredContrast: 4.5
|
|
564
|
-
}, {
|
|
565
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
566
|
-
background: 'color.background.accent.blue.subtle',
|
|
567
|
-
desiredContrast: 4.5
|
|
568
|
-
}, {
|
|
569
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
570
|
-
background: 'color.background.accent.purple.subtle',
|
|
571
|
-
desiredContrast: 4.5
|
|
572
320
|
}, {
|
|
573
321
|
foreground: 'color.text.accent.magenta.bolder',
|
|
574
322
|
background: 'color.background.accent.magenta.subtlest',
|
|
@@ -581,10 +329,6 @@ var generatedPairs = [{
|
|
|
581
329
|
foreground: 'color.text.accent.magenta.bolder',
|
|
582
330
|
background: 'color.background.accent.magenta.subtle',
|
|
583
331
|
desiredContrast: 4.5
|
|
584
|
-
}, {
|
|
585
|
-
foreground: 'color.text.accent.magenta.bolder',
|
|
586
|
-
background: 'color.background.accent.gray.subtle',
|
|
587
|
-
desiredContrast: 4.5
|
|
588
332
|
}, {
|
|
589
333
|
foreground: 'color.text.accent.gray',
|
|
590
334
|
background: 'color.background.accent.gray.subtlest',
|
|
@@ -593,38 +337,6 @@ var generatedPairs = [{
|
|
|
593
337
|
foreground: 'color.text.accent.gray',
|
|
594
338
|
background: 'color.background.accent.gray.subtler',
|
|
595
339
|
desiredContrast: 4.5
|
|
596
|
-
}, {
|
|
597
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
598
|
-
background: 'color.background.accent.red.subtle',
|
|
599
|
-
desiredContrast: 4.5
|
|
600
|
-
}, {
|
|
601
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
602
|
-
background: 'color.background.accent.orange.subtle',
|
|
603
|
-
desiredContrast: 4.5
|
|
604
|
-
}, {
|
|
605
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
606
|
-
background: 'color.background.accent.yellow.subtle',
|
|
607
|
-
desiredContrast: 4.5
|
|
608
|
-
}, {
|
|
609
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
610
|
-
background: 'color.background.accent.green.subtle',
|
|
611
|
-
desiredContrast: 4.5
|
|
612
|
-
}, {
|
|
613
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
614
|
-
background: 'color.background.accent.teal.subtle',
|
|
615
|
-
desiredContrast: 4.5
|
|
616
|
-
}, {
|
|
617
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
618
|
-
background: 'color.background.accent.blue.subtle',
|
|
619
|
-
desiredContrast: 4.5
|
|
620
|
-
}, {
|
|
621
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
622
|
-
background: 'color.background.accent.purple.subtle',
|
|
623
|
-
desiredContrast: 4.5
|
|
624
|
-
}, {
|
|
625
|
-
foreground: 'color.text.accent.gray.bolder',
|
|
626
|
-
background: 'color.background.accent.magenta.subtle',
|
|
627
|
-
desiredContrast: 4.5
|
|
628
340
|
}, {
|
|
629
341
|
foreground: 'color.text.accent.gray.bolder',
|
|
630
342
|
background: 'color.background.accent.gray.subtlest',
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::ba57ec0a6991ab386479b6c9006397ba>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = [{
|
|
@@ -85,14 +85,14 @@ var tokens = [{
|
|
|
85
85
|
"name": "border.radius.Radius400",
|
|
86
86
|
"path": ["border", "radius", "Radius400"]
|
|
87
87
|
}, {
|
|
88
|
-
"value": "
|
|
88
|
+
"value": "32032px",
|
|
89
89
|
"attributes": {
|
|
90
90
|
"group": "shape"
|
|
91
91
|
},
|
|
92
92
|
"filePath": "src/palettes/shape-palette.tsx",
|
|
93
93
|
"isSource": true,
|
|
94
94
|
"original": {
|
|
95
|
-
"value":
|
|
95
|
+
"value": 32032,
|
|
96
96
|
"attributes": {
|
|
97
97
|
"group": "shape"
|
|
98
98
|
}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::b255ff03ae4f781bb3016003a111bed0>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:dark\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:dark\"] {\n color-scheme: dark;\n --ds-border
|
|
12
|
+
var _default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:dark\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:dark\"] {\n color-scheme: dark;\n --ds-border-input: #596773;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::b14cc1106ad737bfef0b77e4b645c1df>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-border
|
|
12
|
+
var _default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-border-input: #8590A2;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::861a4448ac467155c8290f2b211e99c5>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
|
-
var _default = "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-radius-050: 0.125rem;\n --ds-radius-100: 0.25rem;\n --ds-radius-200: 0.5rem;\n --ds-radius-300: 0.75rem;\n --ds-radius-400: 1rem;\n --ds-radius-
|
|
12
|
+
var _default = "\nhtml[data-theme~=\"shape:shape\"] {\n --ds-border-radius-050: 0.125rem;\n --ds-border-radius: 0.25rem;\n --ds-border-radius-100: 0.25rem;\n --ds-border-radius-200: 0.5rem;\n --ds-border-radius-300: 0.75rem;\n --ds-border-radius-400: 1rem;\n --ds-border-radius-circle: 2002rem;\n --ds-border-width: 0.0625rem;\n --ds-border-width-0: 0rem;\n --ds-border-width-050: 0.0625rem;\n --ds-border-width-100: 0.125rem;\n}\n";
|
|
13
13
|
exports.default = _default;
|
|
@@ -10,19 +10,10 @@ exports.default = void 0;
|
|
|
10
10
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
11
11
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
12
12
|
*
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::cc9231cd2b7a9797c51b4b8b742bab92>>
|
|
14
14
|
* @codegenCommand yarn build tokens
|
|
15
15
|
*/
|
|
16
16
|
var defaultTokenValues = {
|
|
17
|
-
'border.radius.050': '0.125rem',
|
|
18
|
-
'border.radius.100': '0.25rem',
|
|
19
|
-
'border.radius.200': '0.5rem',
|
|
20
|
-
'border.radius.300': '0.75rem',
|
|
21
|
-
'border.radius.400': '1rem',
|
|
22
|
-
'border.radius.round': '50%',
|
|
23
|
-
'border.width.0': '0rem',
|
|
24
|
-
'border.width.050': '0.0625rem',
|
|
25
|
-
'border.width.100': '0.125rem',
|
|
26
17
|
'color.text': '#172B4D',
|
|
27
18
|
'color.text.accent.red': '#AE2A19',
|
|
28
19
|
'color.text.accent.red.bolder': '#601E16',
|
|
@@ -309,6 +300,17 @@ var defaultTokenValues = {
|
|
|
309
300
|
'opacity.disabled': '0.4',
|
|
310
301
|
'opacity.loading': '0.2',
|
|
311
302
|
'utility.UNSAFE.transparent': 'transparent',
|
|
303
|
+
'border.radius.050': '0.125rem',
|
|
304
|
+
'border.radius': '0.25rem',
|
|
305
|
+
'border.radius.100': '0.25rem',
|
|
306
|
+
'border.radius.200': '0.5rem',
|
|
307
|
+
'border.radius.300': '0.75rem',
|
|
308
|
+
'border.radius.400': '1rem',
|
|
309
|
+
'border.radius.circle': '2002rem',
|
|
310
|
+
'border.width': '0.0625rem',
|
|
311
|
+
'border.width.0': '0rem',
|
|
312
|
+
'border.width.050': '0.0625rem',
|
|
313
|
+
'border.width.100': '0.125rem',
|
|
312
314
|
'space.0': '0rem',
|
|
313
315
|
'space.025': '0.125rem',
|
|
314
316
|
'space.050': '0.25rem',
|
|
@@ -6,19 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
9
|
-
* @codegen <<SignedSource::
|
|
9
|
+
* @codegen <<SignedSource::488b6f348c638f30edc95365a3de0725>>
|
|
10
10
|
* @codegenCommand yarn build tokens
|
|
11
11
|
*/
|
|
12
12
|
var tokens = {
|
|
13
|
-
'border.radius.050': '--ds-radius-050',
|
|
14
|
-
'border.radius.100': '--ds-radius-100',
|
|
15
|
-
'border.radius.200': '--ds-radius-200',
|
|
16
|
-
'border.radius.300': '--ds-radius-300',
|
|
17
|
-
'border.radius.400': '--ds-radius-400',
|
|
18
|
-
'border.radius.round': '--ds-radius-round',
|
|
19
|
-
'border.width.0': '--ds-width-0',
|
|
20
|
-
'border.width.050': '--ds-width-050',
|
|
21
|
-
'border.width.100': '--ds-width-100',
|
|
22
13
|
'color.text': '--ds-text',
|
|
23
14
|
'color.text.accent.red': '--ds-text-accent-red',
|
|
24
15
|
'color.text.accent.red.bolder': '--ds-text-accent-red-bolder',
|
|
@@ -305,6 +296,17 @@ var tokens = {
|
|
|
305
296
|
'opacity.disabled': '--ds-opacity-disabled',
|
|
306
297
|
'opacity.loading': '--ds-opacity-loading',
|
|
307
298
|
'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent',
|
|
299
|
+
'border.radius.050': '--ds-border-radius-050',
|
|
300
|
+
'border.radius': '--ds-border-radius',
|
|
301
|
+
'border.radius.100': '--ds-border-radius-100',
|
|
302
|
+
'border.radius.200': '--ds-border-radius-200',
|
|
303
|
+
'border.radius.300': '--ds-border-radius-300',
|
|
304
|
+
'border.radius.400': '--ds-border-radius-400',
|
|
305
|
+
'border.radius.circle': '--ds-border-radius-circle',
|
|
306
|
+
'border.width': '--ds-border-width',
|
|
307
|
+
'border.width.0': '--ds-border-width-0',
|
|
308
|
+
'border.width.050': '--ds-border-width-050',
|
|
309
|
+
'border.width.100': '--ds-border-width-100',
|
|
308
310
|
'space.0': '--ds-space-0',
|
|
309
311
|
'space.025': '--ds-space-025',
|
|
310
312
|
'space.050': '--ds-space-050',
|