@primer/primitives 10.2.0 → 10.3.0-rc.22c9c6cf

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 (123) hide show
  1. package/dist/build/formats/cssCustomMedia.js +2 -2
  2. package/dist/build/formats/jsonOneDimensional.js +2 -1
  3. package/dist/build/platforms/css.js +5 -2
  4. package/dist/build/platforms/figma.js +40 -36
  5. package/dist/build/preprocessors/themeOverrides.js +7 -4
  6. package/dist/build/schemas/collections.d.ts +1 -1
  7. package/dist/build/schemas/colorToken.d.ts +471 -65
  8. package/dist/build/schemas/colorToken.js +18 -15
  9. package/dist/build/schemas/shadowToken.js +2 -2
  10. package/dist/build/transformers/colorAlphaToCss.d.ts +1 -1
  11. package/dist/build/transformers/colorToHex.js +3 -3
  12. package/dist/build/transformers/colorToRgbAlpha.js +2 -2
  13. package/dist/build/transformers/figmaAttributes.js +2 -1
  14. package/dist/build/transformers/shadowToCss.js +2 -2
  15. package/dist/build/transformers/utilities/alpha.d.ts +2 -2
  16. package/dist/build/transformers/utilities/alpha.js +3 -3
  17. package/dist/build/types/styleDictionaryConfigGenerator.d.ts +1 -1
  18. package/dist/build/utilities/asArray.d.ts +1 -0
  19. package/dist/build/utilities/asArray.js +1 -0
  20. package/dist/build/utilities/log.d.ts +6 -0
  21. package/dist/build/utilities/log.js +34 -0
  22. package/dist/css/functional/size/border.css +5 -5
  23. package/dist/css/functional/size/size.css +15 -15
  24. package/dist/css/functional/size/viewport.css +2 -2
  25. package/dist/css/functional/themes/dark-colorblind.css +408 -408
  26. package/dist/css/functional/themes/dark-dimmed.css +390 -390
  27. package/dist/css/functional/themes/dark-high-contrast.css +412 -412
  28. package/dist/css/functional/themes/dark-tritanopia.css +406 -406
  29. package/dist/css/functional/themes/dark.css +416 -416
  30. package/dist/css/functional/themes/light-colorblind.css +444 -444
  31. package/dist/css/functional/themes/light-high-contrast.css +438 -438
  32. package/dist/css/functional/themes/light-tritanopia.css +432 -432
  33. package/dist/css/functional/themes/light.css +444 -444
  34. package/dist/css/primitives.css +20 -20
  35. package/dist/docs/base/motion/motion.json +88 -73
  36. package/dist/docs/base/size/size.json +94 -75
  37. package/dist/docs/base/typography/typography.json +14 -10
  38. package/dist/docs/functional/motion/motion.json +19 -15
  39. package/dist/docs/functional/size/border.json +139 -125
  40. package/dist/docs/functional/size/breakpoints.json +31 -25
  41. package/dist/docs/functional/size/size-coarse.json +13 -10
  42. package/dist/docs/functional/size/size-fine.json +9 -6
  43. package/dist/docs/functional/size/size.json +499 -433
  44. package/dist/docs/functional/size/viewport.json +32 -26
  45. package/dist/docs/functional/themes/dark-colorblind.json +7846 -6530
  46. package/dist/docs/functional/themes/dark-dimmed.json +7774 -6498
  47. package/dist/docs/functional/themes/dark-high-contrast.json +8121 -6737
  48. package/dist/docs/functional/themes/dark-tritanopia.json +7817 -6543
  49. package/dist/docs/functional/themes/dark.json +7772 -6562
  50. package/dist/docs/functional/themes/light-colorblind.json +7753 -6455
  51. package/dist/docs/functional/themes/light-high-contrast.json +7983 -6643
  52. package/dist/docs/functional/themes/light-tritanopia.json +7732 -6454
  53. package/dist/docs/functional/themes/light.json +7658 -6450
  54. package/dist/docs/functional/typography/typography.json +518 -472
  55. package/dist/figma/themes/dark-colorblind.json +5704 -5570
  56. package/dist/figma/themes/dark-dimmed.json +5204 -5122
  57. package/dist/figma/themes/dark-high-contrast.json +4381 -4166
  58. package/dist/figma/themes/dark-tritanopia.json +5354 -5271
  59. package/dist/figma/themes/dark.json +5505 -5504
  60. package/dist/figma/themes/light-colorblind.json +5666 -5567
  61. package/dist/figma/themes/light-high-contrast.json +4277 -4115
  62. package/dist/figma/themes/light-tritanopia.json +5071 -4991
  63. package/dist/figma/themes/light.json +4808 -4808
  64. package/dist/internalCss/dark-colorblind.css +1148 -1148
  65. package/dist/internalCss/dark-dimmed.css +1138 -1138
  66. package/dist/internalCss/dark-high-contrast.css +1154 -1154
  67. package/dist/internalCss/dark-tritanopia.css +1148 -1148
  68. package/dist/internalCss/dark.css +1150 -1150
  69. package/dist/internalCss/light-colorblind.css +1152 -1152
  70. package/dist/internalCss/light-high-contrast.css +1166 -1166
  71. package/dist/internalCss/light-tritanopia.css +1156 -1156
  72. package/dist/internalCss/light.css +1158 -1158
  73. package/dist/styleLint/base/motion/motion.json +97 -82
  74. package/dist/styleLint/base/size/size.json +102 -83
  75. package/dist/styleLint/base/typography/typography.json +16 -12
  76. package/dist/styleLint/functional/motion/motion.json +22 -18
  77. package/dist/styleLint/functional/size/border.json +140 -126
  78. package/dist/styleLint/functional/size/breakpoints.json +32 -26
  79. package/dist/styleLint/functional/size/size-coarse.json +14 -11
  80. package/dist/styleLint/functional/size/size-fine.json +10 -7
  81. package/dist/styleLint/functional/size/size.json +486 -420
  82. package/dist/styleLint/functional/size/viewport.json +36 -30
  83. package/dist/styleLint/functional/themes/dark-colorblind.json +7601 -6285
  84. package/dist/styleLint/functional/themes/dark-dimmed.json +7984 -6708
  85. package/dist/styleLint/functional/themes/dark-high-contrast.json +8150 -6766
  86. package/dist/styleLint/functional/themes/dark-tritanopia.json +7780 -6506
  87. package/dist/styleLint/functional/themes/dark.json +7689 -6479
  88. package/dist/styleLint/functional/themes/light-colorblind.json +7756 -6458
  89. package/dist/styleLint/functional/themes/light-high-contrast.json +8135 -6795
  90. package/dist/styleLint/functional/themes/light-tritanopia.json +7642 -6364
  91. package/dist/styleLint/functional/themes/light.json +7552 -6344
  92. package/dist/styleLint/functional/typography/typography.json +520 -474
  93. package/package.json +2 -2
  94. package/src/tokens/component/diffBlob.json5 +387 -0
  95. package/src/tokens/component/header.json5 +65 -0
  96. package/src/tokens/component/headerSerach.json5 +32 -0
  97. package/src/tokens/component/highlight.json5 +23 -0
  98. package/src/tokens/component/overlay.json5 +68 -0
  99. package/src/tokens/component/page.json5 +20 -0
  100. package/src/tokens/component/reactionButton.json5 +78 -0
  101. package/src/tokens/component/skeletonLoader.json5 +29 -0
  102. package/src/tokens/component/timelineBadge.json5 +19 -0
  103. package/src/tokens/functional/color/dark/app-dark.json5 +0 -399
  104. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -35
  105. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -92
  106. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -63
  107. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -37
  108. package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -194
  109. package/src/tokens/functional/color/light/app-light.json5 +0 -364
  110. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -70
  111. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +15 -76
  112. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -71
  113. package/src/tokens/functional/color/light/patterns-light.json5 +1 -192
  114. package/dist/figma/figma.json +0 -133
  115. package/dist/figma/shadows/dark-colorblind.json +0 -1152
  116. package/dist/figma/shadows/dark-dimmed.json +0 -1152
  117. package/dist/figma/shadows/dark-high-contrast.json +0 -1152
  118. package/dist/figma/shadows/dark-tritanopia.json +0 -1152
  119. package/dist/figma/shadows/dark.json +0 -1152
  120. package/dist/figma/shadows/light-colorblind.json +0 -1052
  121. package/dist/figma/shadows/light-high-contrast.json +0 -1052
  122. package/dist/figma/shadows/light-tritanopia.json +0 -1052
  123. package/dist/figma/shadows/light.json +0 -1052
@@ -22,10 +22,11 @@
22
22
  },
23
23
  "name": "base-text-weight-light",
24
24
  "attributes": {},
25
- "path": ["base", "text", "weight", "light"]
25
+ "path": ["base", "text", "weight", "light"],
26
+ "key": "{base.text.weight.light}"
26
27
  },
27
- "base-text-weight-normal": {
28
- "$value": 400,
28
+ "base-text-weight-medium": {
29
+ "$value": 500,
29
30
  "$type": "fontWeight",
30
31
  "$extensions": {
31
32
  "org.primer.figma": {
@@ -36,7 +37,7 @@
36
37
  "filePath": "src/tokens/base/typography/typography.json5",
37
38
  "isSource": true,
38
39
  "original": {
39
- "$value": 400,
40
+ "$value": 500,
40
41
  "$type": "fontWeight",
41
42
  "$extensions": {
42
43
  "org.primer.figma": {
@@ -45,12 +46,13 @@
45
46
  }
46
47
  }
47
48
  },
48
- "name": "base-text-weight-normal",
49
+ "name": "base-text-weight-medium",
49
50
  "attributes": {},
50
- "path": ["base", "text", "weight", "normal"]
51
+ "path": ["base", "text", "weight", "medium"],
52
+ "key": "{base.text.weight.medium}"
51
53
  },
52
- "base-text-weight-medium": {
53
- "$value": 500,
54
+ "base-text-weight-normal": {
55
+ "$value": 400,
54
56
  "$type": "fontWeight",
55
57
  "$extensions": {
56
58
  "org.primer.figma": {
@@ -61,7 +63,7 @@
61
63
  "filePath": "src/tokens/base/typography/typography.json5",
62
64
  "isSource": true,
63
65
  "original": {
64
- "$value": 500,
66
+ "$value": 400,
65
67
  "$type": "fontWeight",
66
68
  "$extensions": {
67
69
  "org.primer.figma": {
@@ -70,9 +72,10 @@
70
72
  }
71
73
  }
72
74
  },
73
- "name": "base-text-weight-medium",
75
+ "name": "base-text-weight-normal",
74
76
  "attributes": {},
75
- "path": ["base", "text", "weight", "medium"]
77
+ "path": ["base", "text", "weight", "normal"],
78
+ "key": "{base.text.weight.normal}"
76
79
  },
77
80
  "base-text-weight-semibold": {
78
81
  "$value": 600,
@@ -97,6 +100,7 @@
97
100
  },
98
101
  "name": "base-text-weight-semibold",
99
102
  "attributes": {},
100
- "path": ["base", "text", "weight", "semibold"]
103
+ "path": ["base", "text", "weight", "semibold"],
104
+ "key": "{base.text.weight.semibold}"
101
105
  }
102
106
  }
@@ -12,7 +12,24 @@
12
12
  },
13
13
  "name": "motion-loading-delay-default",
14
14
  "attributes": {},
15
- "path": ["motion", "loading", "delay", "default"]
15
+ "path": ["motion", "loading", "delay", "default"],
16
+ "key": "{motion.loading.delay.default}"
17
+ },
18
+ "motion-skeletonLoader-shimmer-duration-scale": {
19
+ "$value": "1000ms",
20
+ "$type": "duration",
21
+ "$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)",
22
+ "filePath": "src/tokens/functional/motion/patterns.json5",
23
+ "isSource": true,
24
+ "original": {
25
+ "$value": "{base.duration.1000}",
26
+ "$type": "duration",
27
+ "$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
28
+ },
29
+ "name": "motion-skeletonLoader-shimmer-duration-scale",
30
+ "attributes": {},
31
+ "path": ["motion", "skeletonLoader", "shimmer", "duration", "scale"],
32
+ "key": "{motion.skeletonLoader.shimmer.duration.scale}"
16
33
  },
17
34
  "motion-spinner-duration-rotation": {
18
35
  "$value": "1000ms",
@@ -27,7 +44,8 @@
27
44
  },
28
45
  "name": "motion-spinner-duration-rotation",
29
46
  "attributes": {},
30
- "path": ["motion", "spinner", "duration", "rotation"]
47
+ "path": ["motion", "spinner", "duration", "rotation"],
48
+ "key": "{motion.spinner.duration.rotation}"
31
49
  },
32
50
  "motion-spinner-easing-rotation": {
33
51
  "$value": [0, 0, 1, 1],
@@ -42,21 +60,7 @@
42
60
  },
43
61
  "name": "motion-spinner-easing-rotation",
44
62
  "attributes": {},
45
- "path": ["motion", "spinner", "easing", "rotation"]
46
- },
47
- "motion-skeletonLoader-shimmer-duration-scale": {
48
- "$value": "1000ms",
49
- "$type": "duration",
50
- "$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)",
51
- "filePath": "src/tokens/functional/motion/patterns.json5",
52
- "isSource": true,
53
- "original": {
54
- "$value": "{base.duration.1000}",
55
- "$type": "duration",
56
- "$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
57
- },
58
- "name": "motion-skeletonLoader-shimmer-duration-scale",
59
- "attributes": {},
60
- "path": ["motion", "skeletonLoader", "shimmer", "duration", "scale"]
63
+ "path": ["motion", "spinner", "easing", "rotation"],
64
+ "key": "{motion.spinner.easing.rotation}"
61
65
  }
62
66
  }
@@ -1,158 +1,69 @@
1
1
  {
2
- "boxShadow-thin": {
3
- "$value": ["0.0625rem", "1px"],
4
- "$description": "Thin shadow for borders",
5
- "$type": "string",
6
- "filePath": "src/tokens/functional/size/border.json5",
7
- "isSource": true,
8
- "original": {
9
- "$value": "inset 0 0 0 {borderWidth.thin}",
10
- "$description": "Thin shadow for borders",
11
- "$type": "string"
12
- },
13
- "name": "boxShadow-thin",
14
- "attributes": {},
15
- "path": ["boxShadow", "thin"]
16
- },
17
- "boxShadow-thick": {
18
- "$value": ["0.125rem", "2px"],
19
- "$type": "string",
20
- "filePath": "src/tokens/functional/size/border.json5",
21
- "isSource": true,
22
- "original": {
23
- "$value": "inset 0 0 0 {borderWidth.thick}",
24
- "$type": "string"
25
- },
26
- "name": "boxShadow-thick",
27
- "attributes": {},
28
- "path": ["boxShadow", "thick"]
29
- },
30
- "boxShadow-thicker": {
31
- "$value": ["0.25rem", "4px"],
32
- "$type": "string",
33
- "filePath": "src/tokens/functional/size/border.json5",
34
- "isSource": true,
35
- "original": {
36
- "$value": "inset 0 0 0 {borderWidth.thicker}",
37
- "$type": "string"
38
- },
39
- "name": "boxShadow-thicker",
40
- "attributes": {},
41
- "path": ["boxShadow", "thicker"]
42
- },
43
- "borderWidth-default": {
44
- "$value": ["0.00390625rem", "0.0625px"],
45
- "$type": "dimension",
46
- "filePath": "src/tokens/functional/size/border.json5",
47
- "isSource": true,
48
- "original": {
49
- "$value": "{borderWidth.thin}",
50
- "$type": "dimension"
51
- },
52
- "name": "borderWidth-default",
53
- "attributes": {},
54
- "path": ["borderWidth", "default"]
55
- },
56
- "borderWidth-thin": {
57
- "$value": ["0.0625rem", "1px"],
58
- "$type": "dimension",
59
- "filePath": "src/tokens/functional/size/border.json5",
60
- "isSource": true,
61
- "original": {
62
- "$value": "1px",
63
- "$type": "dimension"
64
- },
65
- "name": "borderWidth-thin",
66
- "attributes": {},
67
- "path": ["borderWidth", "thin"]
68
- },
69
- "borderWidth-thick": {
70
- "$value": ["0.125rem", "2px"],
71
- "$type": "dimension",
72
- "filePath": "src/tokens/functional/size/border.json5",
73
- "isSource": true,
74
- "original": {
75
- "$value": "2px",
76
- "$type": "dimension"
77
- },
78
- "name": "borderWidth-thick",
79
- "attributes": {},
80
- "path": ["borderWidth", "thick"]
81
- },
82
- "borderWidth-thicker": {
83
- "$value": ["0.25rem", "4px"],
84
- "$type": "dimension",
85
- "filePath": "src/tokens/functional/size/border.json5",
86
- "isSource": true,
87
- "original": {
88
- "$value": "4px",
89
- "$type": "dimension"
90
- },
91
- "name": "borderWidth-thicker",
92
- "attributes": {},
93
- "path": ["borderWidth", "thicker"]
94
- },
95
- "borderRadius-small": {
96
- "$value": ["0.1875rem", "3px"],
2
+ "borderRadius-default": {
3
+ "$value": ["0.0234375rem", "0.375px"],
97
4
  "$type": "dimension",
98
5
  "$extensions": {
99
6
  "org.primer.figma": {
100
7
  "collection": "functional/size",
101
8
  "scopes": ["radius"],
102
9
  "codeSyntax": {
103
- "web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
10
+ "web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
104
11
  }
105
12
  }
106
13
  },
107
14
  "filePath": "src/tokens/functional/size/border.json5",
108
15
  "isSource": true,
109
16
  "original": {
110
- "$value": "3px",
17
+ "$value": "{borderRadius.medium}",
111
18
  "$type": "dimension",
112
19
  "$extensions": {
113
20
  "org.primer.figma": {
114
21
  "collection": "functional/size",
115
22
  "scopes": ["radius"],
116
23
  "codeSyntax": {
117
- "web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
24
+ "web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
118
25
  }
119
26
  }
120
27
  }
121
28
  },
122
- "name": "borderRadius-small",
29
+ "name": "borderRadius-default",
123
30
  "attributes": {},
124
- "path": ["borderRadius", "small"]
31
+ "path": ["borderRadius", "default"],
32
+ "key": "{borderRadius.default}"
125
33
  },
126
- "borderRadius-medium": {
127
- "$value": ["0.375rem", "6px"],
34
+ "borderRadius-full": {
35
+ "$value": ["624.9375rem", "9999px"],
128
36
  "$type": "dimension",
37
+ "$description": "Use this border radius for pill shaped elements",
129
38
  "$extensions": {
130
39
  "org.primer.figma": {
131
40
  "collection": "functional/size",
132
41
  "scopes": ["radius"],
133
42
  "codeSyntax": {
134
- "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
43
+ "web": "var(--borderRadius-full) /* utility class: .circle */"
135
44
  }
136
45
  }
137
46
  },
138
47
  "filePath": "src/tokens/functional/size/border.json5",
139
48
  "isSource": true,
140
49
  "original": {
141
- "$value": "6px",
50
+ "$value": "9999px",
142
51
  "$type": "dimension",
52
+ "$description": "Use this border radius for pill shaped elements",
143
53
  "$extensions": {
144
54
  "org.primer.figma": {
145
55
  "collection": "functional/size",
146
56
  "scopes": ["radius"],
147
57
  "codeSyntax": {
148
- "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
58
+ "web": "var(--borderRadius-full) /* utility class: .circle */"
149
59
  }
150
60
  }
151
61
  }
152
62
  },
153
- "name": "borderRadius-medium",
63
+ "name": "borderRadius-full",
154
64
  "attributes": {},
155
- "path": ["borderRadius", "medium"]
65
+ "path": ["borderRadius", "full"],
66
+ "key": "{borderRadius.full}"
156
67
  },
157
68
  "borderRadius-large": {
158
69
  "$value": ["0.75rem", "12px"],
@@ -183,71 +94,172 @@
183
94
  },
184
95
  "name": "borderRadius-large",
185
96
  "attributes": {},
186
- "path": ["borderRadius", "large"]
97
+ "path": ["borderRadius", "large"],
98
+ "key": "{borderRadius.large}"
187
99
  },
188
- "borderRadius-full": {
189
- "$value": ["624.9375rem", "9999px"],
100
+ "borderRadius-medium": {
101
+ "$value": ["0.375rem", "6px"],
190
102
  "$type": "dimension",
191
- "$description": "Use this border radius for pill shaped elements",
192
103
  "$extensions": {
193
104
  "org.primer.figma": {
194
105
  "collection": "functional/size",
195
106
  "scopes": ["radius"],
196
107
  "codeSyntax": {
197
- "web": "var(--borderRadius-full) /* utility class: .circle */"
108
+ "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
198
109
  }
199
110
  }
200
111
  },
201
112
  "filePath": "src/tokens/functional/size/border.json5",
202
113
  "isSource": true,
203
114
  "original": {
204
- "$value": "9999px",
115
+ "$value": "6px",
205
116
  "$type": "dimension",
206
- "$description": "Use this border radius for pill shaped elements",
207
117
  "$extensions": {
208
118
  "org.primer.figma": {
209
119
  "collection": "functional/size",
210
120
  "scopes": ["radius"],
211
121
  "codeSyntax": {
212
- "web": "var(--borderRadius-full) /* utility class: .circle */"
122
+ "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */"
213
123
  }
214
124
  }
215
125
  }
216
126
  },
217
- "name": "borderRadius-full",
127
+ "name": "borderRadius-medium",
218
128
  "attributes": {},
219
- "path": ["borderRadius", "full"]
129
+ "path": ["borderRadius", "medium"],
130
+ "key": "{borderRadius.medium}"
220
131
  },
221
- "borderRadius-default": {
222
- "$value": ["0.0234375rem", "0.375px"],
132
+ "borderRadius-small": {
133
+ "$value": ["0.1875rem", "3px"],
223
134
  "$type": "dimension",
224
135
  "$extensions": {
225
136
  "org.primer.figma": {
226
137
  "collection": "functional/size",
227
138
  "scopes": ["radius"],
228
139
  "codeSyntax": {
229
- "web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
140
+ "web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
230
141
  }
231
142
  }
232
143
  },
233
144
  "filePath": "src/tokens/functional/size/border.json5",
234
145
  "isSource": true,
235
146
  "original": {
236
- "$value": "{borderRadius.medium}",
147
+ "$value": "3px",
237
148
  "$type": "dimension",
238
149
  "$extensions": {
239
150
  "org.primer.figma": {
240
151
  "collection": "functional/size",
241
152
  "scopes": ["radius"],
242
153
  "codeSyntax": {
243
- "web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
154
+ "web": "var(--borderRadius-small) /* utility class: .rounded-1 */"
244
155
  }
245
156
  }
246
157
  }
247
158
  },
248
- "name": "borderRadius-default",
159
+ "name": "borderRadius-small",
160
+ "attributes": {},
161
+ "path": ["borderRadius", "small"],
162
+ "key": "{borderRadius.small}"
163
+ },
164
+ "borderWidth-default": {
165
+ "$value": ["0.00390625rem", "0.0625px"],
166
+ "$type": "dimension",
167
+ "filePath": "src/tokens/functional/size/border.json5",
168
+ "isSource": true,
169
+ "original": {
170
+ "$value": "{borderWidth.thin}",
171
+ "$type": "dimension"
172
+ },
173
+ "name": "borderWidth-default",
174
+ "attributes": {},
175
+ "path": ["borderWidth", "default"],
176
+ "key": "{borderWidth.default}"
177
+ },
178
+ "borderWidth-thick": {
179
+ "$value": ["0.125rem", "2px"],
180
+ "$type": "dimension",
181
+ "filePath": "src/tokens/functional/size/border.json5",
182
+ "isSource": true,
183
+ "original": {
184
+ "$value": "2px",
185
+ "$type": "dimension"
186
+ },
187
+ "name": "borderWidth-thick",
188
+ "attributes": {},
189
+ "path": ["borderWidth", "thick"],
190
+ "key": "{borderWidth.thick}"
191
+ },
192
+ "borderWidth-thicker": {
193
+ "$value": ["0.25rem", "4px"],
194
+ "$type": "dimension",
195
+ "filePath": "src/tokens/functional/size/border.json5",
196
+ "isSource": true,
197
+ "original": {
198
+ "$value": "4px",
199
+ "$type": "dimension"
200
+ },
201
+ "name": "borderWidth-thicker",
202
+ "attributes": {},
203
+ "path": ["borderWidth", "thicker"],
204
+ "key": "{borderWidth.thicker}"
205
+ },
206
+ "borderWidth-thin": {
207
+ "$value": ["0.0625rem", "1px"],
208
+ "$type": "dimension",
209
+ "filePath": "src/tokens/functional/size/border.json5",
210
+ "isSource": true,
211
+ "original": {
212
+ "$value": "1px",
213
+ "$type": "dimension"
214
+ },
215
+ "name": "borderWidth-thin",
216
+ "attributes": {},
217
+ "path": ["borderWidth", "thin"],
218
+ "key": "{borderWidth.thin}"
219
+ },
220
+ "boxShadow-thick": {
221
+ "$value": ["0.125rem", "2px"],
222
+ "$type": "string",
223
+ "filePath": "src/tokens/functional/size/border.json5",
224
+ "isSource": true,
225
+ "original": {
226
+ "$value": "inset 0 0 0 {borderWidth.thick}",
227
+ "$type": "string"
228
+ },
229
+ "name": "boxShadow-thick",
230
+ "attributes": {},
231
+ "path": ["boxShadow", "thick"],
232
+ "key": "{boxShadow.thick}"
233
+ },
234
+ "boxShadow-thicker": {
235
+ "$value": ["0.25rem", "4px"],
236
+ "$type": "string",
237
+ "filePath": "src/tokens/functional/size/border.json5",
238
+ "isSource": true,
239
+ "original": {
240
+ "$value": "inset 0 0 0 {borderWidth.thicker}",
241
+ "$type": "string"
242
+ },
243
+ "name": "boxShadow-thicker",
244
+ "attributes": {},
245
+ "path": ["boxShadow", "thicker"],
246
+ "key": "{boxShadow.thicker}"
247
+ },
248
+ "boxShadow-thin": {
249
+ "$value": ["0.0625rem", "1px"],
250
+ "$description": "Thin shadow for borders",
251
+ "$type": "string",
252
+ "filePath": "src/tokens/functional/size/border.json5",
253
+ "isSource": true,
254
+ "original": {
255
+ "$value": "inset 0 0 0 {borderWidth.thin}",
256
+ "$description": "Thin shadow for borders",
257
+ "$type": "string"
258
+ },
259
+ "name": "boxShadow-thin",
249
260
  "attributes": {},
250
- "path": ["borderRadius", "default"]
261
+ "path": ["boxShadow", "thin"],
262
+ "key": "{boxShadow.thin}"
251
263
  },
252
264
  "outline-focus-offset": {
253
265
  "$value": ["-0.125rem", "-2px"],
@@ -260,7 +272,8 @@
260
272
  },
261
273
  "name": "outline-focus-offset",
262
274
  "attributes": {},
263
- "path": ["outline", "focus", "offset"]
275
+ "path": ["outline", "focus", "offset"],
276
+ "key": "{outline.focus.offset}"
264
277
  },
265
278
  "outline-focus-width": {
266
279
  "$value": ["0.125rem", "2px"],
@@ -273,6 +286,7 @@
273
286
  },
274
287
  "name": "outline-focus-width",
275
288
  "attributes": {},
276
- "path": ["outline", "focus", "width"]
289
+ "path": ["outline", "focus", "width"],
290
+ "key": "{outline.focus.width}"
277
291
  }
278
292
  }
@@ -1,6 +1,6 @@
1
1
  {
2
- "breakpoint-xsmall": {
3
- "$value": ["20rem", "320px"],
2
+ "breakpoint-large": {
3
+ "$value": ["63.25rem", "1012px"],
4
4
  "$type": "dimension",
5
5
  "$extensions": {
6
6
  "org.primer.figma": {
@@ -11,7 +11,7 @@
11
11
  "filePath": "src/tokens/functional/size/breakpoints.json5",
12
12
  "isSource": true,
13
13
  "original": {
14
- "$value": "320px",
14
+ "$value": "1012px",
15
15
  "$type": "dimension",
16
16
  "$extensions": {
17
17
  "org.primer.figma": {
@@ -20,12 +20,13 @@
20
20
  }
21
21
  }
22
22
  },
23
- "name": "breakpoint-xsmall",
23
+ "name": "breakpoint-large",
24
24
  "attributes": {},
25
- "path": ["breakpoint", "xsmall"]
25
+ "path": ["breakpoint", "large"],
26
+ "key": "{breakpoint.large}"
26
27
  },
27
- "breakpoint-small": {
28
- "$value": ["34rem", "544px"],
28
+ "breakpoint-medium": {
29
+ "$value": ["48rem", "768px"],
29
30
  "$type": "dimension",
30
31
  "$extensions": {
31
32
  "org.primer.figma": {
@@ -36,7 +37,7 @@
36
37
  "filePath": "src/tokens/functional/size/breakpoints.json5",
37
38
  "isSource": true,
38
39
  "original": {
39
- "$value": "544px",
40
+ "$value": "768px",
40
41
  "$type": "dimension",
41
42
  "$extensions": {
42
43
  "org.primer.figma": {
@@ -45,12 +46,13 @@
45
46
  }
46
47
  }
47
48
  },
48
- "name": "breakpoint-small",
49
+ "name": "breakpoint-medium",
49
50
  "attributes": {},
50
- "path": ["breakpoint", "small"]
51
+ "path": ["breakpoint", "medium"],
52
+ "key": "{breakpoint.medium}"
51
53
  },
52
- "breakpoint-medium": {
53
- "$value": ["48rem", "768px"],
54
+ "breakpoint-small": {
55
+ "$value": ["34rem", "544px"],
54
56
  "$type": "dimension",
55
57
  "$extensions": {
56
58
  "org.primer.figma": {
@@ -61,7 +63,7 @@
61
63
  "filePath": "src/tokens/functional/size/breakpoints.json5",
62
64
  "isSource": true,
63
65
  "original": {
64
- "$value": "768px",
66
+ "$value": "544px",
65
67
  "$type": "dimension",
66
68
  "$extensions": {
67
69
  "org.primer.figma": {
@@ -70,12 +72,13 @@
70
72
  }
71
73
  }
72
74
  },
73
- "name": "breakpoint-medium",
75
+ "name": "breakpoint-small",
74
76
  "attributes": {},
75
- "path": ["breakpoint", "medium"]
77
+ "path": ["breakpoint", "small"],
78
+ "key": "{breakpoint.small}"
76
79
  },
77
- "breakpoint-large": {
78
- "$value": ["63.25rem", "1012px"],
80
+ "breakpoint-xlarge": {
81
+ "$value": ["80rem", "1280px"],
79
82
  "$type": "dimension",
80
83
  "$extensions": {
81
84
  "org.primer.figma": {
@@ -86,7 +89,7 @@
86
89
  "filePath": "src/tokens/functional/size/breakpoints.json5",
87
90
  "isSource": true,
88
91
  "original": {
89
- "$value": "1012px",
92
+ "$value": "1280px",
90
93
  "$type": "dimension",
91
94
  "$extensions": {
92
95
  "org.primer.figma": {
@@ -95,12 +98,13 @@
95
98
  }
96
99
  }
97
100
  },
98
- "name": "breakpoint-large",
101
+ "name": "breakpoint-xlarge",
99
102
  "attributes": {},
100
- "path": ["breakpoint", "large"]
103
+ "path": ["breakpoint", "xlarge"],
104
+ "key": "{breakpoint.xlarge}"
101
105
  },
102
- "breakpoint-xlarge": {
103
- "$value": ["80rem", "1280px"],
106
+ "breakpoint-xsmall": {
107
+ "$value": ["20rem", "320px"],
104
108
  "$type": "dimension",
105
109
  "$extensions": {
106
110
  "org.primer.figma": {
@@ -111,7 +115,7 @@
111
115
  "filePath": "src/tokens/functional/size/breakpoints.json5",
112
116
  "isSource": true,
113
117
  "original": {
114
- "$value": "1280px",
118
+ "$value": "320px",
115
119
  "$type": "dimension",
116
120
  "$extensions": {
117
121
  "org.primer.figma": {
@@ -120,9 +124,10 @@
120
124
  }
121
125
  }
122
126
  },
123
- "name": "breakpoint-xlarge",
127
+ "name": "breakpoint-xsmall",
124
128
  "attributes": {},
125
- "path": ["breakpoint", "xlarge"]
129
+ "path": ["breakpoint", "xsmall"],
130
+ "key": "{breakpoint.xsmall}"
126
131
  },
127
132
  "breakpoint-xxlarge": {
128
133
  "$value": ["87.5rem", "1400px"],
@@ -147,6 +152,7 @@
147
152
  },
148
153
  "name": "breakpoint-xxlarge",
149
154
  "attributes": {},
150
- "path": ["breakpoint", "xxlarge"]
155
+ "path": ["breakpoint", "xxlarge"],
156
+ "key": "{breakpoint.xxlarge}"
151
157
  }
152
158
  }