@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
@@ -1,64 +1,4 @@
1
1
  {
2
- "base-easing-linear": {
3
- "$value": [0, 0, 1, 1],
4
- "$type": "cubicBezier",
5
- "$description": "Ideal for non-movement properties, like opacity or background color.",
6
- "filePath": "src/tokens/base/motion/easing.json5",
7
- "isSource": true,
8
- "original": {
9
- "$value": [0, 0, 1, 1],
10
- "$type": "cubicBezier",
11
- "$description": "Ideal for non-movement properties, like opacity or background color."
12
- },
13
- "name": "base-easing-linear",
14
- "attributes": {},
15
- "path": ["base", "easing", "linear"]
16
- },
17
- "base-easing-easeIn": {
18
- "$value": [0.7, 0.1, 0.75, 0.9],
19
- "$type": "cubicBezier",
20
- "$description": "Ideal for movement that starts on the page and ends off the page.",
21
- "filePath": "src/tokens/base/motion/easing.json5",
22
- "isSource": true,
23
- "original": {
24
- "$value": [0.7, 0.1, 0.75, 0.9],
25
- "$type": "cubicBezier",
26
- "$description": "Ideal for movement that starts on the page and ends off the page."
27
- },
28
- "name": "base-easing-easeIn",
29
- "attributes": {},
30
- "path": ["base", "easing", "easeIn"]
31
- },
32
- "base-easing-easeOut": {
33
- "$value": [0.16, 1, 0.3, 1],
34
- "$type": "cubicBezier",
35
- "$description": "Ideal for movement that starts off the page and ends on the page.",
36
- "filePath": "src/tokens/base/motion/easing.json5",
37
- "isSource": true,
38
- "original": {
39
- "$value": [0.16, 1, 0.3, 1],
40
- "$type": "cubicBezier",
41
- "$description": "Ideal for movement that starts off the page and ends on the page."
42
- },
43
- "name": "base-easing-easeOut",
44
- "attributes": {},
45
- "path": ["base", "easing", "easeOut"]
46
- },
47
- "base-easing-easeInOut": {
48
- "$value": [0.6, 0, 0.2, 1],
49
- "$type": "cubicBezier",
50
- "$description": "Ideal for movement that starts and ends on the page.",
51
- "filePath": "src/tokens/base/motion/easing.json5",
52
- "isSource": true,
53
- "original": {
54
- "$value": [0.6, 0, 0.2, 1],
55
- "$type": "cubicBezier",
56
- "$description": "Ideal for movement that starts and ends on the page."
57
- },
58
- "name": "base-easing-easeInOut",
59
- "attributes": {},
60
- "path": ["base", "easing", "easeInOut"]
61
- },
62
2
  "base-duration-0": {
63
3
  "$value": "0ms",
64
4
  "$type": "duration",
@@ -70,20 +10,22 @@
70
10
  },
71
11
  "name": "base-duration-0",
72
12
  "attributes": {},
73
- "path": ["base", "duration", "0"]
13
+ "path": ["base", "duration", "0"],
14
+ "key": "{base.duration.0}"
74
15
  },
75
- "base-duration-75": {
76
- "$value": "75ms",
16
+ "base-duration-1000": {
17
+ "$value": "1000ms",
77
18
  "$type": "duration",
78
19
  "filePath": "src/tokens/base/motion/timing.json5",
79
20
  "isSource": true,
80
21
  "original": {
81
- "$value": "75ms",
22
+ "$value": "1000ms",
82
23
  "$type": "duration"
83
24
  },
84
- "name": "base-duration-75",
25
+ "name": "base-duration-1000",
85
26
  "attributes": {},
86
- "path": ["base", "duration", "75"]
27
+ "path": ["base", "duration", "1000"],
28
+ "key": "{base.duration.1000}"
87
29
  },
88
30
  "base-duration-200": {
89
31
  "$value": "200ms",
@@ -96,7 +38,8 @@
96
38
  },
97
39
  "name": "base-duration-200",
98
40
  "attributes": {},
99
- "path": ["base", "duration", "200"]
41
+ "path": ["base", "duration", "200"],
42
+ "key": "{base.duration.200}"
100
43
  },
101
44
  "base-duration-300": {
102
45
  "$value": "300ms",
@@ -109,7 +52,8 @@
109
52
  },
110
53
  "name": "base-duration-300",
111
54
  "attributes": {},
112
- "path": ["base", "duration", "300"]
55
+ "path": ["base", "duration", "300"],
56
+ "key": "{base.duration.300}"
113
57
  },
114
58
  "base-duration-400": {
115
59
  "$value": "400ms",
@@ -122,7 +66,8 @@
122
66
  },
123
67
  "name": "base-duration-400",
124
68
  "attributes": {},
125
- "path": ["base", "duration", "400"]
69
+ "path": ["base", "duration", "400"],
70
+ "key": "{base.duration.400}"
126
71
  },
127
72
  "base-duration-500": {
128
73
  "$value": "500ms",
@@ -135,7 +80,8 @@
135
80
  },
136
81
  "name": "base-duration-500",
137
82
  "attributes": {},
138
- "path": ["base", "duration", "500"]
83
+ "path": ["base", "duration", "500"],
84
+ "key": "{base.duration.500}"
139
85
  },
140
86
  "base-duration-600": {
141
87
  "$value": "600ms",
@@ -148,7 +94,8 @@
148
94
  },
149
95
  "name": "base-duration-600",
150
96
  "attributes": {},
151
- "path": ["base", "duration", "600"]
97
+ "path": ["base", "duration", "600"],
98
+ "key": "{base.duration.600}"
152
99
  },
153
100
  "base-duration-700": {
154
101
  "$value": "700ms",
@@ -161,7 +108,22 @@
161
108
  },
162
109
  "name": "base-duration-700",
163
110
  "attributes": {},
164
- "path": ["base", "duration", "700"]
111
+ "path": ["base", "duration", "700"],
112
+ "key": "{base.duration.700}"
113
+ },
114
+ "base-duration-75": {
115
+ "$value": "75ms",
116
+ "$type": "duration",
117
+ "filePath": "src/tokens/base/motion/timing.json5",
118
+ "isSource": true,
119
+ "original": {
120
+ "$value": "75ms",
121
+ "$type": "duration"
122
+ },
123
+ "name": "base-duration-75",
124
+ "attributes": {},
125
+ "path": ["base", "duration", "75"],
126
+ "key": "{base.duration.75}"
165
127
  },
166
128
  "base-duration-800": {
167
129
  "$value": "800ms",
@@ -174,7 +136,8 @@
174
136
  },
175
137
  "name": "base-duration-800",
176
138
  "attributes": {},
177
- "path": ["base", "duration", "800"]
139
+ "path": ["base", "duration", "800"],
140
+ "key": "{base.duration.800}"
178
141
  },
179
142
  "base-duration-900": {
180
143
  "$value": "900ms",
@@ -187,19 +150,71 @@
187
150
  },
188
151
  "name": "base-duration-900",
189
152
  "attributes": {},
190
- "path": ["base", "duration", "900"]
153
+ "path": ["base", "duration", "900"],
154
+ "key": "{base.duration.900}"
191
155
  },
192
- "base-duration-1000": {
193
- "$value": "1000ms",
194
- "$type": "duration",
195
- "filePath": "src/tokens/base/motion/timing.json5",
156
+ "base-easing-easeIn": {
157
+ "$value": [0.7, 0.1, 0.75, 0.9],
158
+ "$type": "cubicBezier",
159
+ "$description": "Ideal for movement that starts on the page and ends off the page.",
160
+ "filePath": "src/tokens/base/motion/easing.json5",
196
161
  "isSource": true,
197
162
  "original": {
198
- "$value": "1000ms",
199
- "$type": "duration"
163
+ "$value": [0.7, 0.1, 0.75, 0.9],
164
+ "$type": "cubicBezier",
165
+ "$description": "Ideal for movement that starts on the page and ends off the page."
200
166
  },
201
- "name": "base-duration-1000",
167
+ "name": "base-easing-easeIn",
168
+ "attributes": {},
169
+ "path": ["base", "easing", "easeIn"],
170
+ "key": "{base.easing.easeIn}"
171
+ },
172
+ "base-easing-easeInOut": {
173
+ "$value": [0.6, 0, 0.2, 1],
174
+ "$type": "cubicBezier",
175
+ "$description": "Ideal for movement that starts and ends on the page.",
176
+ "filePath": "src/tokens/base/motion/easing.json5",
177
+ "isSource": true,
178
+ "original": {
179
+ "$value": [0.6, 0, 0.2, 1],
180
+ "$type": "cubicBezier",
181
+ "$description": "Ideal for movement that starts and ends on the page."
182
+ },
183
+ "name": "base-easing-easeInOut",
184
+ "attributes": {},
185
+ "path": ["base", "easing", "easeInOut"],
186
+ "key": "{base.easing.easeInOut}"
187
+ },
188
+ "base-easing-easeOut": {
189
+ "$value": [0.16, 1, 0.3, 1],
190
+ "$type": "cubicBezier",
191
+ "$description": "Ideal for movement that starts off the page and ends on the page.",
192
+ "filePath": "src/tokens/base/motion/easing.json5",
193
+ "isSource": true,
194
+ "original": {
195
+ "$value": [0.16, 1, 0.3, 1],
196
+ "$type": "cubicBezier",
197
+ "$description": "Ideal for movement that starts off the page and ends on the page."
198
+ },
199
+ "name": "base-easing-easeOut",
200
+ "attributes": {},
201
+ "path": ["base", "easing", "easeOut"],
202
+ "key": "{base.easing.easeOut}"
203
+ },
204
+ "base-easing-linear": {
205
+ "$value": [0, 0, 1, 1],
206
+ "$type": "cubicBezier",
207
+ "$description": "Ideal for non-movement properties, like opacity or background color.",
208
+ "filePath": "src/tokens/base/motion/easing.json5",
209
+ "isSource": true,
210
+ "original": {
211
+ "$value": [0, 0, 1, 1],
212
+ "$type": "cubicBezier",
213
+ "$description": "Ideal for non-movement properties, like opacity or background color."
214
+ },
215
+ "name": "base-easing-linear",
202
216
  "attributes": {},
203
- "path": ["base", "duration", "1000"]
217
+ "path": ["base", "easing", "linear"],
218
+ "key": "{base.easing.linear}"
204
219
  }
205
220
  }
@@ -1,31 +1,6 @@
1
1
  {
2
- "base-size-2": {
3
- "$value": ["0.125rem", "2px"],
4
- "$type": "dimension",
5
- "$extensions": {
6
- "org.primer.figma": {
7
- "collection": "base/size",
8
- "scopes": ["size"]
9
- }
10
- },
11
- "filePath": "src/tokens/base/size/size.json5",
12
- "isSource": true,
13
- "original": {
14
- "$value": "2px",
15
- "$type": "dimension",
16
- "$extensions": {
17
- "org.primer.figma": {
18
- "collection": "base/size",
19
- "scopes": ["size"]
20
- }
21
- }
22
- },
23
- "name": "base-size-2",
24
- "attributes": {},
25
- "path": ["base", "size", "2"]
26
- },
27
- "base-size-4": {
28
- "$value": ["0.25rem", "4px"],
2
+ "base-size-112": {
3
+ "$value": ["7rem", "112px"],
29
4
  "$type": "dimension",
30
5
  "$extensions": {
31
6
  "org.primer.figma": {
@@ -36,7 +11,7 @@
36
11
  "filePath": "src/tokens/base/size/size.json5",
37
12
  "isSource": true,
38
13
  "original": {
39
- "$value": "4px",
14
+ "$value": "112px",
40
15
  "$type": "dimension",
41
16
  "$extensions": {
42
17
  "org.primer.figma": {
@@ -45,12 +20,13 @@
45
20
  }
46
21
  }
47
22
  },
48
- "name": "base-size-4",
23
+ "name": "base-size-112",
49
24
  "attributes": {},
50
- "path": ["base", "size", "4"]
25
+ "path": ["base", "size", "112"],
26
+ "key": "{base.size.112}"
51
27
  },
52
- "base-size-6": {
53
- "$value": ["0.375rem", "6px"],
28
+ "base-size-12": {
29
+ "$value": ["0.75rem", "12px"],
54
30
  "$type": "dimension",
55
31
  "$extensions": {
56
32
  "org.primer.figma": {
@@ -61,7 +37,7 @@
61
37
  "filePath": "src/tokens/base/size/size.json5",
62
38
  "isSource": true,
63
39
  "original": {
64
- "$value": "6px",
40
+ "$value": "12px",
65
41
  "$type": "dimension",
66
42
  "$extensions": {
67
43
  "org.primer.figma": {
@@ -70,12 +46,13 @@
70
46
  }
71
47
  }
72
48
  },
73
- "name": "base-size-6",
49
+ "name": "base-size-12",
74
50
  "attributes": {},
75
- "path": ["base", "size", "6"]
51
+ "path": ["base", "size", "12"],
52
+ "key": "{base.size.12}"
76
53
  },
77
- "base-size-8": {
78
- "$value": ["0.5rem", "8px"],
54
+ "base-size-128": {
55
+ "$value": ["8rem", "128px"],
79
56
  "$type": "dimension",
80
57
  "$extensions": {
81
58
  "org.primer.figma": {
@@ -86,7 +63,7 @@
86
63
  "filePath": "src/tokens/base/size/size.json5",
87
64
  "isSource": true,
88
65
  "original": {
89
- "$value": "8px",
66
+ "$value": "128px",
90
67
  "$type": "dimension",
91
68
  "$extensions": {
92
69
  "org.primer.figma": {
@@ -95,12 +72,13 @@
95
72
  }
96
73
  }
97
74
  },
98
- "name": "base-size-8",
75
+ "name": "base-size-128",
99
76
  "attributes": {},
100
- "path": ["base", "size", "8"]
77
+ "path": ["base", "size", "128"],
78
+ "key": "{base.size.128}"
101
79
  },
102
- "base-size-12": {
103
- "$value": ["0.75rem", "12px"],
80
+ "base-size-16": {
81
+ "$value": ["1rem", "16px"],
104
82
  "$type": "dimension",
105
83
  "$extensions": {
106
84
  "org.primer.figma": {
@@ -111,7 +89,7 @@
111
89
  "filePath": "src/tokens/base/size/size.json5",
112
90
  "isSource": true,
113
91
  "original": {
114
- "$value": "12px",
92
+ "$value": "16px",
115
93
  "$type": "dimension",
116
94
  "$extensions": {
117
95
  "org.primer.figma": {
@@ -120,12 +98,13 @@
120
98
  }
121
99
  }
122
100
  },
123
- "name": "base-size-12",
101
+ "name": "base-size-16",
124
102
  "attributes": {},
125
- "path": ["base", "size", "12"]
103
+ "path": ["base", "size", "16"],
104
+ "key": "{base.size.16}"
126
105
  },
127
- "base-size-16": {
128
- "$value": ["1rem", "16px"],
106
+ "base-size-2": {
107
+ "$value": ["0.125rem", "2px"],
129
108
  "$type": "dimension",
130
109
  "$extensions": {
131
110
  "org.primer.figma": {
@@ -136,7 +115,7 @@
136
115
  "filePath": "src/tokens/base/size/size.json5",
137
116
  "isSource": true,
138
117
  "original": {
139
- "$value": "16px",
118
+ "$value": "2px",
140
119
  "$type": "dimension",
141
120
  "$extensions": {
142
121
  "org.primer.figma": {
@@ -145,9 +124,10 @@
145
124
  }
146
125
  }
147
126
  },
148
- "name": "base-size-16",
127
+ "name": "base-size-2",
149
128
  "attributes": {},
150
- "path": ["base", "size", "16"]
129
+ "path": ["base", "size", "2"],
130
+ "key": "{base.size.2}"
151
131
  },
152
132
  "base-size-20": {
153
133
  "$value": ["1.25rem", "20px"],
@@ -172,7 +152,8 @@
172
152
  },
173
153
  "name": "base-size-20",
174
154
  "attributes": {},
175
- "path": ["base", "size", "20"]
155
+ "path": ["base", "size", "20"],
156
+ "key": "{base.size.20}"
176
157
  },
177
158
  "base-size-24": {
178
159
  "$value": ["1.5rem", "24px"],
@@ -197,7 +178,8 @@
197
178
  },
198
179
  "name": "base-size-24",
199
180
  "attributes": {},
200
- "path": ["base", "size", "24"]
181
+ "path": ["base", "size", "24"],
182
+ "key": "{base.size.24}"
201
183
  },
202
184
  "base-size-28": {
203
185
  "$value": ["1.75rem", "28px"],
@@ -222,7 +204,8 @@
222
204
  },
223
205
  "name": "base-size-28",
224
206
  "attributes": {},
225
- "path": ["base", "size", "28"]
207
+ "path": ["base", "size", "28"],
208
+ "key": "{base.size.28}"
226
209
  },
227
210
  "base-size-32": {
228
211
  "$value": ["2rem", "32px"],
@@ -247,7 +230,8 @@
247
230
  },
248
231
  "name": "base-size-32",
249
232
  "attributes": {},
250
- "path": ["base", "size", "32"]
233
+ "path": ["base", "size", "32"],
234
+ "key": "{base.size.32}"
251
235
  },
252
236
  "base-size-36": {
253
237
  "$value": ["2.25rem", "36px"],
@@ -272,7 +256,34 @@
272
256
  },
273
257
  "name": "base-size-36",
274
258
  "attributes": {},
275
- "path": ["base", "size", "36"]
259
+ "path": ["base", "size", "36"],
260
+ "key": "{base.size.36}"
261
+ },
262
+ "base-size-4": {
263
+ "$value": ["0.25rem", "4px"],
264
+ "$type": "dimension",
265
+ "$extensions": {
266
+ "org.primer.figma": {
267
+ "collection": "base/size",
268
+ "scopes": ["size"]
269
+ }
270
+ },
271
+ "filePath": "src/tokens/base/size/size.json5",
272
+ "isSource": true,
273
+ "original": {
274
+ "$value": "4px",
275
+ "$type": "dimension",
276
+ "$extensions": {
277
+ "org.primer.figma": {
278
+ "collection": "base/size",
279
+ "scopes": ["size"]
280
+ }
281
+ }
282
+ },
283
+ "name": "base-size-4",
284
+ "attributes": {},
285
+ "path": ["base", "size", "4"],
286
+ "key": "{base.size.4}"
276
287
  },
277
288
  "base-size-40": {
278
289
  "$value": ["2.5rem", "40px"],
@@ -297,7 +308,8 @@
297
308
  },
298
309
  "name": "base-size-40",
299
310
  "attributes": {},
300
- "path": ["base", "size", "40"]
311
+ "path": ["base", "size", "40"],
312
+ "key": "{base.size.40}"
301
313
  },
302
314
  "base-size-44": {
303
315
  "$value": ["2.75rem", "44px"],
@@ -322,7 +334,8 @@
322
334
  },
323
335
  "name": "base-size-44",
324
336
  "attributes": {},
325
- "path": ["base", "size", "44"]
337
+ "path": ["base", "size", "44"],
338
+ "key": "{base.size.44}"
326
339
  },
327
340
  "base-size-48": {
328
341
  "$value": ["3rem", "48px"],
@@ -347,10 +360,11 @@
347
360
  },
348
361
  "name": "base-size-48",
349
362
  "attributes": {},
350
- "path": ["base", "size", "48"]
363
+ "path": ["base", "size", "48"],
364
+ "key": "{base.size.48}"
351
365
  },
352
- "base-size-64": {
353
- "$value": ["4rem", "64px"],
366
+ "base-size-6": {
367
+ "$value": ["0.375rem", "6px"],
354
368
  "$type": "dimension",
355
369
  "$extensions": {
356
370
  "org.primer.figma": {
@@ -361,7 +375,7 @@
361
375
  "filePath": "src/tokens/base/size/size.json5",
362
376
  "isSource": true,
363
377
  "original": {
364
- "$value": "64px",
378
+ "$value": "6px",
365
379
  "$type": "dimension",
366
380
  "$extensions": {
367
381
  "org.primer.figma": {
@@ -370,12 +384,13 @@
370
384
  }
371
385
  }
372
386
  },
373
- "name": "base-size-64",
387
+ "name": "base-size-6",
374
388
  "attributes": {},
375
- "path": ["base", "size", "64"]
389
+ "path": ["base", "size", "6"],
390
+ "key": "{base.size.6}"
376
391
  },
377
- "base-size-80": {
378
- "$value": ["5rem", "80px"],
392
+ "base-size-64": {
393
+ "$value": ["4rem", "64px"],
379
394
  "$type": "dimension",
380
395
  "$extensions": {
381
396
  "org.primer.figma": {
@@ -386,7 +401,7 @@
386
401
  "filePath": "src/tokens/base/size/size.json5",
387
402
  "isSource": true,
388
403
  "original": {
389
- "$value": "80px",
404
+ "$value": "64px",
390
405
  "$type": "dimension",
391
406
  "$extensions": {
392
407
  "org.primer.figma": {
@@ -395,12 +410,13 @@
395
410
  }
396
411
  }
397
412
  },
398
- "name": "base-size-80",
413
+ "name": "base-size-64",
399
414
  "attributes": {},
400
- "path": ["base", "size", "80"]
415
+ "path": ["base", "size", "64"],
416
+ "key": "{base.size.64}"
401
417
  },
402
- "base-size-96": {
403
- "$value": ["6rem", "96px"],
418
+ "base-size-8": {
419
+ "$value": ["0.5rem", "8px"],
404
420
  "$type": "dimension",
405
421
  "$extensions": {
406
422
  "org.primer.figma": {
@@ -411,7 +427,7 @@
411
427
  "filePath": "src/tokens/base/size/size.json5",
412
428
  "isSource": true,
413
429
  "original": {
414
- "$value": "96px",
430
+ "$value": "8px",
415
431
  "$type": "dimension",
416
432
  "$extensions": {
417
433
  "org.primer.figma": {
@@ -420,12 +436,13 @@
420
436
  }
421
437
  }
422
438
  },
423
- "name": "base-size-96",
439
+ "name": "base-size-8",
424
440
  "attributes": {},
425
- "path": ["base", "size", "96"]
441
+ "path": ["base", "size", "8"],
442
+ "key": "{base.size.8}"
426
443
  },
427
- "base-size-112": {
428
- "$value": ["7rem", "112px"],
444
+ "base-size-80": {
445
+ "$value": ["5rem", "80px"],
429
446
  "$type": "dimension",
430
447
  "$extensions": {
431
448
  "org.primer.figma": {
@@ -436,7 +453,7 @@
436
453
  "filePath": "src/tokens/base/size/size.json5",
437
454
  "isSource": true,
438
455
  "original": {
439
- "$value": "112px",
456
+ "$value": "80px",
440
457
  "$type": "dimension",
441
458
  "$extensions": {
442
459
  "org.primer.figma": {
@@ -445,12 +462,13 @@
445
462
  }
446
463
  }
447
464
  },
448
- "name": "base-size-112",
465
+ "name": "base-size-80",
449
466
  "attributes": {},
450
- "path": ["base", "size", "112"]
467
+ "path": ["base", "size", "80"],
468
+ "key": "{base.size.80}"
451
469
  },
452
- "base-size-128": {
453
- "$value": ["8rem", "128px"],
470
+ "base-size-96": {
471
+ "$value": ["6rem", "96px"],
454
472
  "$type": "dimension",
455
473
  "$extensions": {
456
474
  "org.primer.figma": {
@@ -461,7 +479,7 @@
461
479
  "filePath": "src/tokens/base/size/size.json5",
462
480
  "isSource": true,
463
481
  "original": {
464
- "$value": "128px",
482
+ "$value": "96px",
465
483
  "$type": "dimension",
466
484
  "$extensions": {
467
485
  "org.primer.figma": {
@@ -470,8 +488,9 @@
470
488
  }
471
489
  }
472
490
  },
473
- "name": "base-size-128",
491
+ "name": "base-size-96",
474
492
  "attributes": {},
475
- "path": ["base", "size", "128"]
493
+ "path": ["base", "size", "96"],
494
+ "key": "{base.size.96}"
476
495
  }
477
496
  }