@primer/primitives 10.1.0-rc.f1589f93 → 10.1.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 (119) hide show
  1. package/README.md +0 -21
  2. package/dist/build/filters/index.d.ts +0 -1
  3. package/dist/build/filters/index.js +0 -1
  4. package/dist/build/formats/jsonFigma.js +1 -2
  5. package/dist/build/platforms/css.js +6 -7
  6. package/dist/build/platforms/docJson.js +0 -1
  7. package/dist/build/platforms/fallbacks.js +0 -1
  8. package/dist/build/platforms/javascript.js +0 -1
  9. package/dist/build/platforms/json.js +0 -1
  10. package/dist/build/platforms/styleLint.js +0 -1
  11. package/dist/build/platforms/typescript.js +0 -1
  12. package/dist/build/primerStyleDictionary.js +7 -3
  13. package/dist/build/schemas/colorToken.d.ts +0 -18
  14. package/dist/build/schemas/colorToken.js +0 -7
  15. package/dist/build/transformers/borderToCss.js +2 -2
  16. package/dist/build/transformers/colorToRgbaFloat.js +2 -12
  17. package/dist/build/transformers/index.d.ts +0 -1
  18. package/dist/build/transformers/index.js +0 -1
  19. package/dist/css/functional/size/border.css +7 -6
  20. package/dist/css/functional/themes/dark-colorblind.css +60 -6
  21. package/dist/css/functional/themes/dark-dimmed.css +60 -6
  22. package/dist/css/functional/themes/dark-high-contrast.css +60 -6
  23. package/dist/css/functional/themes/dark-tritanopia.css +60 -6
  24. package/dist/css/functional/themes/dark.css +60 -6
  25. package/dist/css/functional/themes/light-colorblind.css +60 -6
  26. package/dist/css/functional/themes/light-high-contrast.css +60 -6
  27. package/dist/css/functional/themes/light-tritanopia.css +60 -6
  28. package/dist/css/functional/themes/light.css +60 -6
  29. package/dist/css/primitives.css +7 -6
  30. package/dist/docs/base/size/size.json +19 -19
  31. package/dist/docs/base/typography/typography.json +4 -4
  32. package/dist/docs/functional/size/border.json +41 -28
  33. package/dist/docs/functional/size/breakpoints.json +6 -6
  34. package/dist/docs/functional/size/size-coarse.json +3 -3
  35. package/dist/docs/functional/size/size-fine.json +3 -3
  36. package/dist/docs/functional/size/size.json +66 -66
  37. package/dist/docs/functional/size/viewport.json +6 -6
  38. package/dist/docs/functional/themes/dark-colorblind.json +475 -128
  39. package/dist/docs/functional/themes/dark-dimmed.json +519 -444
  40. package/dist/docs/functional/themes/dark-high-contrast.json +490 -241
  41. package/dist/docs/functional/themes/dark-tritanopia.json +485 -200
  42. package/dist/docs/functional/themes/dark.json +469 -102
  43. package/dist/docs/functional/themes/light-colorblind.json +463 -94
  44. package/dist/docs/functional/themes/light-high-contrast.json +487 -274
  45. package/dist/docs/functional/themes/light-tritanopia.json +463 -102
  46. package/dist/docs/functional/themes/light.json +460 -105
  47. package/dist/docs/functional/typography/typography.json +46 -46
  48. package/dist/fallbacks/functional/size/border.json +7 -6
  49. package/dist/figma/themes/dark-colorblind.json +14 -54
  50. package/dist/figma/themes/dark-dimmed.json +15 -356
  51. package/dist/figma/themes/dark-high-contrast.json +10 -129
  52. package/dist/figma/themes/dark-tritanopia.json +14 -111
  53. package/dist/figma/themes/dark.json +14 -34
  54. package/dist/figma/themes/light-colorblind.json +10 -20
  55. package/dist/figma/themes/light-high-contrast.json +10 -177
  56. package/dist/figma/themes/light-tritanopia.json +10 -24
  57. package/dist/figma/themes/light.json +10 -32
  58. package/dist/internalCss/dark-colorblind.css +88 -6
  59. package/dist/internalCss/dark-dimmed.css +88 -6
  60. package/dist/internalCss/dark-high-contrast.css +88 -6
  61. package/dist/internalCss/dark-tritanopia.css +88 -6
  62. package/dist/internalCss/dark.css +88 -6
  63. package/dist/internalCss/light-colorblind.css +88 -6
  64. package/dist/internalCss/light-high-contrast.css +88 -6
  65. package/dist/internalCss/light-tritanopia.css +88 -6
  66. package/dist/internalCss/light.css +88 -6
  67. package/dist/styleLint/base/size/size.json +19 -19
  68. package/dist/styleLint/base/typography/typography.json +4 -4
  69. package/dist/styleLint/functional/size/border.json +41 -28
  70. package/dist/styleLint/functional/size/breakpoints.json +6 -6
  71. package/dist/styleLint/functional/size/size-coarse.json +3 -3
  72. package/dist/styleLint/functional/size/size-fine.json +3 -3
  73. package/dist/styleLint/functional/size/size.json +66 -66
  74. package/dist/styleLint/functional/size/viewport.json +6 -6
  75. package/dist/styleLint/functional/themes/dark-colorblind.json +475 -128
  76. package/dist/styleLint/functional/themes/dark-dimmed.json +519 -444
  77. package/dist/styleLint/functional/themes/dark-high-contrast.json +490 -241
  78. package/dist/styleLint/functional/themes/dark-tritanopia.json +485 -200
  79. package/dist/styleLint/functional/themes/dark.json +469 -102
  80. package/dist/styleLint/functional/themes/light-colorblind.json +463 -94
  81. package/dist/styleLint/functional/themes/light-high-contrast.json +487 -274
  82. package/dist/styleLint/functional/themes/light-tritanopia.json +463 -102
  83. package/dist/styleLint/functional/themes/light.json +460 -105
  84. package/dist/styleLint/functional/typography/typography.json +46 -46
  85. package/package.json +1 -1
  86. package/src/tokens/base/typography/typography.json5 +48 -0
  87. package/src/tokens/functional/border/border.json5 +236 -0
  88. package/src/tokens/functional/color/dark/app-dark.json5 +0 -2
  89. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +120 -6
  90. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +46 -29
  91. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +15 -20
  92. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +32 -18
  93. package/src/tokens/functional/color/dark/patterns-dark.json5 +13 -45
  94. package/src/tokens/functional/color/dark/primitives-dark.json5 +1 -6
  95. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +67 -20
  96. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +4 -21
  97. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +3 -16
  98. package/src/tokens/functional/color/light/patterns-light.json5 +11 -47
  99. package/src/tokens/functional/color/light/primitives-light.json5 +2 -10
  100. package/src/tokens/functional/size/border.json5 +115 -0
  101. package/src/tokens/functional/typography/typography.json5 +527 -0
  102. package/dist/build/filters/isColorWithMix.d.ts +0 -7
  103. package/dist/build/filters/isColorWithMix.js +0 -24
  104. package/dist/build/transformers/colorToHexMix.d.ts +0 -8
  105. package/dist/build/transformers/colorToHexMix.js +0 -20
  106. package/dist/build/transformers/utilities/mix.d.ts +0 -5
  107. package/dist/build/transformers/utilities/mix.js +0 -38
  108. package/src/tokens/base/typography/typography.json +0 -48
  109. package/src/tokens/functional/border/dark.json5 +0 -12
  110. package/src/tokens/functional/border/light.json5 +0 -12
  111. package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
  112. package/src/tokens/functional/size/border.json +0 -111
  113. package/src/tokens/functional/typography/typography.json +0 -527
  114. /package/src/tokens/base/size/{size.json → size.json5} +0 -0
  115. /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
  116. /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
  117. /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
  118. /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
  119. /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
@@ -259,10 +259,10 @@
259
259
  --button-invisible-bgColor-rest: #ffffff00;
260
260
  --button-invisible-bgColor-hover: #818b981a;
261
261
  --button-invisible-bgColor-active: #818b9826;
262
- --button-invisible-bgColor-disabled: #eff2f5;
262
+ --button-invisible-bgColor-disabled: #ffffff00;
263
263
  --button-invisible-borderColor-rest: #ffffff00;
264
264
  --button-invisible-borderColor-hover: #ffffff00;
265
- --button-invisible-borderColor-disabled: #818b981a;
265
+ --button-invisible-borderColor-disabled: #ffffff00;
266
266
  --button-outline-fgColor-rest: #0969da;
267
267
  --button-outline-fgColor-hover: #ffffff;
268
268
  --button-outline-fgColor-active: #ffffff;
@@ -311,7 +311,7 @@
311
311
  --reactionButton-selected-fgColor-rest: #0969da;
312
312
  --reactionButton-selected-fgColor-hover: #0550ae;
313
313
  --focus-outlineColor: #0969da;
314
- --focus-outline: #0969da solid 2px;
314
+ --focus-outline: 2px solid #0969da;
315
315
  --menu-bgColor-active: #ffffff00;
316
316
  --overlay-bgColor: #ffffff;
317
317
  --overlay-borderColor: #d1d9e080;
@@ -577,6 +577,33 @@
577
577
  --shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
578
578
  --shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
579
579
  --shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
580
+ --border-default: 0.0625rem solid #d1d9e0;
581
+ --border-muted: 0.0625rem solid #d1d9e0b3;
582
+ --border-emphasis: 0.0625rem solid #818b98;
583
+ --border-disabled: 0.0625rem solid #818b981a;
584
+ --border-transparent: 0.0625rem solid #ffffff00;
585
+ --border-neutral-emphasis: 0.0625rem solid #59636e;
586
+ --border-neutral-muted: 0.0625rem solid #d1d9e0b3;
587
+ --border-accent-emphasis: 0.0625rem solid #0969da;
588
+ --border-accent-muted: 0.0625rem solid #54aeff66;
589
+ --border-success-emphasis: 0.0625rem solid #1a7f37;
590
+ --border-success-muted: 0.0625rem solid #4ac26b66;
591
+ --border-open-emphasis: 0.0625rem solid #1a7f37;
592
+ --border-open-muted: 0.0625rem solid #4ac26b66;
593
+ --border-danger-emphasis: 0.0625rem solid #cf222e;
594
+ --border-danger-muted: 0.0625rem solid #ff818266;
595
+ --border-closed-emphasis: 0.0625rem solid #cf222e;
596
+ --border-closed-muted: 0.0625rem solid #ff818266;
597
+ --border-attention-emphasis: 0.0625rem solid #9a6700;
598
+ --border-attention-muted: 0.0625rem solid #d4a72c66;
599
+ --border-severe-emphasis: 0.0625rem solid #bc4c00;
600
+ --border-severe-muted: 0.0625rem solid #fb8f4466;
601
+ --border-done-emphasis: 0.0625rem solid #8250df;
602
+ --border-done-muted: 0.0625rem solid #c297ff66;
603
+ --border-upsell-emphasis: 0.0625rem solid #8250df;
604
+ --border-upsell-muted: 0.0625rem solid #c297ff66;
605
+ --border-sponsors-emphasis: 0.0625rem solid #bf3989;
606
+ --border-sponsors-muted: 0.0625rem solid #ff80c866;
580
607
  }
581
608
  @media (prefers-color-scheme: dark) {
582
609
  [data-color-mode="auto"][data-dark-theme="light"],
@@ -838,10 +865,10 @@
838
865
  --button-invisible-bgColor-rest: #ffffff00;
839
866
  --button-invisible-bgColor-hover: #818b981a;
840
867
  --button-invisible-bgColor-active: #818b9826;
841
- --button-invisible-bgColor-disabled: #eff2f5;
868
+ --button-invisible-bgColor-disabled: #ffffff00;
842
869
  --button-invisible-borderColor-rest: #ffffff00;
843
870
  --button-invisible-borderColor-hover: #ffffff00;
844
- --button-invisible-borderColor-disabled: #818b981a;
871
+ --button-invisible-borderColor-disabled: #ffffff00;
845
872
  --button-outline-fgColor-rest: #0969da;
846
873
  --button-outline-fgColor-hover: #ffffff;
847
874
  --button-outline-fgColor-active: #ffffff;
@@ -890,7 +917,7 @@
890
917
  --reactionButton-selected-fgColor-rest: #0969da;
891
918
  --reactionButton-selected-fgColor-hover: #0550ae;
892
919
  --focus-outlineColor: #0969da;
893
- --focus-outline: #0969da solid 2px;
920
+ --focus-outline: 2px solid #0969da;
894
921
  --menu-bgColor-active: #ffffff00;
895
922
  --overlay-bgColor: #ffffff;
896
923
  --overlay-borderColor: #d1d9e080;
@@ -1156,5 +1183,32 @@
1156
1183
  --shadow-floating-large: 0px 0px 0px 1px #d1d9e0, 0px 40px 80px 0px #25292e3d;
1157
1184
  --shadow-floating-xlarge: 0px 0px 0px 1px #d1d9e0, 0px 56px 112px 0px #25292e52;
1158
1185
  --shadow-floating-legacy: 0px 6px 12px -3px #25292e0a, 0px 6px 18px 0px #25292e1f;
1186
+ --border-default: 0.0625rem solid #d1d9e0;
1187
+ --border-muted: 0.0625rem solid #d1d9e0b3;
1188
+ --border-emphasis: 0.0625rem solid #818b98;
1189
+ --border-disabled: 0.0625rem solid #818b981a;
1190
+ --border-transparent: 0.0625rem solid #ffffff00;
1191
+ --border-neutral-emphasis: 0.0625rem solid #59636e;
1192
+ --border-neutral-muted: 0.0625rem solid #d1d9e0b3;
1193
+ --border-accent-emphasis: 0.0625rem solid #0969da;
1194
+ --border-accent-muted: 0.0625rem solid #54aeff66;
1195
+ --border-success-emphasis: 0.0625rem solid #1a7f37;
1196
+ --border-success-muted: 0.0625rem solid #4ac26b66;
1197
+ --border-open-emphasis: 0.0625rem solid #1a7f37;
1198
+ --border-open-muted: 0.0625rem solid #4ac26b66;
1199
+ --border-danger-emphasis: 0.0625rem solid #cf222e;
1200
+ --border-danger-muted: 0.0625rem solid #ff818266;
1201
+ --border-closed-emphasis: 0.0625rem solid #cf222e;
1202
+ --border-closed-muted: 0.0625rem solid #ff818266;
1203
+ --border-attention-emphasis: 0.0625rem solid #9a6700;
1204
+ --border-attention-muted: 0.0625rem solid #d4a72c66;
1205
+ --border-severe-emphasis: 0.0625rem solid #bc4c00;
1206
+ --border-severe-muted: 0.0625rem solid #fb8f4466;
1207
+ --border-done-emphasis: 0.0625rem solid #8250df;
1208
+ --border-done-muted: 0.0625rem solid #c297ff66;
1209
+ --border-upsell-emphasis: 0.0625rem solid #8250df;
1210
+ --border-upsell-muted: 0.0625rem solid #c297ff66;
1211
+ --border-sponsors-emphasis: 0.0625rem solid #bf3989;
1212
+ --border-sponsors-muted: 0.0625rem solid #ff80c866;
1159
1213
  }
1160
1214
  }
@@ -49,12 +49,13 @@
49
49
  --motion-skeletonLoader-shimmer-duration-scale: var(--base-duration-1000); /* The amount of times it takes the "shimmer" effect to go from the start (left) of the skeleton loader to the end (right) */
50
50
  }
51
51
  :root {
52
- --boxShadow-thin: inset 0 0 0 max(1px, 0.0625rem); /* Thin shadow for borders */
53
- --boxShadow-thick: inset 0 0 0 max(2px, 0.125rem);
54
- --boxShadow-thicker: inset 0 0 0 max(4px, 0.25rem);
55
- --borderWidth-thin: max(1px, 0.0625rem);
56
- --borderWidth-thick: max(2px, 0.125rem);
57
- --borderWidth-thicker: max(4px, 0.25rem);
52
+ --boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
53
+ --boxShadow-thick: inset 0 0 0 0.125rem;
54
+ --boxShadow-thicker: inset 0 0 0 0.25rem;
55
+ --borderWidth-default: 0.0625rem;
56
+ --borderWidth-thin: 0.0625rem;
57
+ --borderWidth-thick: 0.125rem;
58
+ --borderWidth-thicker: 0.25rem;
58
59
  --borderRadius-small: 0.1875rem;
59
60
  --borderRadius-medium: 0.375rem;
60
61
  --borderRadius-large: 0.75rem;
@@ -6,7 +6,7 @@
6
6
  "scopes": ["size"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/base/size/size.json",
9
+ "filePath": "src/tokens/base/size/size.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$value": "2px",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["size"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/base/size/size.json",
34
+ "filePath": "src/tokens/base/size/size.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": "4px",
@@ -56,7 +56,7 @@
56
56
  "scopes": ["size"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/base/size/size.json",
59
+ "filePath": "src/tokens/base/size/size.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": "6px",
@@ -81,7 +81,7 @@
81
81
  "scopes": ["size"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/base/size/size.json",
84
+ "filePath": "src/tokens/base/size/size.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": "8px",
@@ -106,7 +106,7 @@
106
106
  "scopes": ["size"]
107
107
  }
108
108
  },
109
- "filePath": "src/tokens/base/size/size.json",
109
+ "filePath": "src/tokens/base/size/size.json5",
110
110
  "isSource": true,
111
111
  "original": {
112
112
  "$value": "12px",
@@ -131,7 +131,7 @@
131
131
  "scopes": ["size"]
132
132
  }
133
133
  },
134
- "filePath": "src/tokens/base/size/size.json",
134
+ "filePath": "src/tokens/base/size/size.json5",
135
135
  "isSource": true,
136
136
  "original": {
137
137
  "$value": "16px",
@@ -156,7 +156,7 @@
156
156
  "scopes": ["size"]
157
157
  }
158
158
  },
159
- "filePath": "src/tokens/base/size/size.json",
159
+ "filePath": "src/tokens/base/size/size.json5",
160
160
  "isSource": true,
161
161
  "original": {
162
162
  "$value": "20px",
@@ -181,7 +181,7 @@
181
181
  "scopes": ["size"]
182
182
  }
183
183
  },
184
- "filePath": "src/tokens/base/size/size.json",
184
+ "filePath": "src/tokens/base/size/size.json5",
185
185
  "isSource": true,
186
186
  "original": {
187
187
  "$value": "24px",
@@ -206,7 +206,7 @@
206
206
  "scopes": ["size"]
207
207
  }
208
208
  },
209
- "filePath": "src/tokens/base/size/size.json",
209
+ "filePath": "src/tokens/base/size/size.json5",
210
210
  "isSource": true,
211
211
  "original": {
212
212
  "$value": "28px",
@@ -231,7 +231,7 @@
231
231
  "scopes": ["size"]
232
232
  }
233
233
  },
234
- "filePath": "src/tokens/base/size/size.json",
234
+ "filePath": "src/tokens/base/size/size.json5",
235
235
  "isSource": true,
236
236
  "original": {
237
237
  "$value": "32px",
@@ -256,7 +256,7 @@
256
256
  "scopes": ["size"]
257
257
  }
258
258
  },
259
- "filePath": "src/tokens/base/size/size.json",
259
+ "filePath": "src/tokens/base/size/size.json5",
260
260
  "isSource": true,
261
261
  "original": {
262
262
  "$value": "36px",
@@ -281,7 +281,7 @@
281
281
  "scopes": ["size"]
282
282
  }
283
283
  },
284
- "filePath": "src/tokens/base/size/size.json",
284
+ "filePath": "src/tokens/base/size/size.json5",
285
285
  "isSource": true,
286
286
  "original": {
287
287
  "$value": "40px",
@@ -306,7 +306,7 @@
306
306
  "scopes": ["size"]
307
307
  }
308
308
  },
309
- "filePath": "src/tokens/base/size/size.json",
309
+ "filePath": "src/tokens/base/size/size.json5",
310
310
  "isSource": true,
311
311
  "original": {
312
312
  "$value": "44px",
@@ -331,7 +331,7 @@
331
331
  "scopes": ["size"]
332
332
  }
333
333
  },
334
- "filePath": "src/tokens/base/size/size.json",
334
+ "filePath": "src/tokens/base/size/size.json5",
335
335
  "isSource": true,
336
336
  "original": {
337
337
  "$value": "48px",
@@ -356,7 +356,7 @@
356
356
  "scopes": ["size"]
357
357
  }
358
358
  },
359
- "filePath": "src/tokens/base/size/size.json",
359
+ "filePath": "src/tokens/base/size/size.json5",
360
360
  "isSource": true,
361
361
  "original": {
362
362
  "$value": "64px",
@@ -381,7 +381,7 @@
381
381
  "scopes": ["size"]
382
382
  }
383
383
  },
384
- "filePath": "src/tokens/base/size/size.json",
384
+ "filePath": "src/tokens/base/size/size.json5",
385
385
  "isSource": true,
386
386
  "original": {
387
387
  "$value": "80px",
@@ -406,7 +406,7 @@
406
406
  "scopes": ["size"]
407
407
  }
408
408
  },
409
- "filePath": "src/tokens/base/size/size.json",
409
+ "filePath": "src/tokens/base/size/size.json5",
410
410
  "isSource": true,
411
411
  "original": {
412
412
  "$value": "96px",
@@ -431,7 +431,7 @@
431
431
  "scopes": ["size"]
432
432
  }
433
433
  },
434
- "filePath": "src/tokens/base/size/size.json",
434
+ "filePath": "src/tokens/base/size/size.json5",
435
435
  "isSource": true,
436
436
  "original": {
437
437
  "$value": "112px",
@@ -456,7 +456,7 @@
456
456
  "scopes": ["size"]
457
457
  }
458
458
  },
459
- "filePath": "src/tokens/base/size/size.json",
459
+ "filePath": "src/tokens/base/size/size.json5",
460
460
  "isSource": true,
461
461
  "original": {
462
462
  "$value": "128px",
@@ -6,7 +6,7 @@
6
6
  "scopes": ["fontWeight"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/base/typography/typography.json",
9
+ "filePath": "src/tokens/base/typography/typography.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$type": "fontWeight",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["fontWeight"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/base/typography/typography.json",
34
+ "filePath": "src/tokens/base/typography/typography.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": 400,
@@ -56,7 +56,7 @@
56
56
  "scopes": ["fontWeight"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/base/typography/typography.json",
59
+ "filePath": "src/tokens/base/typography/typography.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": 500,
@@ -81,7 +81,7 @@
81
81
  "scopes": ["fontWeight"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/base/typography/typography.json",
84
+ "filePath": "src/tokens/base/typography/typography.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": 600,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "boxShadow-thin": {
3
- "filePath": "src/tokens/functional/size/border.json",
3
+ "filePath": "src/tokens/functional/size/border.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "inset 0 0 0 {borderWidth.thin}",
@@ -10,12 +10,12 @@
10
10
  "name": "boxShadow-thin",
11
11
  "attributes": {},
12
12
  "path": ["boxShadow", "thin"],
13
- "value": "inset 0 0 0 max(1px, 0.0625rem)",
13
+ "value": "inset 0 0 0 0.0625rem",
14
14
  "type": "string",
15
15
  "description": "Thin shadow for borders"
16
16
  },
17
17
  "boxShadow-thick": {
18
- "filePath": "src/tokens/functional/size/border.json",
18
+ "filePath": "src/tokens/functional/size/border.json5",
19
19
  "isSource": true,
20
20
  "original": {
21
21
  "$value": "inset 0 0 0 {borderWidth.thick}",
@@ -24,11 +24,11 @@
24
24
  "name": "boxShadow-thick",
25
25
  "attributes": {},
26
26
  "path": ["boxShadow", "thick"],
27
- "value": "inset 0 0 0 max(2px, 0.125rem)",
27
+ "value": "inset 0 0 0 0.125rem",
28
28
  "type": "string"
29
29
  },
30
30
  "boxShadow-thicker": {
31
- "filePath": "src/tokens/functional/size/border.json",
31
+ "filePath": "src/tokens/functional/size/border.json5",
32
32
  "isSource": true,
33
33
  "original": {
34
34
  "$value": "inset 0 0 0 {borderWidth.thicker}",
@@ -37,47 +37,60 @@
37
37
  "name": "boxShadow-thicker",
38
38
  "attributes": {},
39
39
  "path": ["boxShadow", "thicker"],
40
- "value": "inset 0 0 0 max(4px, 0.25rem)",
40
+ "value": "inset 0 0 0 0.25rem",
41
41
  "type": "string"
42
42
  },
43
+ "borderWidth-default": {
44
+ "filePath": "src/tokens/functional/size/border.json5",
45
+ "isSource": true,
46
+ "original": {
47
+ "$value": "{borderWidth.thin}",
48
+ "$type": "dimension"
49
+ },
50
+ "name": "borderWidth-default",
51
+ "attributes": {},
52
+ "path": ["borderWidth", "default"],
53
+ "value": "0.0625rem",
54
+ "type": "dimension"
55
+ },
43
56
  "borderWidth-thin": {
44
- "filePath": "src/tokens/functional/size/border.json",
57
+ "filePath": "src/tokens/functional/size/border.json5",
45
58
  "isSource": true,
46
59
  "original": {
47
- "$value": "max(1px, 0.0625rem)",
48
- "$type": "string"
60
+ "$value": "1px",
61
+ "$type": "dimension"
49
62
  },
50
63
  "name": "borderWidth-thin",
51
64
  "attributes": {},
52
65
  "path": ["borderWidth", "thin"],
53
- "value": "max(1px, 0.0625rem)",
54
- "type": "string"
66
+ "value": "0.0625rem",
67
+ "type": "dimension"
55
68
  },
56
69
  "borderWidth-thick": {
57
- "filePath": "src/tokens/functional/size/border.json",
70
+ "filePath": "src/tokens/functional/size/border.json5",
58
71
  "isSource": true,
59
72
  "original": {
60
- "$value": "max(2px, 0.125rem)",
61
- "$type": "string"
73
+ "$value": "2px",
74
+ "$type": "dimension"
62
75
  },
63
76
  "name": "borderWidth-thick",
64
77
  "attributes": {},
65
78
  "path": ["borderWidth", "thick"],
66
- "value": "max(2px, 0.125rem)",
67
- "type": "string"
79
+ "value": "0.125rem",
80
+ "type": "dimension"
68
81
  },
69
82
  "borderWidth-thicker": {
70
- "filePath": "src/tokens/functional/size/border.json",
83
+ "filePath": "src/tokens/functional/size/border.json5",
71
84
  "isSource": true,
72
85
  "original": {
73
- "$value": "max(4px, 0.25rem)",
74
- "$type": "string"
86
+ "$value": "4px",
87
+ "$type": "dimension"
75
88
  },
76
89
  "name": "borderWidth-thicker",
77
90
  "attributes": {},
78
91
  "path": ["borderWidth", "thicker"],
79
- "value": "max(4px, 0.25rem)",
80
- "type": "string"
92
+ "value": "0.25rem",
93
+ "type": "dimension"
81
94
  },
82
95
  "borderRadius-small": {
83
96
  "$extensions": {
@@ -89,7 +102,7 @@
89
102
  }
90
103
  }
91
104
  },
92
- "filePath": "src/tokens/functional/size/border.json",
105
+ "filePath": "src/tokens/functional/size/border.json5",
93
106
  "isSource": true,
94
107
  "original": {
95
108
  "$value": "3px",
@@ -120,7 +133,7 @@
120
133
  }
121
134
  }
122
135
  },
123
- "filePath": "src/tokens/functional/size/border.json",
136
+ "filePath": "src/tokens/functional/size/border.json5",
124
137
  "isSource": true,
125
138
  "original": {
126
139
  "$value": "6px",
@@ -151,7 +164,7 @@
151
164
  }
152
165
  }
153
166
  },
154
- "filePath": "src/tokens/functional/size/border.json",
167
+ "filePath": "src/tokens/functional/size/border.json5",
155
168
  "isSource": true,
156
169
  "original": {
157
170
  "$value": "12px",
@@ -182,7 +195,7 @@
182
195
  }
183
196
  }
184
197
  },
185
- "filePath": "src/tokens/functional/size/border.json",
198
+ "filePath": "src/tokens/functional/size/border.json5",
186
199
  "isSource": true,
187
200
  "original": {
188
201
  "$value": "9999px",
@@ -215,7 +228,7 @@
215
228
  }
216
229
  }
217
230
  },
218
- "filePath": "src/tokens/functional/size/border.json",
231
+ "filePath": "src/tokens/functional/size/border.json5",
219
232
  "isSource": true,
220
233
  "original": {
221
234
  "$value": "{borderRadius.medium}",
@@ -237,7 +250,7 @@
237
250
  "type": "dimension"
238
251
  },
239
252
  "outline-focus-offset": {
240
- "filePath": "src/tokens/functional/size/border.json",
253
+ "filePath": "src/tokens/functional/size/border.json5",
241
254
  "isSource": true,
242
255
  "original": {
243
256
  "$value": "-2px",
@@ -250,7 +263,7 @@
250
263
  "type": "dimension"
251
264
  },
252
265
  "outline-focus-width": {
253
- "filePath": "src/tokens/functional/size/border.json",
266
+ "filePath": "src/tokens/functional/size/border.json5",
254
267
  "isSource": true,
255
268
  "original": {
256
269
  "$value": "2px",
@@ -6,7 +6,7 @@
6
6
  "scopes": ["size"]
7
7
  }
8
8
  },
9
- "filePath": "src/tokens/functional/size/breakpoints.json",
9
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
10
10
  "isSource": true,
11
11
  "original": {
12
12
  "$value": "320px",
@@ -31,7 +31,7 @@
31
31
  "scopes": ["size"]
32
32
  }
33
33
  },
34
- "filePath": "src/tokens/functional/size/breakpoints.json",
34
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
35
35
  "isSource": true,
36
36
  "original": {
37
37
  "$value": "544px",
@@ -56,7 +56,7 @@
56
56
  "scopes": ["size"]
57
57
  }
58
58
  },
59
- "filePath": "src/tokens/functional/size/breakpoints.json",
59
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
60
60
  "isSource": true,
61
61
  "original": {
62
62
  "$value": "768px",
@@ -81,7 +81,7 @@
81
81
  "scopes": ["size"]
82
82
  }
83
83
  },
84
- "filePath": "src/tokens/functional/size/breakpoints.json",
84
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
85
85
  "isSource": true,
86
86
  "original": {
87
87
  "$value": "1012px",
@@ -106,7 +106,7 @@
106
106
  "scopes": ["size"]
107
107
  }
108
108
  },
109
- "filePath": "src/tokens/functional/size/breakpoints.json",
109
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
110
110
  "isSource": true,
111
111
  "original": {
112
112
  "$value": "1280px",
@@ -131,7 +131,7 @@
131
131
  "scopes": ["size"]
132
132
  }
133
133
  },
134
- "filePath": "src/tokens/functional/size/breakpoints.json",
134
+ "filePath": "src/tokens/functional/size/breakpoints.json5",
135
135
  "isSource": true,
136
136
  "original": {
137
137
  "$value": "1400px",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "control-minTarget-auto": {
3
- "filePath": "src/tokens/functional/size/size-coarse.json",
3
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "{base.size.44}",
@@ -13,7 +13,7 @@
13
13
  "type": "dimension"
14
14
  },
15
15
  "controlStack-small-gap-auto": {
16
- "filePath": "src/tokens/functional/size/size-coarse.json",
16
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
17
17
  "isSource": true,
18
18
  "original": {
19
19
  "$value": "{base.size.16}",
@@ -26,7 +26,7 @@
26
26
  "type": "dimension"
27
27
  },
28
28
  "controlStack-medium-gap-auto": {
29
- "filePath": "src/tokens/functional/size/size-coarse.json",
29
+ "filePath": "src/tokens/functional/size/size-coarse.json5",
30
30
  "isSource": true,
31
31
  "original": {
32
32
  "$value": "{base.size.12}",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "control-minTarget-auto": {
3
- "filePath": "src/tokens/functional/size/size-fine.json",
3
+ "filePath": "src/tokens/functional/size/size-fine.json5",
4
4
  "isSource": true,
5
5
  "original": {
6
6
  "$value": "{base.size.16}",
@@ -13,7 +13,7 @@
13
13
  "type": "dimension"
14
14
  },
15
15
  "controlStack-small-gap-auto": {
16
- "filePath": "src/tokens/functional/size/size-fine.json",
16
+ "filePath": "src/tokens/functional/size/size-fine.json5",
17
17
  "isSource": true,
18
18
  "original": {
19
19
  "$value": "{base.size.8}",
@@ -26,7 +26,7 @@
26
26
  "type": "dimension"
27
27
  },
28
28
  "controlStack-medium-gap-auto": {
29
- "filePath": "src/tokens/functional/size/size-fine.json",
29
+ "filePath": "src/tokens/functional/size/size-fine.json5",
30
30
  "isSource": true,
31
31
  "original": {
32
32
  "$value": "{base.size.8}",