@primer/primitives 11.4.0 → 11.4.1-rc.4e2d1de5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN_TOKENS_GUIDE.md +185 -0
- package/DESIGN_TOKENS_SPEC.md +565 -0
- package/dist/build/formats/markdownLlmGuidelines.d.ts +7 -6
- package/dist/build/formats/markdownLlmGuidelines.js +1034 -60
- package/dist/build/schemas/borderToken.d.ts +16 -2
- package/dist/build/schemas/dimensionToken.d.ts +8 -1
- package/dist/build/schemas/dimensionValue.d.ts +24 -1
- package/dist/build/schemas/dimensionValue.js +20 -1
- package/dist/build/schemas/durationToken.d.ts +7 -1
- package/dist/build/schemas/durationValue.d.ts +11 -1
- package/dist/build/schemas/durationValue.js +13 -3
- package/dist/build/schemas/shadowToken.d.ts +672 -84
- package/dist/build/schemas/transitionToken.d.ts +14 -2
- package/dist/build/schemas/typographyToken.d.ts +32 -4
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +3 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +22 -26
- package/dist/build/transformers/dimensionToRem.d.ts +2 -1
- package/dist/build/transformers/dimensionToRem.js +21 -22
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -1
- package/dist/build/transformers/dimensionToRemPxArray.js +21 -22
- package/dist/build/transformers/durationToCss.d.ts +2 -1
- package/dist/build/transformers/durationToCss.js +18 -11
- package/dist/build/transformers/utilities/parseDimension.d.ts +12 -0
- package/dist/build/transformers/utilities/parseDimension.js +31 -0
- package/dist/build/types/dimensionTokenValue.d.ts +9 -0
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-colorblind.css +18 -14
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-dimmed.css +18 -14
- package/dist/css/functional/themes/dark-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +18 -14
- package/dist/css/functional/themes/dark-tritanopia.css +18 -14
- package/dist/css/functional/themes/dark.css +18 -14
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-colorblind.css +18 -14
- package/dist/css/functional/themes/light-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +18 -14
- package/dist/css/functional/themes/light-tritanopia.css +18 -14
- package/dist/css/functional/themes/light.css +18 -14
- package/dist/css/primitives.css +4 -0
- package/dist/docs/base/motion/motion.json +96 -24
- package/dist/docs/base/size/size.json +76 -19
- package/dist/docs/base/typography/typography.json +24 -6
- package/dist/docs/functional/size/border.json +20 -5
- package/dist/docs/functional/size/breakpoints.json +24 -6
- package/dist/docs/functional/size/radius.json +16 -4
- package/dist/docs/functional/size/size.json +60 -15
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-colorblind.json +109 -7
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-dimmed.json +109 -7
- package/dist/docs/functional/themes/dark-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +109 -7
- package/dist/docs/functional/themes/dark-tritanopia.json +109 -7
- package/dist/docs/functional/themes/dark.json +109 -7
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-colorblind.json +115 -13
- package/dist/docs/functional/themes/light-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +115 -13
- package/dist/docs/functional/themes/light-tritanopia.json +115 -13
- package/dist/docs/functional/themes/light.json +115 -13
- package/dist/docs/functional/typography/typography.json +8 -2
- package/dist/fallbacks/base/motion/motion.json +48 -12
- package/dist/figma/themes/light-colorblind.json +4 -4
- package/dist/figma/themes/light-high-contrast.json +4 -4
- package/dist/figma/themes/light-tritanopia.json +4 -4
- package/dist/figma/themes/light.json +4 -4
- package/dist/internalCss/dark-colorblind-high-contrast.css +14 -14
- package/dist/internalCss/dark-colorblind.css +14 -14
- package/dist/internalCss/dark-dimmed-high-contrast.css +14 -14
- package/dist/internalCss/dark-dimmed.css +14 -14
- package/dist/internalCss/dark-high-contrast.css +14 -14
- package/dist/internalCss/dark-tritanopia-high-contrast.css +14 -14
- package/dist/internalCss/dark-tritanopia.css +14 -14
- package/dist/internalCss/dark.css +14 -14
- package/dist/internalCss/light-colorblind-high-contrast.css +14 -14
- package/dist/internalCss/light-colorblind.css +14 -14
- package/dist/internalCss/light-high-contrast.css +14 -14
- package/dist/internalCss/light-tritanopia-high-contrast.css +14 -14
- package/dist/internalCss/light-tritanopia.css +14 -14
- package/dist/internalCss/light.css +14 -14
- package/dist/styleLint/base/motion/motion.json +96 -24
- package/dist/styleLint/base/size/size.json +76 -19
- package/dist/styleLint/base/typography/typography.json +30 -12
- package/dist/styleLint/functional/size/border.json +21 -6
- package/dist/styleLint/functional/size/breakpoints.json +24 -6
- package/dist/styleLint/functional/size/radius.json +17 -5
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +111 -66
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-colorblind.json +129 -27
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-dimmed.json +129 -27
- package/dist/styleLint/functional/themes/dark-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +129 -27
- package/dist/styleLint/functional/themes/dark-tritanopia.json +129 -27
- package/dist/styleLint/functional/themes/dark.json +129 -27
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-colorblind.json +135 -33
- package/dist/styleLint/functional/themes/light-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +135 -33
- package/dist/styleLint/functional/themes/light-tritanopia.json +135 -33
- package/dist/styleLint/functional/themes/light.json +135 -33
- package/dist/styleLint/functional/typography/typography.json +28 -22
- package/package.json +6 -5
- package/src/tokens/base/motion/timing.json5 +12 -12
- package/src/tokens/base/size/size.json5 +19 -19
- package/src/tokens/base/typography/typography.json5 +6 -6
- package/src/tokens/functional/color/bgColor.json5 +8 -0
- package/src/tokens/functional/color/display.json5 +7 -0
- package/src/tokens/functional/color/fgColor.json5 +8 -0
- package/src/tokens/functional/color/syntax.json5 +14 -0
- package/src/tokens/functional/shadow/shadow.json5 +39 -4
- package/src/tokens/functional/size/border.json5 +5 -5
- package/src/tokens/functional/size/breakpoints.json5 +6 -6
- package/src/tokens/functional/size/radius.json5 +4 -4
- package/src/tokens/functional/size/size.json5 +15 -15
- package/src/tokens/functional/typography/typography.json5 +8 -4
- package/dist/build/parsers/index.d.ts +0 -1
- package/dist/build/parsers/index.js +0 -1
- package/dist/build/parsers/w3cJsonParser.d.ts +0 -6
- package/dist/build/parsers/w3cJsonParser.js +0 -25
- package/dist/removed/testing.json5 +0 -4
- package/guidelines/color.llm.md +0 -16
- package/guidelines/guidelines.llm.md +0 -34
- package/guidelines/motion.llm.md +0 -41
- package/guidelines/spacing.llm.md +0 -20
- package/guidelines/typography.llm.md +0 -14
- package/src/tokens/removed/testing.json5 +0 -4
- package/token-guidelines.llm.md +0 -695
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
"filePath": "src/tokens/base/size/size.json5",
|
|
11
11
|
"isSource": true,
|
|
12
12
|
"original": {
|
|
13
|
-
"$value":
|
|
13
|
+
"$value": {
|
|
14
|
+
"value": 112,
|
|
15
|
+
"unit": "px"
|
|
16
|
+
},
|
|
14
17
|
"$type": "dimension",
|
|
15
18
|
"$extensions": {
|
|
16
19
|
"org.primer.figma": {
|
|
@@ -37,7 +40,10 @@
|
|
|
37
40
|
"filePath": "src/tokens/base/size/size.json5",
|
|
38
41
|
"isSource": true,
|
|
39
42
|
"original": {
|
|
40
|
-
"$value":
|
|
43
|
+
"$value": {
|
|
44
|
+
"value": 12,
|
|
45
|
+
"unit": "px"
|
|
46
|
+
},
|
|
41
47
|
"$type": "dimension",
|
|
42
48
|
"$extensions": {
|
|
43
49
|
"org.primer.figma": {
|
|
@@ -64,7 +70,10 @@
|
|
|
64
70
|
"filePath": "src/tokens/base/size/size.json5",
|
|
65
71
|
"isSource": true,
|
|
66
72
|
"original": {
|
|
67
|
-
"$value":
|
|
73
|
+
"$value": {
|
|
74
|
+
"value": 128,
|
|
75
|
+
"unit": "px"
|
|
76
|
+
},
|
|
68
77
|
"$type": "dimension",
|
|
69
78
|
"$extensions": {
|
|
70
79
|
"org.primer.figma": {
|
|
@@ -91,7 +100,10 @@
|
|
|
91
100
|
"filePath": "src/tokens/base/size/size.json5",
|
|
92
101
|
"isSource": true,
|
|
93
102
|
"original": {
|
|
94
|
-
"$value":
|
|
103
|
+
"$value": {
|
|
104
|
+
"value": 16,
|
|
105
|
+
"unit": "px"
|
|
106
|
+
},
|
|
95
107
|
"$type": "dimension",
|
|
96
108
|
"$extensions": {
|
|
97
109
|
"org.primer.figma": {
|
|
@@ -118,7 +130,10 @@
|
|
|
118
130
|
"filePath": "src/tokens/base/size/size.json5",
|
|
119
131
|
"isSource": true,
|
|
120
132
|
"original": {
|
|
121
|
-
"$value":
|
|
133
|
+
"$value": {
|
|
134
|
+
"value": 2,
|
|
135
|
+
"unit": "px"
|
|
136
|
+
},
|
|
122
137
|
"$type": "dimension",
|
|
123
138
|
"$extensions": {
|
|
124
139
|
"org.primer.figma": {
|
|
@@ -145,7 +160,10 @@
|
|
|
145
160
|
"filePath": "src/tokens/base/size/size.json5",
|
|
146
161
|
"isSource": true,
|
|
147
162
|
"original": {
|
|
148
|
-
"$value":
|
|
163
|
+
"$value": {
|
|
164
|
+
"value": 20,
|
|
165
|
+
"unit": "px"
|
|
166
|
+
},
|
|
149
167
|
"$type": "dimension",
|
|
150
168
|
"$extensions": {
|
|
151
169
|
"org.primer.figma": {
|
|
@@ -172,7 +190,10 @@
|
|
|
172
190
|
"filePath": "src/tokens/base/size/size.json5",
|
|
173
191
|
"isSource": true,
|
|
174
192
|
"original": {
|
|
175
|
-
"$value":
|
|
193
|
+
"$value": {
|
|
194
|
+
"value": 24,
|
|
195
|
+
"unit": "px"
|
|
196
|
+
},
|
|
176
197
|
"$type": "dimension",
|
|
177
198
|
"$extensions": {
|
|
178
199
|
"org.primer.figma": {
|
|
@@ -199,7 +220,10 @@
|
|
|
199
220
|
"filePath": "src/tokens/base/size/size.json5",
|
|
200
221
|
"isSource": true,
|
|
201
222
|
"original": {
|
|
202
|
-
"$value":
|
|
223
|
+
"$value": {
|
|
224
|
+
"value": 28,
|
|
225
|
+
"unit": "px"
|
|
226
|
+
},
|
|
203
227
|
"$type": "dimension",
|
|
204
228
|
"$extensions": {
|
|
205
229
|
"org.primer.figma": {
|
|
@@ -226,7 +250,10 @@
|
|
|
226
250
|
"filePath": "src/tokens/base/size/size.json5",
|
|
227
251
|
"isSource": true,
|
|
228
252
|
"original": {
|
|
229
|
-
"$value":
|
|
253
|
+
"$value": {
|
|
254
|
+
"value": 32,
|
|
255
|
+
"unit": "px"
|
|
256
|
+
},
|
|
230
257
|
"$type": "dimension",
|
|
231
258
|
"$extensions": {
|
|
232
259
|
"org.primer.figma": {
|
|
@@ -253,7 +280,10 @@
|
|
|
253
280
|
"filePath": "src/tokens/base/size/size.json5",
|
|
254
281
|
"isSource": true,
|
|
255
282
|
"original": {
|
|
256
|
-
"$value":
|
|
283
|
+
"$value": {
|
|
284
|
+
"value": 36,
|
|
285
|
+
"unit": "px"
|
|
286
|
+
},
|
|
257
287
|
"$type": "dimension",
|
|
258
288
|
"$extensions": {
|
|
259
289
|
"org.primer.figma": {
|
|
@@ -280,7 +310,10 @@
|
|
|
280
310
|
"filePath": "src/tokens/base/size/size.json5",
|
|
281
311
|
"isSource": true,
|
|
282
312
|
"original": {
|
|
283
|
-
"$value":
|
|
313
|
+
"$value": {
|
|
314
|
+
"value": 4,
|
|
315
|
+
"unit": "px"
|
|
316
|
+
},
|
|
284
317
|
"$type": "dimension",
|
|
285
318
|
"$extensions": {
|
|
286
319
|
"org.primer.figma": {
|
|
@@ -307,7 +340,10 @@
|
|
|
307
340
|
"filePath": "src/tokens/base/size/size.json5",
|
|
308
341
|
"isSource": true,
|
|
309
342
|
"original": {
|
|
310
|
-
"$value":
|
|
343
|
+
"$value": {
|
|
344
|
+
"value": 40,
|
|
345
|
+
"unit": "px"
|
|
346
|
+
},
|
|
311
347
|
"$type": "dimension",
|
|
312
348
|
"$extensions": {
|
|
313
349
|
"org.primer.figma": {
|
|
@@ -334,7 +370,10 @@
|
|
|
334
370
|
"filePath": "src/tokens/base/size/size.json5",
|
|
335
371
|
"isSource": true,
|
|
336
372
|
"original": {
|
|
337
|
-
"$value":
|
|
373
|
+
"$value": {
|
|
374
|
+
"value": 44,
|
|
375
|
+
"unit": "px"
|
|
376
|
+
},
|
|
338
377
|
"$type": "dimension",
|
|
339
378
|
"$extensions": {
|
|
340
379
|
"org.primer.figma": {
|
|
@@ -361,7 +400,10 @@
|
|
|
361
400
|
"filePath": "src/tokens/base/size/size.json5",
|
|
362
401
|
"isSource": true,
|
|
363
402
|
"original": {
|
|
364
|
-
"$value":
|
|
403
|
+
"$value": {
|
|
404
|
+
"value": 48,
|
|
405
|
+
"unit": "px"
|
|
406
|
+
},
|
|
365
407
|
"$type": "dimension",
|
|
366
408
|
"$extensions": {
|
|
367
409
|
"org.primer.figma": {
|
|
@@ -388,7 +430,10 @@
|
|
|
388
430
|
"filePath": "src/tokens/base/size/size.json5",
|
|
389
431
|
"isSource": true,
|
|
390
432
|
"original": {
|
|
391
|
-
"$value":
|
|
433
|
+
"$value": {
|
|
434
|
+
"value": 6,
|
|
435
|
+
"unit": "px"
|
|
436
|
+
},
|
|
392
437
|
"$type": "dimension",
|
|
393
438
|
"$extensions": {
|
|
394
439
|
"org.primer.figma": {
|
|
@@ -415,7 +460,10 @@
|
|
|
415
460
|
"filePath": "src/tokens/base/size/size.json5",
|
|
416
461
|
"isSource": true,
|
|
417
462
|
"original": {
|
|
418
|
-
"$value":
|
|
463
|
+
"$value": {
|
|
464
|
+
"value": 64,
|
|
465
|
+
"unit": "px"
|
|
466
|
+
},
|
|
419
467
|
"$type": "dimension",
|
|
420
468
|
"$extensions": {
|
|
421
469
|
"org.primer.figma": {
|
|
@@ -442,7 +490,10 @@
|
|
|
442
490
|
"filePath": "src/tokens/base/size/size.json5",
|
|
443
491
|
"isSource": true,
|
|
444
492
|
"original": {
|
|
445
|
-
"$value":
|
|
493
|
+
"$value": {
|
|
494
|
+
"value": 8,
|
|
495
|
+
"unit": "px"
|
|
496
|
+
},
|
|
446
497
|
"$type": "dimension",
|
|
447
498
|
"$extensions": {
|
|
448
499
|
"org.primer.figma": {
|
|
@@ -469,7 +520,10 @@
|
|
|
469
520
|
"filePath": "src/tokens/base/size/size.json5",
|
|
470
521
|
"isSource": true,
|
|
471
522
|
"original": {
|
|
472
|
-
"$value":
|
|
523
|
+
"$value": {
|
|
524
|
+
"value": 80,
|
|
525
|
+
"unit": "px"
|
|
526
|
+
},
|
|
473
527
|
"$type": "dimension",
|
|
474
528
|
"$extensions": {
|
|
475
529
|
"org.primer.figma": {
|
|
@@ -496,7 +550,10 @@
|
|
|
496
550
|
"filePath": "src/tokens/base/size/size.json5",
|
|
497
551
|
"isSource": true,
|
|
498
552
|
"original": {
|
|
499
|
-
"$value":
|
|
553
|
+
"$value": {
|
|
554
|
+
"value": 96,
|
|
555
|
+
"unit": "px"
|
|
556
|
+
},
|
|
500
557
|
"$type": "dimension",
|
|
501
558
|
"$extensions": {
|
|
502
559
|
"org.primer.figma": {
|
|
@@ -155,7 +155,10 @@
|
|
|
155
155
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
156
156
|
"isSource": true,
|
|
157
157
|
"original": {
|
|
158
|
-
"$value":
|
|
158
|
+
"$value": {
|
|
159
|
+
"value": 2.5,
|
|
160
|
+
"unit": "rem"
|
|
161
|
+
},
|
|
159
162
|
"$type": "dimension",
|
|
160
163
|
"$description": "40px - Display text for hero sections.",
|
|
161
164
|
"$extensions": {
|
|
@@ -184,7 +187,10 @@
|
|
|
184
187
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
185
188
|
"isSource": true,
|
|
186
189
|
"original": {
|
|
187
|
-
"$value":
|
|
190
|
+
"$value": {
|
|
191
|
+
"value": 1.25,
|
|
192
|
+
"unit": "rem"
|
|
193
|
+
},
|
|
188
194
|
"$type": "dimension",
|
|
189
195
|
"$description": "20px - Medium titles and subtitles.",
|
|
190
196
|
"$extensions": {
|
|
@@ -213,7 +219,10 @@
|
|
|
213
219
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
214
220
|
"isSource": true,
|
|
215
221
|
"original": {
|
|
216
|
-
"$value":
|
|
222
|
+
"$value": {
|
|
223
|
+
"value": 1,
|
|
224
|
+
"unit": "rem"
|
|
225
|
+
},
|
|
217
226
|
"$type": "dimension",
|
|
218
227
|
"$description": "16px - Large body text and small titles.",
|
|
219
228
|
"$extensions": {
|
|
@@ -242,7 +251,10 @@
|
|
|
242
251
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
243
252
|
"isSource": true,
|
|
244
253
|
"original": {
|
|
245
|
-
"$value":
|
|
254
|
+
"$value": {
|
|
255
|
+
"value": 0.875,
|
|
256
|
+
"unit": "rem"
|
|
257
|
+
},
|
|
246
258
|
"$type": "dimension",
|
|
247
259
|
"$description": "14px - Default body text size for UI.",
|
|
248
260
|
"$extensions": {
|
|
@@ -271,7 +283,10 @@
|
|
|
271
283
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
272
284
|
"isSource": true,
|
|
273
285
|
"original": {
|
|
274
|
-
"$value":
|
|
286
|
+
"$value": {
|
|
287
|
+
"value": 2,
|
|
288
|
+
"unit": "rem"
|
|
289
|
+
},
|
|
275
290
|
"$type": "dimension",
|
|
276
291
|
"$description": "32px - Large titles and page headings.",
|
|
277
292
|
"$extensions": {
|
|
@@ -300,7 +315,10 @@
|
|
|
300
315
|
"filePath": "src/tokens/base/typography/typography.json5",
|
|
301
316
|
"isSource": true,
|
|
302
317
|
"original": {
|
|
303
|
-
"$value":
|
|
318
|
+
"$value": {
|
|
319
|
+
"value": 0.75,
|
|
320
|
+
"unit": "rem"
|
|
321
|
+
},
|
|
304
322
|
"$type": "dimension",
|
|
305
323
|
"$description": "12px - Smallest text size for captions and compact UI elements.",
|
|
306
324
|
"$extensions": {
|
|
@@ -43,7 +43,10 @@
|
|
|
43
43
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
44
44
|
"isSource": true,
|
|
45
45
|
"original": {
|
|
46
|
-
"$value":
|
|
46
|
+
"$value": {
|
|
47
|
+
"value": 2,
|
|
48
|
+
"unit": "px"
|
|
49
|
+
},
|
|
47
50
|
"$description": "Thick 2px border for emphasis. Use for focus indicators, selected states, or to emphasize important boundaries",
|
|
48
51
|
"$type": "dimension",
|
|
49
52
|
"$extensions": {
|
|
@@ -76,7 +79,10 @@
|
|
|
76
79
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
77
80
|
"isSource": true,
|
|
78
81
|
"original": {
|
|
79
|
-
"$value":
|
|
82
|
+
"$value": {
|
|
83
|
+
"value": 4,
|
|
84
|
+
"unit": "px"
|
|
85
|
+
},
|
|
80
86
|
"$description": "Extra thick 4px border for maximum emphasis. Use sparingly for high-contrast focus indicators or critical visual separators",
|
|
81
87
|
"$type": "dimension",
|
|
82
88
|
"$extensions": {
|
|
@@ -105,7 +111,10 @@
|
|
|
105
111
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
106
112
|
"isSource": true,
|
|
107
113
|
"original": {
|
|
108
|
-
"$value":
|
|
114
|
+
"$value": {
|
|
115
|
+
"value": 1,
|
|
116
|
+
"unit": "px"
|
|
117
|
+
},
|
|
109
118
|
"$description": "Standard 1px border width. Use for most borders, dividers, and outlines throughout the interface",
|
|
110
119
|
"$type": "dimension",
|
|
111
120
|
"$extensions": {
|
|
@@ -185,7 +194,10 @@
|
|
|
185
194
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
186
195
|
"isSource": true,
|
|
187
196
|
"original": {
|
|
188
|
-
"$value":
|
|
197
|
+
"$value": {
|
|
198
|
+
"value": -2,
|
|
199
|
+
"unit": "px"
|
|
200
|
+
},
|
|
189
201
|
"$description": "Focus outline offset (-2px). Negative value creates an inset outline for keyboard focus indicators, ensuring the focus ring stays within the element bounds",
|
|
190
202
|
"$type": "dimension",
|
|
191
203
|
"$extensions": {
|
|
@@ -218,7 +230,10 @@
|
|
|
218
230
|
"filePath": "src/tokens/functional/size/border.json5",
|
|
219
231
|
"isSource": true,
|
|
220
232
|
"original": {
|
|
221
|
-
"$value":
|
|
233
|
+
"$value": {
|
|
234
|
+
"value": 2,
|
|
235
|
+
"unit": "px"
|
|
236
|
+
},
|
|
222
237
|
"$description": "Focus outline width (2px). Standard width for keyboard focus indicators to meet WCAG 2.4.7 accessibility requirements",
|
|
223
238
|
"$type": "dimension",
|
|
224
239
|
"$extensions": {
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
11
11
|
"isSource": true,
|
|
12
12
|
"original": {
|
|
13
|
-
"$value":
|
|
13
|
+
"$value": {
|
|
14
|
+
"value": 1012,
|
|
15
|
+
"unit": "px"
|
|
16
|
+
},
|
|
14
17
|
"$type": "dimension",
|
|
15
18
|
"$extensions": {
|
|
16
19
|
"org.primer.figma": {
|
|
@@ -37,7 +40,10 @@
|
|
|
37
40
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
38
41
|
"isSource": true,
|
|
39
42
|
"original": {
|
|
40
|
-
"$value":
|
|
43
|
+
"$value": {
|
|
44
|
+
"value": 768,
|
|
45
|
+
"unit": "px"
|
|
46
|
+
},
|
|
41
47
|
"$type": "dimension",
|
|
42
48
|
"$extensions": {
|
|
43
49
|
"org.primer.figma": {
|
|
@@ -64,7 +70,10 @@
|
|
|
64
70
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
65
71
|
"isSource": true,
|
|
66
72
|
"original": {
|
|
67
|
-
"$value":
|
|
73
|
+
"$value": {
|
|
74
|
+
"value": 544,
|
|
75
|
+
"unit": "px"
|
|
76
|
+
},
|
|
68
77
|
"$type": "dimension",
|
|
69
78
|
"$extensions": {
|
|
70
79
|
"org.primer.figma": {
|
|
@@ -91,7 +100,10 @@
|
|
|
91
100
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
92
101
|
"isSource": true,
|
|
93
102
|
"original": {
|
|
94
|
-
"$value":
|
|
103
|
+
"$value": {
|
|
104
|
+
"value": 1280,
|
|
105
|
+
"unit": "px"
|
|
106
|
+
},
|
|
95
107
|
"$type": "dimension",
|
|
96
108
|
"$extensions": {
|
|
97
109
|
"org.primer.figma": {
|
|
@@ -118,7 +130,10 @@
|
|
|
118
130
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
119
131
|
"isSource": true,
|
|
120
132
|
"original": {
|
|
121
|
-
"$value":
|
|
133
|
+
"$value": {
|
|
134
|
+
"value": 320,
|
|
135
|
+
"unit": "px"
|
|
136
|
+
},
|
|
122
137
|
"$type": "dimension",
|
|
123
138
|
"$extensions": {
|
|
124
139
|
"org.primer.figma": {
|
|
@@ -145,7 +160,10 @@
|
|
|
145
160
|
"filePath": "src/tokens/functional/size/breakpoints.json5",
|
|
146
161
|
"isSource": true,
|
|
147
162
|
"original": {
|
|
148
|
-
"$value":
|
|
163
|
+
"$value": {
|
|
164
|
+
"value": 1400,
|
|
165
|
+
"unit": "px"
|
|
166
|
+
},
|
|
149
167
|
"$type": "dimension",
|
|
150
168
|
"$extensions": {
|
|
151
169
|
"org.primer.figma": {
|
|
@@ -52,7 +52,10 @@
|
|
|
52
52
|
"filePath": "src/tokens/functional/size/radius.json5",
|
|
53
53
|
"isSource": true,
|
|
54
54
|
"original": {
|
|
55
|
-
"$value":
|
|
55
|
+
"$value": {
|
|
56
|
+
"value": 9999,
|
|
57
|
+
"unit": "px"
|
|
58
|
+
},
|
|
56
59
|
"$type": "dimension",
|
|
57
60
|
"$description": "Use this border radius for pill shaped elements",
|
|
58
61
|
"$extensions": {
|
|
@@ -95,7 +98,10 @@
|
|
|
95
98
|
"filePath": "src/tokens/functional/size/radius.json5",
|
|
96
99
|
"isSource": true,
|
|
97
100
|
"original": {
|
|
98
|
-
"$value":
|
|
101
|
+
"$value": {
|
|
102
|
+
"value": 12,
|
|
103
|
+
"unit": "px"
|
|
104
|
+
},
|
|
99
105
|
"$description": "Large border radius (12px). Use for larger containers, dialogs, or when more visual softness is desired. Always use this for buttons.",
|
|
100
106
|
"$type": "dimension",
|
|
101
107
|
"$extensions": {
|
|
@@ -138,7 +144,10 @@
|
|
|
138
144
|
"filePath": "src/tokens/functional/size/radius.json5",
|
|
139
145
|
"isSource": true,
|
|
140
146
|
"original": {
|
|
141
|
-
"$value":
|
|
147
|
+
"$value": {
|
|
148
|
+
"value": 6,
|
|
149
|
+
"unit": "px"
|
|
150
|
+
},
|
|
142
151
|
"$description": "Medium border radius (6px). The default choice for most buttons, cards, and containers",
|
|
143
152
|
"$type": "dimension",
|
|
144
153
|
"$extensions": {
|
|
@@ -181,7 +190,10 @@
|
|
|
181
190
|
"filePath": "src/tokens/functional/size/radius.json5",
|
|
182
191
|
"isSource": true,
|
|
183
192
|
"original": {
|
|
184
|
-
"$value":
|
|
193
|
+
"$value": {
|
|
194
|
+
"value": 3,
|
|
195
|
+
"unit": "px"
|
|
196
|
+
},
|
|
185
197
|
"$description": "Small border radius (3px). Use for small variants of components or small UI elements like badges, tags, or anything below 16px in height",
|
|
186
198
|
"$type": "dimension",
|
|
187
199
|
"$extensions": {
|
|
@@ -64,7 +64,10 @@
|
|
|
64
64
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
65
65
|
"isSource": true,
|
|
66
66
|
"original": {
|
|
67
|
-
"$value":
|
|
67
|
+
"$value": {
|
|
68
|
+
"value": 10,
|
|
69
|
+
"unit": "px"
|
|
70
|
+
},
|
|
68
71
|
"$type": "dimension",
|
|
69
72
|
"$extensions": {
|
|
70
73
|
"org.primer.figma": {
|
|
@@ -226,7 +229,10 @@
|
|
|
226
229
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
227
230
|
"isSource": true,
|
|
228
231
|
"original": {
|
|
229
|
-
"$value":
|
|
232
|
+
"$value": {
|
|
233
|
+
"value": 6,
|
|
234
|
+
"unit": "px"
|
|
235
|
+
},
|
|
230
236
|
"$type": "dimension",
|
|
231
237
|
"$extensions": {
|
|
232
238
|
"org.primer.figma": {
|
|
@@ -631,7 +637,10 @@
|
|
|
631
637
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
632
638
|
"isSource": true,
|
|
633
639
|
"original": {
|
|
634
|
-
"$value":
|
|
640
|
+
"$value": {
|
|
641
|
+
"value": 14,
|
|
642
|
+
"unit": "px"
|
|
643
|
+
},
|
|
635
644
|
"$type": "dimension",
|
|
636
645
|
"$extensions": {
|
|
637
646
|
"org.primer.figma": {
|
|
@@ -793,7 +802,10 @@
|
|
|
793
802
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
794
803
|
"isSource": true,
|
|
795
804
|
"original": {
|
|
796
|
-
"$value":
|
|
805
|
+
"$value": {
|
|
806
|
+
"value": 2,
|
|
807
|
+
"unit": "px"
|
|
808
|
+
},
|
|
797
809
|
"$type": "dimension",
|
|
798
810
|
"$extensions": {
|
|
799
811
|
"org.primer.figma": {
|
|
@@ -1144,7 +1156,10 @@
|
|
|
1144
1156
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1145
1157
|
"isSource": true,
|
|
1146
1158
|
"original": {
|
|
1147
|
-
"$value":
|
|
1159
|
+
"$value": {
|
|
1160
|
+
"value": 432,
|
|
1161
|
+
"unit": "px"
|
|
1162
|
+
},
|
|
1148
1163
|
"$type": "dimension",
|
|
1149
1164
|
"$extensions": {
|
|
1150
1165
|
"org.primer.figma": {
|
|
@@ -1171,7 +1186,10 @@
|
|
|
1171
1186
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1172
1187
|
"isSource": true,
|
|
1173
1188
|
"original": {
|
|
1174
|
-
"$value":
|
|
1189
|
+
"$value": {
|
|
1190
|
+
"value": 320,
|
|
1191
|
+
"unit": "px"
|
|
1192
|
+
},
|
|
1175
1193
|
"$type": "dimension",
|
|
1176
1194
|
"$extensions": {
|
|
1177
1195
|
"org.primer.figma": {
|
|
@@ -1198,7 +1216,10 @@
|
|
|
1198
1216
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1199
1217
|
"isSource": true,
|
|
1200
1218
|
"original": {
|
|
1201
|
-
"$value":
|
|
1219
|
+
"$value": {
|
|
1220
|
+
"value": 256,
|
|
1221
|
+
"unit": "px"
|
|
1222
|
+
},
|
|
1202
1223
|
"$type": "dimension",
|
|
1203
1224
|
"$extensions": {
|
|
1204
1225
|
"org.primer.figma": {
|
|
@@ -1225,7 +1246,10 @@
|
|
|
1225
1246
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1226
1247
|
"isSource": true,
|
|
1227
1248
|
"original": {
|
|
1228
|
-
"$value":
|
|
1249
|
+
"$value": {
|
|
1250
|
+
"value": 600,
|
|
1251
|
+
"unit": "px"
|
|
1252
|
+
},
|
|
1229
1253
|
"$type": "dimension",
|
|
1230
1254
|
"$extensions": {
|
|
1231
1255
|
"org.primer.figma": {
|
|
@@ -1252,7 +1276,10 @@
|
|
|
1252
1276
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1253
1277
|
"isSource": true,
|
|
1254
1278
|
"original": {
|
|
1255
|
-
"$value":
|
|
1279
|
+
"$value": {
|
|
1280
|
+
"value": 4,
|
|
1281
|
+
"unit": "px"
|
|
1282
|
+
},
|
|
1256
1283
|
"$type": "dimension",
|
|
1257
1284
|
"$extensions": {
|
|
1258
1285
|
"org.primer.figma": {
|
|
@@ -1387,7 +1414,10 @@
|
|
|
1387
1414
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1388
1415
|
"isSource": true,
|
|
1389
1416
|
"original": {
|
|
1390
|
-
"$value":
|
|
1417
|
+
"$value": {
|
|
1418
|
+
"value": 640,
|
|
1419
|
+
"unit": "px"
|
|
1420
|
+
},
|
|
1391
1421
|
"$type": "dimension",
|
|
1392
1422
|
"$extensions": {
|
|
1393
1423
|
"org.primer.figma": {
|
|
@@ -1414,7 +1444,10 @@
|
|
|
1414
1444
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1415
1445
|
"isSource": true,
|
|
1416
1446
|
"original": {
|
|
1417
|
-
"$value":
|
|
1447
|
+
"$value": {
|
|
1448
|
+
"value": 480,
|
|
1449
|
+
"unit": "px"
|
|
1450
|
+
},
|
|
1418
1451
|
"$type": "dimension",
|
|
1419
1452
|
"$extensions": {
|
|
1420
1453
|
"org.primer.figma": {
|
|
@@ -1441,7 +1474,10 @@
|
|
|
1441
1474
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1442
1475
|
"isSource": true,
|
|
1443
1476
|
"original": {
|
|
1444
|
-
"$value":
|
|
1477
|
+
"$value": {
|
|
1478
|
+
"value": 320,
|
|
1479
|
+
"unit": "px"
|
|
1480
|
+
},
|
|
1445
1481
|
"$type": "dimension",
|
|
1446
1482
|
"$extensions": {
|
|
1447
1483
|
"org.primer.figma": {
|
|
@@ -1468,7 +1504,10 @@
|
|
|
1468
1504
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1469
1505
|
"isSource": true,
|
|
1470
1506
|
"original": {
|
|
1471
|
-
"$value":
|
|
1507
|
+
"$value": {
|
|
1508
|
+
"value": 960,
|
|
1509
|
+
"unit": "px"
|
|
1510
|
+
},
|
|
1472
1511
|
"$type": "dimension",
|
|
1473
1512
|
"$extensions": {
|
|
1474
1513
|
"org.primer.figma": {
|
|
@@ -1495,7 +1534,10 @@
|
|
|
1495
1534
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1496
1535
|
"isSource": true,
|
|
1497
1536
|
"original": {
|
|
1498
|
-
"$value":
|
|
1537
|
+
"$value": {
|
|
1538
|
+
"value": 192,
|
|
1539
|
+
"unit": "px"
|
|
1540
|
+
},
|
|
1499
1541
|
"$type": "dimension",
|
|
1500
1542
|
"$extensions": {
|
|
1501
1543
|
"org.primer.figma": {
|
|
@@ -1597,7 +1639,10 @@
|
|
|
1597
1639
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1598
1640
|
"isSource": true,
|
|
1599
1641
|
"original": {
|
|
1600
|
-
"$value":
|
|
1642
|
+
"$value": {
|
|
1643
|
+
"value": 2,
|
|
1644
|
+
"unit": "px"
|
|
1645
|
+
},
|
|
1601
1646
|
"$type": "dimension",
|
|
1602
1647
|
"key": "{spinner.strokeWidth.default}"
|
|
1603
1648
|
},
|