@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.
Files changed (139) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/artifacts/generated-pairs.js +1 -289
  3. package/dist/cjs/artifacts/palettes-raw/shape-palette.js +3 -3
  4. package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
  5. package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +2 -2
  6. package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
  7. package/dist/cjs/artifacts/token-default-values.js +12 -10
  8. package/dist/cjs/artifacts/token-names.js +12 -10
  9. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-iteration.js +902 -0
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +36 -0
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +33 -33
  12. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  13. package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  14. package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +36 -0
  15. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -33
  16. package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +81 -37
  17. package/dist/cjs/constants.js +1 -1
  18. package/dist/cjs/get-token-value.js +1 -1
  19. package/dist/cjs/get-token.js +1 -1
  20. package/dist/cjs/palettes/shape-palette.js +2 -1
  21. package/dist/cjs/set-global-theme.js +14 -3
  22. package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  23. package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  24. package/dist/cjs/tokens/atlassian-shape/shape.js +7 -1
  25. package/dist/cjs/tokens/default/color/accent.js +16 -16
  26. package/dist/cjs/tokens/default/shape/shape.js +33 -17
  27. package/dist/cjs/utils/theme-state-transformer.js +2 -1
  28. package/dist/cjs/utils/token-order.js +1 -1
  29. package/dist/cjs/version.json +1 -1
  30. package/dist/es2019/artifacts/generated-pairs.js +1 -289
  31. package/dist/es2019/artifacts/palettes-raw/shape-palette.js +3 -3
  32. package/dist/es2019/artifacts/themes/atlassian-dark-new-input-border.js +2 -14
  33. package/dist/es2019/artifacts/themes/atlassian-light-new-input-border.js +2 -14
  34. package/dist/es2019/artifacts/themes/atlassian-shape.js +12 -10
  35. package/dist/es2019/artifacts/token-default-values.js +12 -10
  36. package/dist/es2019/artifacts/token-names.js +12 -10
  37. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -33
  40. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  41. package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -33
  44. package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +81 -37
  45. package/dist/es2019/constants.js +1 -1
  46. package/dist/es2019/get-token-value.js +1 -1
  47. package/dist/es2019/get-token.js +1 -1
  48. package/dist/es2019/palettes/shape-palette.js +2 -1
  49. package/dist/es2019/set-global-theme.js +10 -2
  50. package/dist/es2019/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  51. package/dist/es2019/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  52. package/dist/es2019/tokens/atlassian-shape/shape.js +7 -1
  53. package/dist/es2019/tokens/default/color/accent.js +16 -16
  54. package/dist/es2019/tokens/default/shape/shape.js +33 -17
  55. package/dist/es2019/utils/theme-state-transformer.js +2 -1
  56. package/dist/es2019/utils/token-order.js +1 -1
  57. package/dist/es2019/version.json +1 -1
  58. package/dist/esm/artifacts/generated-pairs.js +1 -289
  59. package/dist/esm/artifacts/palettes-raw/shape-palette.js +3 -3
  60. package/dist/esm/artifacts/themes/atlassian-dark-new-input-border.js +2 -2
  61. package/dist/esm/artifacts/themes/atlassian-light-new-input-border.js +2 -2
  62. package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
  63. package/dist/esm/artifacts/token-default-values.js +12 -10
  64. package/dist/esm/artifacts/token-names.js +12 -10
  65. package/dist/esm/artifacts/tokens-raw/atlassian-dark-iteration.js +895 -0
  66. package/dist/esm/artifacts/tokens-raw/atlassian-dark-new-input-border.js +29 -0
  67. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -33
  68. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +33 -33
  69. package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +33 -33
  70. package/dist/esm/artifacts/tokens-raw/atlassian-light-new-input-border.js +29 -0
  71. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -33
  72. package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +81 -37
  73. package/dist/esm/constants.js +1 -1
  74. package/dist/esm/get-token-value.js +1 -1
  75. package/dist/esm/get-token.js +1 -1
  76. package/dist/esm/palettes/shape-palette.js +2 -1
  77. package/dist/esm/set-global-theme.js +14 -3
  78. package/dist/esm/tokens/atlassian-dark-new-input-border/color/border.js +1 -37
  79. package/dist/esm/tokens/atlassian-light-new-input-border/color/border.js +1 -37
  80. package/dist/esm/tokens/atlassian-shape/shape.js +7 -1
  81. package/dist/esm/tokens/default/color/accent.js +16 -16
  82. package/dist/esm/tokens/default/shape/shape.js +33 -17
  83. package/dist/esm/utils/theme-state-transformer.js +2 -1
  84. package/dist/esm/utils/token-order.js +1 -1
  85. package/dist/esm/version.json +1 -1
  86. package/dist/types/artifacts/generated-pairs.d.ts +1 -1
  87. package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  88. package/dist/types/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
  89. package/dist/types/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
  90. package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
  91. package/dist/types/artifacts/token-default-values.d.ts +12 -10
  92. package/dist/types/artifacts/token-names.d.ts +23 -19
  93. package/dist/types/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
  94. package/dist/types/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
  95. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  96. package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  97. package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  98. package/dist/types/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
  99. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  100. package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  101. package/dist/types/artifacts/types-internal.d.ts +2 -2
  102. package/dist/types/artifacts/types.d.ts +2 -2
  103. package/dist/types/index.d.ts +1 -1
  104. package/dist/types/palettes/shape-palette.d.ts +1 -1
  105. package/dist/types/set-global-theme.d.ts +8 -7
  106. package/dist/types/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
  107. package/dist/types/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
  108. package/dist/types/types.d.ts +3 -1
  109. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +1 -1
  110. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +3 -18
  111. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +2 -2
  112. package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +2 -2
  113. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
  114. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +12 -10
  115. package/dist/types-ts4.5/artifacts/token-names.d.ts +23 -19
  116. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-iteration.d.ts +91 -0
  117. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-new-input-border.d.ts +29 -0
  118. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
  119. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
  120. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
  121. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-new-input-border.d.ts +29 -0
  122. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
  123. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
  124. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  125. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  126. package/dist/types-ts4.5/index.d.ts +1 -1
  127. package/dist/types-ts4.5/palettes/shape-palette.d.ts +1 -1
  128. package/dist/types-ts4.5/set-global-theme.d.ts +8 -7
  129. package/dist/types-ts4.5/tokens/atlassian-dark-new-input-border/color/border.d.ts +9 -3
  130. package/dist/types-ts4.5/tokens/atlassian-light-new-input-border/color/border.d.ts +9 -3
  131. package/dist/types-ts4.5/types.d.ts +3 -1
  132. package/figma/atlassian-dark.json +16 -16
  133. package/figma/atlassian-legacy-dark.json +16 -16
  134. package/figma/atlassian-legacy-light.json +16 -16
  135. package/figma/atlassian-light.json +16 -16
  136. package/figma/atlassian-shape.json +36 -18
  137. package/package.json +4 -3
  138. package/report.api.md +125 -22
  139. package/tmp/api-report-tmp.d.ts +107 -27
@@ -7,6 +7,14 @@ exports.default = void 0;
7
7
  var shape = {
8
8
  border: {
9
9
  width: {
10
+ '[default]': {
11
+ attributes: {
12
+ group: 'shape',
13
+ state: 'active',
14
+ introduced: '1.5.2',
15
+ description: 'The default border width.'
16
+ }
17
+ },
10
18
  '0': {
11
19
  attributes: {
12
20
  group: 'shape',
@@ -18,67 +26,75 @@ var shape = {
18
26
  '050': {
19
27
  attributes: {
20
28
  group: 'shape',
21
- state: 'experimental',
29
+ state: 'active',
22
30
  introduced: '1.1.0',
23
- description: 'Experimental, description needs to be amended'
31
+ description: 'Used for all borders and dividers.'
24
32
  }
25
33
  },
26
34
  '100': {
27
35
  attributes: {
28
36
  group: 'shape',
29
- state: 'experimental',
37
+ state: 'active',
30
38
  introduced: '1.1.0',
31
- description: 'Experimental, description needs to be amended'
39
+ description: 'Used for bolder dividers and interaction states.'
32
40
  }
33
41
  }
34
42
  },
35
43
  radius: {
44
+ '[default]': {
45
+ attributes: {
46
+ group: 'shape',
47
+ state: 'active',
48
+ introduced: '1.5.2',
49
+ description: 'The default border radius.'
50
+ }
51
+ },
36
52
  '050': {
37
53
  attributes: {
38
54
  group: 'shape',
39
- state: 'experimental',
55
+ state: 'active',
40
56
  introduced: '1.1.0',
41
- description: 'Experimental, description needs to be amended'
57
+ description: 'Used for selection indicators, like tabs.'
42
58
  }
43
59
  },
44
60
  '100': {
45
61
  attributes: {
46
62
  group: 'shape',
47
- state: 'experimental',
63
+ state: 'active',
48
64
  introduced: '1.1.0',
49
- description: 'Experimental, description needs to be amended'
65
+ description: 'Used for buttons and inputs.'
50
66
  }
51
67
  },
52
68
  '200': {
53
69
  attributes: {
54
70
  group: 'shape',
55
- state: 'experimental',
71
+ state: 'active',
56
72
  introduced: '1.1.0',
57
- description: 'Experimental, description needs to be amended'
73
+ description: 'Used for smaller cards.'
58
74
  }
59
75
  },
60
76
  '300': {
61
77
  attributes: {
62
78
  group: 'shape',
63
- state: 'experimental',
79
+ state: 'active',
64
80
  introduced: '1.1.0',
65
- description: 'Experimental, description needs to be amended'
81
+ description: 'Used for cards and larger containers.'
66
82
  }
67
83
  },
68
84
  '400': {
69
85
  attributes: {
70
86
  group: 'shape',
71
- state: 'experimental',
87
+ state: 'active',
72
88
  introduced: '1.1.0',
73
- description: 'Experimental, description needs to be amended'
89
+ description: 'Used for modals.'
74
90
  }
75
91
  },
76
- round: {
92
+ circle: {
77
93
  attributes: {
78
94
  group: 'shape',
79
- state: 'experimental',
95
+ state: 'active',
80
96
  introduced: '1.1.0',
81
- description: 'Experimental, description needs to be amended'
97
+ description: 'Used for circular containers, like a rounded button.'
82
98
  }
83
99
  }
84
100
  }
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.themeStringToObject = exports.themeObjectToString = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _themeConfig = require("../theme-config");
10
- var themeKinds = ['light', 'dark', 'spacing', 'typography'];
10
+ var themeKinds = ['light', 'dark', 'spacing', 'typography', 'shape'];
11
11
  var isThemeKind = function isThemeKind(themeKind) {
12
12
  return themeKinds.find(function (kind) {
13
13
  return kind === themeKind;
@@ -44,6 +44,7 @@ var themeStringToObject = function themeStringToObject(themeState) {
44
44
  themeObject[kind] = id;
45
45
  }
46
46
  if (isThemeKind(kind) && isThemeIds(id)) {
47
+ // @ts-expect-error FIXME - this is a valid ts error
47
48
  themeObject[kind] = id;
48
49
  }
49
50
  return themeObject;
@@ -27,7 +27,7 @@ var tokenOrder = [{
27
27
  path: 'utility',
28
28
  subpaths: []
29
29
  }, {
30
- path: 'shape',
30
+ path: 'border',
31
31
  subpaths: ['radius', 'width']
32
32
  }, {
33
33
  path: 'space',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -4,7 +4,7 @@
4
4
  * Auto-generated list of token pairings that may need to have sufficient contrast.
5
5
  * Not currently used by tests, but is used by the custom theme contrast checker example
6
6
  *
7
- * @codegen <<SignedSource::349f00c184fe40bca26982001eabb94c>>
7
+ * @codegen <<SignedSource::ec8e2d34c5152b1b66186e14b261c0f1>>
8
8
  * @codegenCommand yarn build tokens
9
9
  */
10
10
  export const generatedPairs = [{
@@ -183,38 +183,6 @@ export const generatedPairs = [{
183
183
  foreground: 'color.text.accent.red.bolder',
184
184
  background: 'color.background.accent.red.subtle',
185
185
  desiredContrast: 4.5
186
- }, {
187
- foreground: 'color.text.accent.red.bolder',
188
- background: 'color.background.accent.orange.subtle',
189
- desiredContrast: 4.5
190
- }, {
191
- foreground: 'color.text.accent.red.bolder',
192
- background: 'color.background.accent.yellow.subtle',
193
- desiredContrast: 4.5
194
- }, {
195
- foreground: 'color.text.accent.red.bolder',
196
- background: 'color.background.accent.green.subtle',
197
- desiredContrast: 4.5
198
- }, {
199
- foreground: 'color.text.accent.red.bolder',
200
- background: 'color.background.accent.teal.subtle',
201
- desiredContrast: 4.5
202
- }, {
203
- foreground: 'color.text.accent.red.bolder',
204
- background: 'color.background.accent.blue.subtle',
205
- desiredContrast: 4.5
206
- }, {
207
- foreground: 'color.text.accent.red.bolder',
208
- background: 'color.background.accent.purple.subtle',
209
- desiredContrast: 4.5
210
- }, {
211
- foreground: 'color.text.accent.red.bolder',
212
- background: 'color.background.accent.magenta.subtle',
213
- desiredContrast: 4.5
214
- }, {
215
- foreground: 'color.text.accent.red.bolder',
216
- background: 'color.background.accent.gray.subtle',
217
- desiredContrast: 4.5
218
186
  }, {
219
187
  foreground: 'color.text.accent.orange',
220
188
  background: 'color.background.accent.orange.subtlest',
@@ -223,10 +191,6 @@ export const generatedPairs = [{
223
191
  foreground: 'color.text.accent.orange',
224
192
  background: 'color.background.accent.orange.subtler',
225
193
  desiredContrast: 4.5
226
- }, {
227
- foreground: 'color.text.accent.orange.bolder',
228
- background: 'color.background.accent.red.subtle',
229
- desiredContrast: 4.5
230
194
  }, {
231
195
  foreground: 'color.text.accent.orange.bolder',
232
196
  background: 'color.background.accent.orange.subtlest',
@@ -239,34 +203,6 @@ export const generatedPairs = [{
239
203
  foreground: 'color.text.accent.orange.bolder',
240
204
  background: 'color.background.accent.orange.subtle',
241
205
  desiredContrast: 4.5
242
- }, {
243
- foreground: 'color.text.accent.orange.bolder',
244
- background: 'color.background.accent.yellow.subtle',
245
- desiredContrast: 4.5
246
- }, {
247
- foreground: 'color.text.accent.orange.bolder',
248
- background: 'color.background.accent.green.subtle',
249
- desiredContrast: 4.5
250
- }, {
251
- foreground: 'color.text.accent.orange.bolder',
252
- background: 'color.background.accent.teal.subtle',
253
- desiredContrast: 4.5
254
- }, {
255
- foreground: 'color.text.accent.orange.bolder',
256
- background: 'color.background.accent.blue.subtle',
257
- desiredContrast: 4.5
258
- }, {
259
- foreground: 'color.text.accent.orange.bolder',
260
- background: 'color.background.accent.purple.subtle',
261
- desiredContrast: 4.5
262
- }, {
263
- foreground: 'color.text.accent.orange.bolder',
264
- background: 'color.background.accent.magenta.subtle',
265
- desiredContrast: 4.5
266
- }, {
267
- foreground: 'color.text.accent.orange.bolder',
268
- background: 'color.background.accent.gray.subtle',
269
- desiredContrast: 4.5
270
206
  }, {
271
207
  foreground: 'color.text.accent.yellow',
272
208
  background: 'color.background.accent.yellow.subtlest',
@@ -275,14 +211,6 @@ export const generatedPairs = [{
275
211
  foreground: 'color.text.accent.yellow',
276
212
  background: 'color.background.accent.yellow.subtler',
277
213
  desiredContrast: 4.5
278
- }, {
279
- foreground: 'color.text.accent.yellow.bolder',
280
- background: 'color.background.accent.red.subtle',
281
- desiredContrast: 4.5
282
- }, {
283
- foreground: 'color.text.accent.yellow.bolder',
284
- background: 'color.background.accent.orange.subtle',
285
- desiredContrast: 4.5
286
214
  }, {
287
215
  foreground: 'color.text.accent.yellow.bolder',
288
216
  background: 'color.background.accent.yellow.subtlest',
@@ -295,30 +223,6 @@ export const generatedPairs = [{
295
223
  foreground: 'color.text.accent.yellow.bolder',
296
224
  background: 'color.background.accent.yellow.subtle',
297
225
  desiredContrast: 4.5
298
- }, {
299
- foreground: 'color.text.accent.yellow.bolder',
300
- background: 'color.background.accent.green.subtle',
301
- desiredContrast: 4.5
302
- }, {
303
- foreground: 'color.text.accent.yellow.bolder',
304
- background: 'color.background.accent.teal.subtle',
305
- desiredContrast: 4.5
306
- }, {
307
- foreground: 'color.text.accent.yellow.bolder',
308
- background: 'color.background.accent.blue.subtle',
309
- desiredContrast: 4.5
310
- }, {
311
- foreground: 'color.text.accent.yellow.bolder',
312
- background: 'color.background.accent.purple.subtle',
313
- desiredContrast: 4.5
314
- }, {
315
- foreground: 'color.text.accent.yellow.bolder',
316
- background: 'color.background.accent.magenta.subtle',
317
- desiredContrast: 4.5
318
- }, {
319
- foreground: 'color.text.accent.yellow.bolder',
320
- background: 'color.background.accent.gray.subtle',
321
- desiredContrast: 4.5
322
226
  }, {
323
227
  foreground: 'color.text.accent.green',
324
228
  background: 'color.background.accent.green.subtlest',
@@ -327,18 +231,6 @@ export const generatedPairs = [{
327
231
  foreground: 'color.text.accent.green',
328
232
  background: 'color.background.accent.green.subtler',
329
233
  desiredContrast: 4.5
330
- }, {
331
- foreground: 'color.text.accent.green.bolder',
332
- background: 'color.background.accent.red.subtle',
333
- desiredContrast: 4.5
334
- }, {
335
- foreground: 'color.text.accent.green.bolder',
336
- background: 'color.background.accent.orange.subtle',
337
- desiredContrast: 4.5
338
- }, {
339
- foreground: 'color.text.accent.green.bolder',
340
- background: 'color.background.accent.yellow.subtle',
341
- desiredContrast: 4.5
342
234
  }, {
343
235
  foreground: 'color.text.accent.green.bolder',
344
236
  background: 'color.background.accent.green.subtlest',
@@ -351,26 +243,6 @@ export const generatedPairs = [{
351
243
  foreground: 'color.text.accent.green.bolder',
352
244
  background: 'color.background.accent.green.subtle',
353
245
  desiredContrast: 4.5
354
- }, {
355
- foreground: 'color.text.accent.green.bolder',
356
- background: 'color.background.accent.teal.subtle',
357
- desiredContrast: 4.5
358
- }, {
359
- foreground: 'color.text.accent.green.bolder',
360
- background: 'color.background.accent.blue.subtle',
361
- desiredContrast: 4.5
362
- }, {
363
- foreground: 'color.text.accent.green.bolder',
364
- background: 'color.background.accent.purple.subtle',
365
- desiredContrast: 4.5
366
- }, {
367
- foreground: 'color.text.accent.green.bolder',
368
- background: 'color.background.accent.magenta.subtle',
369
- desiredContrast: 4.5
370
- }, {
371
- foreground: 'color.text.accent.green.bolder',
372
- background: 'color.background.accent.gray.subtle',
373
- desiredContrast: 4.5
374
246
  }, {
375
247
  foreground: 'color.text.accent.teal',
376
248
  background: 'color.background.accent.teal.subtlest',
@@ -379,22 +251,6 @@ export const generatedPairs = [{
379
251
  foreground: 'color.text.accent.teal',
380
252
  background: 'color.background.accent.teal.subtler',
381
253
  desiredContrast: 4.5
382
- }, {
383
- foreground: 'color.text.accent.teal.bolder',
384
- background: 'color.background.accent.red.subtle',
385
- desiredContrast: 4.5
386
- }, {
387
- foreground: 'color.text.accent.teal.bolder',
388
- background: 'color.background.accent.orange.subtle',
389
- desiredContrast: 4.5
390
- }, {
391
- foreground: 'color.text.accent.teal.bolder',
392
- background: 'color.background.accent.yellow.subtle',
393
- desiredContrast: 4.5
394
- }, {
395
- foreground: 'color.text.accent.teal.bolder',
396
- background: 'color.background.accent.green.subtle',
397
- desiredContrast: 4.5
398
254
  }, {
399
255
  foreground: 'color.text.accent.teal.bolder',
400
256
  background: 'color.background.accent.teal.subtlest',
@@ -407,22 +263,6 @@ export const generatedPairs = [{
407
263
  foreground: 'color.text.accent.teal.bolder',
408
264
  background: 'color.background.accent.teal.subtle',
409
265
  desiredContrast: 4.5
410
- }, {
411
- foreground: 'color.text.accent.teal.bolder',
412
- background: 'color.background.accent.blue.subtle',
413
- desiredContrast: 4.5
414
- }, {
415
- foreground: 'color.text.accent.teal.bolder',
416
- background: 'color.background.accent.purple.subtle',
417
- desiredContrast: 4.5
418
- }, {
419
- foreground: 'color.text.accent.teal.bolder',
420
- background: 'color.background.accent.magenta.subtle',
421
- desiredContrast: 4.5
422
- }, {
423
- foreground: 'color.text.accent.teal.bolder',
424
- background: 'color.background.accent.gray.subtle',
425
- desiredContrast: 4.5
426
266
  }, {
427
267
  foreground: 'color.text.accent.blue',
428
268
  background: 'color.background.accent.blue.subtlest',
@@ -431,26 +271,6 @@ export const generatedPairs = [{
431
271
  foreground: 'color.text.accent.blue',
432
272
  background: 'color.background.accent.blue.subtler',
433
273
  desiredContrast: 4.5
434
- }, {
435
- foreground: 'color.text.accent.blue.bolder',
436
- background: 'color.background.accent.red.subtle',
437
- desiredContrast: 4.5
438
- }, {
439
- foreground: 'color.text.accent.blue.bolder',
440
- background: 'color.background.accent.orange.subtle',
441
- desiredContrast: 4.5
442
- }, {
443
- foreground: 'color.text.accent.blue.bolder',
444
- background: 'color.background.accent.yellow.subtle',
445
- desiredContrast: 4.5
446
- }, {
447
- foreground: 'color.text.accent.blue.bolder',
448
- background: 'color.background.accent.green.subtle',
449
- desiredContrast: 4.5
450
- }, {
451
- foreground: 'color.text.accent.blue.bolder',
452
- background: 'color.background.accent.teal.subtle',
453
- desiredContrast: 4.5
454
274
  }, {
455
275
  foreground: 'color.text.accent.blue.bolder',
456
276
  background: 'color.background.accent.blue.subtlest',
@@ -463,18 +283,6 @@ export const generatedPairs = [{
463
283
  foreground: 'color.text.accent.blue.bolder',
464
284
  background: 'color.background.accent.blue.subtle',
465
285
  desiredContrast: 4.5
466
- }, {
467
- foreground: 'color.text.accent.blue.bolder',
468
- background: 'color.background.accent.purple.subtle',
469
- desiredContrast: 4.5
470
- }, {
471
- foreground: 'color.text.accent.blue.bolder',
472
- background: 'color.background.accent.magenta.subtle',
473
- desiredContrast: 4.5
474
- }, {
475
- foreground: 'color.text.accent.blue.bolder',
476
- background: 'color.background.accent.gray.subtle',
477
- desiredContrast: 4.5
478
286
  }, {
479
287
  foreground: 'color.text.accent.purple',
480
288
  background: 'color.background.accent.purple.subtlest',
@@ -483,30 +291,6 @@ export const generatedPairs = [{
483
291
  foreground: 'color.text.accent.purple',
484
292
  background: 'color.background.accent.purple.subtler',
485
293
  desiredContrast: 4.5
486
- }, {
487
- foreground: 'color.text.accent.purple.bolder',
488
- background: 'color.background.accent.red.subtle',
489
- desiredContrast: 4.5
490
- }, {
491
- foreground: 'color.text.accent.purple.bolder',
492
- background: 'color.background.accent.orange.subtle',
493
- desiredContrast: 4.5
494
- }, {
495
- foreground: 'color.text.accent.purple.bolder',
496
- background: 'color.background.accent.yellow.subtle',
497
- desiredContrast: 4.5
498
- }, {
499
- foreground: 'color.text.accent.purple.bolder',
500
- background: 'color.background.accent.green.subtle',
501
- desiredContrast: 4.5
502
- }, {
503
- foreground: 'color.text.accent.purple.bolder',
504
- background: 'color.background.accent.teal.subtle',
505
- desiredContrast: 4.5
506
- }, {
507
- foreground: 'color.text.accent.purple.bolder',
508
- background: 'color.background.accent.blue.subtle',
509
- desiredContrast: 4.5
510
294
  }, {
511
295
  foreground: 'color.text.accent.purple.bolder',
512
296
  background: 'color.background.accent.purple.subtlest',
@@ -519,14 +303,6 @@ export const generatedPairs = [{
519
303
  foreground: 'color.text.accent.purple.bolder',
520
304
  background: 'color.background.accent.purple.subtle',
521
305
  desiredContrast: 4.5
522
- }, {
523
- foreground: 'color.text.accent.purple.bolder',
524
- background: 'color.background.accent.magenta.subtle',
525
- desiredContrast: 4.5
526
- }, {
527
- foreground: 'color.text.accent.purple.bolder',
528
- background: 'color.background.accent.gray.subtle',
529
- desiredContrast: 4.5
530
306
  }, {
531
307
  foreground: 'color.text.accent.magenta',
532
308
  background: 'color.background.accent.magenta.subtlest',
@@ -535,34 +311,6 @@ export const generatedPairs = [{
535
311
  foreground: 'color.text.accent.magenta',
536
312
  background: 'color.background.accent.magenta.subtler',
537
313
  desiredContrast: 4.5
538
- }, {
539
- foreground: 'color.text.accent.magenta.bolder',
540
- background: 'color.background.accent.red.subtle',
541
- desiredContrast: 4.5
542
- }, {
543
- foreground: 'color.text.accent.magenta.bolder',
544
- background: 'color.background.accent.orange.subtle',
545
- desiredContrast: 4.5
546
- }, {
547
- foreground: 'color.text.accent.magenta.bolder',
548
- background: 'color.background.accent.yellow.subtle',
549
- desiredContrast: 4.5
550
- }, {
551
- foreground: 'color.text.accent.magenta.bolder',
552
- background: 'color.background.accent.green.subtle',
553
- desiredContrast: 4.5
554
- }, {
555
- foreground: 'color.text.accent.magenta.bolder',
556
- background: 'color.background.accent.teal.subtle',
557
- desiredContrast: 4.5
558
- }, {
559
- foreground: 'color.text.accent.magenta.bolder',
560
- background: 'color.background.accent.blue.subtle',
561
- desiredContrast: 4.5
562
- }, {
563
- foreground: 'color.text.accent.magenta.bolder',
564
- background: 'color.background.accent.purple.subtle',
565
- desiredContrast: 4.5
566
314
  }, {
567
315
  foreground: 'color.text.accent.magenta.bolder',
568
316
  background: 'color.background.accent.magenta.subtlest',
@@ -575,10 +323,6 @@ export const generatedPairs = [{
575
323
  foreground: 'color.text.accent.magenta.bolder',
576
324
  background: 'color.background.accent.magenta.subtle',
577
325
  desiredContrast: 4.5
578
- }, {
579
- foreground: 'color.text.accent.magenta.bolder',
580
- background: 'color.background.accent.gray.subtle',
581
- desiredContrast: 4.5
582
326
  }, {
583
327
  foreground: 'color.text.accent.gray',
584
328
  background: 'color.background.accent.gray.subtlest',
@@ -587,38 +331,6 @@ export const generatedPairs = [{
587
331
  foreground: 'color.text.accent.gray',
588
332
  background: 'color.background.accent.gray.subtler',
589
333
  desiredContrast: 4.5
590
- }, {
591
- foreground: 'color.text.accent.gray.bolder',
592
- background: 'color.background.accent.red.subtle',
593
- desiredContrast: 4.5
594
- }, {
595
- foreground: 'color.text.accent.gray.bolder',
596
- background: 'color.background.accent.orange.subtle',
597
- desiredContrast: 4.5
598
- }, {
599
- foreground: 'color.text.accent.gray.bolder',
600
- background: 'color.background.accent.yellow.subtle',
601
- desiredContrast: 4.5
602
- }, {
603
- foreground: 'color.text.accent.gray.bolder',
604
- background: 'color.background.accent.green.subtle',
605
- desiredContrast: 4.5
606
- }, {
607
- foreground: 'color.text.accent.gray.bolder',
608
- background: 'color.background.accent.teal.subtle',
609
- desiredContrast: 4.5
610
- }, {
611
- foreground: 'color.text.accent.gray.bolder',
612
- background: 'color.background.accent.blue.subtle',
613
- desiredContrast: 4.5
614
- }, {
615
- foreground: 'color.text.accent.gray.bolder',
616
- background: 'color.background.accent.purple.subtle',
617
- desiredContrast: 4.5
618
- }, {
619
- foreground: 'color.text.accent.gray.bolder',
620
- background: 'color.background.accent.magenta.subtle',
621
- desiredContrast: 4.5
622
334
  }, {
623
335
  foreground: 'color.text.accent.gray.bolder',
624
336
  background: 'color.background.accent.gray.subtlest',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::a2e59b8e1421ca4ad026a5b2161824b2>>
3
+ * @codegen <<SignedSource::ba57ec0a6991ab386479b6c9006397ba>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -79,14 +79,14 @@ const tokens = [{
79
79
  "name": "border.radius.Radius400",
80
80
  "path": ["border", "radius", "Radius400"]
81
81
  }, {
82
- "value": "50%",
82
+ "value": "32032px",
83
83
  "attributes": {
84
84
  "group": "shape"
85
85
  },
86
86
  "filePath": "src/palettes/shape-palette.tsx",
87
87
  "isSource": true,
88
88
  "original": {
89
- "value": "50%",
89
+ "value": 32032,
90
90
  "attributes": {
91
91
  "group": "shape"
92
92
  }
@@ -1,24 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::c975c1ac2db9f1c0efff9214a1aac7b7>>
3
+ * @codegen <<SignedSource::b255ff03ae4f781bb3016003a111bed0>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  export default `
7
7
  html[data-color-mode="light"][data-theme~="light:dark"],
8
8
  html[data-color-mode="dark"][data-theme~="dark:dark"] {
9
9
  color-scheme: dark;
10
- --ds-border: #A6C5E229;
11
- --ds-border-disabled: #A1BDD914;
12
- --ds-border-focused: #85B8FF;
13
- --ds-border-input: #738496;
14
- --ds-border-inverse: #161A1D;
15
- --ds-border-selected: #579DFF;
16
- --ds-border-brand: #579DFF;
17
- --ds-border-danger: #EF5C48;
18
- --ds-border-warning: #CF9F02;
19
- --ds-border-success: #2ABB7F;
20
- --ds-border-discovery: #8F7EE7;
21
- --ds-border-information: #388BFF;
22
- --ds-border-bold: #738496;
10
+ --ds-border-input: #596773;
23
11
  }
24
12
  `;
@@ -1,24 +1,12 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::901558f32ad8ab69dd685f026e5d85db>>
3
+ * @codegen <<SignedSource::b14cc1106ad737bfef0b77e4b645c1df>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  export default `
7
7
  html[data-color-mode="light"][data-theme~="light:light"],
8
8
  html[data-color-mode="dark"][data-theme~="dark:light"] {
9
9
  color-scheme: light;
10
- --ds-border: #091E4224;
11
- --ds-border-disabled: #091E420F;
12
- --ds-border-focused: #388BFF;
13
- --ds-border-input: #758195;
14
- --ds-border-inverse: #FFFFFF;
15
- --ds-border-selected: #0C66E4;
16
- --ds-border-brand: #0C66E4;
17
- --ds-border-danger: #E34935;
18
- --ds-border-warning: #D97008;
19
- --ds-border-success: #22A06B;
20
- --ds-border-discovery: #8270DB;
21
- --ds-border-information: #1D7AFC;
22
- --ds-border-bold: #758195;
10
+ --ds-border-input: #8590A2;
23
11
  }
24
12
  `;
@@ -1,18 +1,20 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::01d88a41c27f9a921fe1a40fec0a7ba0>>
3
+ * @codegen <<SignedSource::861a4448ac467155c8290f2b211e99c5>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  export default `
7
7
  html[data-theme~="shape:shape"] {
8
- --ds-radius-050: 0.125rem;
9
- --ds-radius-100: 0.25rem;
10
- --ds-radius-200: 0.5rem;
11
- --ds-radius-300: 0.75rem;
12
- --ds-radius-400: 1rem;
13
- --ds-radius-round: 50%;
14
- --ds-width-0: 0rem;
15
- --ds-width-050: 0.0625rem;
16
- --ds-width-100: 0.125rem;
8
+ --ds-border-radius-050: 0.125rem;
9
+ --ds-border-radius: 0.25rem;
10
+ --ds-border-radius-100: 0.25rem;
11
+ --ds-border-radius-200: 0.5rem;
12
+ --ds-border-radius-300: 0.75rem;
13
+ --ds-border-radius-400: 1rem;
14
+ --ds-border-radius-circle: 2002rem;
15
+ --ds-border-width: 0.0625rem;
16
+ --ds-border-width-0: 0rem;
17
+ --ds-border-width-050: 0.0625rem;
18
+ --ds-border-width-100: 0.125rem;
17
19
  }
18
20
  `;