@primer/primitives 7.17.0-rc.34cd1021 → 7.17.0-rc.37869577

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 (76) hide show
  1. package/README.md +1 -1
  2. package/dist/css/functional/typography/typography.css +1 -1
  3. package/dist/docs/base/typography/typography.json +4 -52
  4. package/dist/docs/functional/themes/dark-colorblind.json +78 -78
  5. package/dist/docs/functional/themes/dark-dimmed.json +73 -73
  6. package/dist/docs/functional/themes/dark-high-contrast.json +75 -75
  7. package/dist/docs/functional/themes/dark-tritanopia.json +78 -78
  8. package/dist/docs/functional/themes/dark.json +73 -73
  9. package/dist/docs/functional/themes/light-colorblind.json +76 -76
  10. package/dist/docs/functional/themes/light-high-contrast.json +70 -70
  11. package/dist/docs/functional/themes/light-tritanopia.json +76 -76
  12. package/dist/docs/functional/themes/light.json +71 -71
  13. package/dist/docs/functional/typography/typography.json +35 -439
  14. package/dist/fallbacks/functional/typography/typography.json +1 -1
  15. package/dist/figma/figma.json +0 -8
  16. package/dist/figma/scales/dark-dimmed.json +20 -20
  17. package/dist/figma/scales/dark-high-constrast.json +20 -20
  18. package/dist/figma/scales/dark.json +20 -20
  19. package/dist/figma/scales/light-high-constrast.json +20 -20
  20. package/dist/figma/scales/light.json +20 -20
  21. package/dist/figma/themes/dark-colorblind.json +70 -70
  22. package/dist/figma/themes/dark-dimmed.json +65 -65
  23. package/dist/figma/themes/dark-high-contrast.json +69 -69
  24. package/dist/figma/themes/dark-tritanopia.json +70 -70
  25. package/dist/figma/themes/dark.json +65 -65
  26. package/dist/figma/themes/light-colorblind.json +59 -59
  27. package/dist/figma/themes/light-high-contrast.json +55 -55
  28. package/dist/figma/themes/light-tritanopia.json +59 -59
  29. package/dist/figma/themes/light.json +54 -54
  30. package/dist/figma/typography/typography.json +1 -329
  31. package/dist/internalCss/dark-colorblind.css +20 -20
  32. package/dist/internalCss/dark-dimmed.css +20 -20
  33. package/dist/internalCss/dark-high-contrast.css +20 -20
  34. package/dist/internalCss/dark-tritanopia.css +20 -20
  35. package/dist/internalCss/dark.css +20 -20
  36. package/dist/internalCss/light-colorblind.css +20 -20
  37. package/dist/internalCss/light-high-contrast.css +20 -20
  38. package/dist/internalCss/light-tritanopia.css +20 -20
  39. package/dist/internalCss/light.css +20 -20
  40. package/dist/styleLint/base/typography/typography.json +4 -52
  41. package/dist/styleLint/functional/themes/dark-colorblind.json +78 -78
  42. package/dist/styleLint/functional/themes/dark-dimmed.json +73 -73
  43. package/dist/styleLint/functional/themes/dark-high-contrast.json +75 -75
  44. package/dist/styleLint/functional/themes/dark-tritanopia.json +78 -78
  45. package/dist/styleLint/functional/themes/dark.json +73 -73
  46. package/dist/styleLint/functional/themes/light-colorblind.json +76 -76
  47. package/dist/styleLint/functional/themes/light-high-contrast.json +70 -70
  48. package/dist/styleLint/functional/themes/light-tritanopia.json +76 -76
  49. package/dist/styleLint/functional/themes/light.json +71 -71
  50. package/dist/styleLint/functional/typography/typography.json +35 -439
  51. package/package.json +2 -2
  52. package/src/platforms/figma.ts +0 -1
  53. package/src/tokens/base/color/dark/dark.dimmed.json5 +1 -1
  54. package/src/tokens/base/color/dark/dark.high-contrast.json5 +1 -1
  55. package/src/tokens/base/color/dark/dark.json5 +1 -1
  56. package/src/tokens/base/color/light/light.high-contrast.json5 +1 -1
  57. package/src/tokens/base/color/light/light.json5 +1 -1
  58. package/src/tokens/base/typography/typography.json +4 -28
  59. package/src/tokens/functional/color/dark/app-dark.json5 +5 -5
  60. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +17 -17
  61. package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -5
  62. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +5 -5
  63. package/src/tokens/functional/color/dark/patterns-dark.json5 +42 -42
  64. package/src/tokens/functional/color/dark/primitives-dark.json5 +16 -16
  65. package/src/tokens/functional/color/dark/syntax-dark.json5 +13 -13
  66. package/src/tokens/functional/color/light/app-light.json5 +5 -5
  67. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +25 -25
  68. package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +5 -5
  69. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +5 -5
  70. package/src/tokens/functional/color/light/patterns-light.json5 +30 -30
  71. package/src/tokens/functional/color/light/primitives-light.json5 +15 -15
  72. package/src/tokens/functional/color/light/syntax-light.json5 +14 -14
  73. package/src/tokens/functional/shadow/dark.json5 +1 -1
  74. package/src/tokens/functional/shadow/light.json5 +11 -11
  75. package/src/tokens/functional/typography/typography.json +32 -234
  76. package/src/transformers/floatToPixel.ts +1 -1
@@ -75,31 +75,29 @@
75
75
  "path": ["fontStack", "monospace"]
76
76
  },
77
77
  "text-display-lineBoxHeight": {
78
- "value": 1.4,
79
- "$type": "number",
78
+ "value": ["3.5rem", "56px"],
79
+ "$type": "dimension",
80
80
  "$extensions": {
81
81
  "org.primer.data": {
82
82
  "fontSize": 40
83
83
  },
84
84
  "org.primer.figma": {
85
85
  "collection": "typography",
86
- "scopes": ["all"],
87
- "fontSizeInPx": 40
86
+ "scopes": ["all"]
88
87
  }
89
88
  },
90
89
  "filePath": "src/tokens/functional/typography/typography.json",
91
90
  "isSource": true,
92
91
  "original": {
93
- "value": 1.4,
94
- "$type": "number",
92
+ "value": "56px",
93
+ "$type": "dimension",
95
94
  "$extensions": {
96
95
  "org.primer.data": {
97
96
  "fontSize": 40
98
97
  },
99
98
  "org.primer.figma": {
100
99
  "collection": "typography",
101
- "scopes": ["all"],
102
- "fontSizeInPx": 40
100
+ "scopes": ["all"]
103
101
  }
104
102
  }
105
103
  },
@@ -110,23 +108,11 @@
110
108
  "text-display-size": {
111
109
  "value": ["2.5rem", "40px"],
112
110
  "$type": "dimension",
113
- "$extensions": {
114
- "org.primer.figma": {
115
- "collection": "typography",
116
- "scopes": ["all"]
117
- }
118
- },
119
111
  "filePath": "src/tokens/functional/typography/typography.json",
120
112
  "isSource": true,
121
113
  "original": {
122
114
  "value": "40px",
123
- "$type": "dimension",
124
- "$extensions": {
125
- "org.primer.figma": {
126
- "collection": "typography",
127
- "scopes": ["all"]
128
- }
129
- }
115
+ "$type": "dimension"
130
116
  },
131
117
  "name": "text-display-size",
132
118
  "attributes": {},
@@ -135,29 +121,11 @@
135
121
  "text-display-lineHeight": {
136
122
  "value": 1.4,
137
123
  "$type": "number",
138
- "$extensions": {
139
- "org.primer.data": {
140
- "fontSize": 40
141
- },
142
- "org.primer.figma": {
143
- "collection": "typography",
144
- "scopes": ["all"]
145
- }
146
- },
147
124
  "filePath": "src/tokens/functional/typography/typography.json",
148
125
  "isSource": true,
149
126
  "original": {
150
127
  "value": 1.4,
151
- "$type": "number",
152
- "$extensions": {
153
- "org.primer.data": {
154
- "fontSize": 40
155
- },
156
- "org.primer.figma": {
157
- "collection": "typography",
158
- "scopes": ["all"]
159
- }
160
- }
128
+ "$type": "number"
161
129
  },
162
130
  "name": "text-display-lineHeight",
163
131
  "attributes": {},
@@ -166,23 +134,11 @@
166
134
  "text-display-weight": {
167
135
  "value": 500,
168
136
  "$type": "fontWeight",
169
- "$extensions": {
170
- "org.primer.figma": {
171
- "collection": "typography",
172
- "scopes": ["all"]
173
- }
174
- },
175
137
  "filePath": "src/tokens/functional/typography/typography.json",
176
138
  "isSource": true,
177
139
  "original": {
178
140
  "value": "{base.text.weight.medium}",
179
- "$type": "fontWeight",
180
- "$extensions": {
181
- "org.primer.figma": {
182
- "collection": "typography",
183
- "scopes": ["all"]
184
- }
185
- }
141
+ "$type": "fontWeight"
186
142
  },
187
143
  "name": "text-display-weight",
188
144
  "attributes": {},
@@ -211,23 +167,11 @@
211
167
  "text-title-size-large": {
212
168
  "value": ["2rem", "32px"],
213
169
  "$type": "dimension",
214
- "$extensions": {
215
- "org.primer.figma": {
216
- "collection": "typography",
217
- "scopes": ["all"]
218
- }
219
- },
220
170
  "filePath": "src/tokens/functional/typography/typography.json",
221
171
  "isSource": true,
222
172
  "original": {
223
173
  "value": "32px",
224
- "$type": "dimension",
225
- "$extensions": {
226
- "org.primer.figma": {
227
- "collection": "typography",
228
- "scopes": ["all"]
229
- }
230
- }
174
+ "$type": "dimension"
231
175
  },
232
176
  "name": "text-title-size-large",
233
177
  "attributes": {},
@@ -236,23 +180,11 @@
236
180
  "text-title-size-medium": {
237
181
  "value": ["1.25rem", "20px"],
238
182
  "$type": "dimension",
239
- "$extensions": {
240
- "org.primer.figma": {
241
- "collection": "typography",
242
- "scopes": ["all"]
243
- }
244
- },
245
183
  "filePath": "src/tokens/functional/typography/typography.json",
246
184
  "isSource": true,
247
185
  "original": {
248
186
  "value": "20px",
249
- "$type": "dimension",
250
- "$extensions": {
251
- "org.primer.figma": {
252
- "collection": "typography",
253
- "scopes": ["all"]
254
- }
255
- }
187
+ "$type": "dimension"
256
188
  },
257
189
  "name": "text-title-size-medium",
258
190
  "attributes": {},
@@ -261,23 +193,11 @@
261
193
  "text-title-size-small": {
262
194
  "value": ["1rem", "16px"],
263
195
  "$type": "dimension",
264
- "$extensions": {
265
- "org.primer.figma": {
266
- "collection": "typography",
267
- "scopes": ["all"]
268
- }
269
- },
270
196
  "filePath": "src/tokens/functional/typography/typography.json",
271
197
  "isSource": true,
272
198
  "original": {
273
199
  "value": "16px",
274
- "$type": "dimension",
275
- "$extensions": {
276
- "org.primer.figma": {
277
- "collection": "typography",
278
- "scopes": ["all"]
279
- }
280
- }
200
+ "$type": "dimension"
281
201
  },
282
202
  "name": "text-title-size-small",
283
203
  "attributes": {},
@@ -286,29 +206,11 @@
286
206
  "text-title-lineHeight-large": {
287
207
  "value": 1.5,
288
208
  "$type": "number",
289
- "$extensions": {
290
- "org.primer.data": {
291
- "fontSize": 32
292
- },
293
- "org.primer.figma": {
294
- "collection": "typography",
295
- "scopes": ["all"]
296
- }
297
- },
298
209
  "filePath": "src/tokens/functional/typography/typography.json",
299
210
  "isSource": true,
300
211
  "original": {
301
212
  "value": 1.5,
302
- "$type": "number",
303
- "$extensions": {
304
- "org.primer.data": {
305
- "fontSize": 32
306
- },
307
- "org.primer.figma": {
308
- "collection": "typography",
309
- "scopes": ["all"]
310
- }
311
- }
213
+ "$type": "number"
312
214
  },
313
215
  "name": "text-title-lineHeight-large",
314
216
  "attributes": {},
@@ -317,29 +219,11 @@
317
219
  "text-title-lineHeight-medium": {
318
220
  "value": 1.6,
319
221
  "$type": "number",
320
- "$extensions": {
321
- "org.primer.data": {
322
- "fontSize": 20
323
- },
324
- "org.primer.figma": {
325
- "collection": "typography",
326
- "scopes": ["all"]
327
- }
328
- },
329
222
  "filePath": "src/tokens/functional/typography/typography.json",
330
223
  "isSource": true,
331
224
  "original": {
332
225
  "value": 1.6,
333
- "$type": "number",
334
- "$extensions": {
335
- "org.primer.data": {
336
- "fontSize": 20
337
- },
338
- "org.primer.figma": {
339
- "collection": "typography",
340
- "scopes": ["all"]
341
- }
342
- }
226
+ "$type": "number"
343
227
  },
344
228
  "name": "text-title-lineHeight-medium",
345
229
  "attributes": {},
@@ -348,29 +232,11 @@
348
232
  "text-title-lineHeight-small": {
349
233
  "value": 1.5,
350
234
  "$type": "number",
351
- "$extensions": {
352
- "org.primer.data": {
353
- "fontSize": 16
354
- },
355
- "org.primer.figma": {
356
- "collection": "typography",
357
- "scopes": ["all"]
358
- }
359
- },
360
235
  "filePath": "src/tokens/functional/typography/typography.json",
361
236
  "isSource": true,
362
237
  "original": {
363
238
  "value": 1.5,
364
- "$type": "number",
365
- "$extensions": {
366
- "org.primer.data": {
367
- "fontSize": 16
368
- },
369
- "org.primer.figma": {
370
- "collection": "typography",
371
- "scopes": ["all"]
372
- }
373
- }
239
+ "$type": "number"
374
240
  },
375
241
  "name": "text-title-lineHeight-small",
376
242
  "attributes": {},
@@ -379,23 +245,11 @@
379
245
  "text-title-weight-large": {
380
246
  "value": 600,
381
247
  "$type": "fontWeight",
382
- "$extensions": {
383
- "org.primer.figma": {
384
- "collection": "typography",
385
- "scopes": ["all"]
386
- }
387
- },
388
248
  "filePath": "src/tokens/functional/typography/typography.json",
389
249
  "isSource": true,
390
250
  "original": {
391
251
  "value": "{base.text.weight.semibold}",
392
- "$type": "fontWeight",
393
- "$extensions": {
394
- "org.primer.figma": {
395
- "collection": "typography",
396
- "scopes": ["all"]
397
- }
398
- }
252
+ "$type": "fontWeight"
399
253
  },
400
254
  "name": "text-title-weight-large",
401
255
  "attributes": {},
@@ -404,23 +258,11 @@
404
258
  "text-title-weight-medium": {
405
259
  "value": 600,
406
260
  "$type": "fontWeight",
407
- "$extensions": {
408
- "org.primer.figma": {
409
- "collection": "typography",
410
- "scopes": ["all"]
411
- }
412
- },
413
261
  "filePath": "src/tokens/functional/typography/typography.json",
414
262
  "isSource": true,
415
263
  "original": {
416
264
  "value": "{base.text.weight.semibold}",
417
- "$type": "fontWeight",
418
- "$extensions": {
419
- "org.primer.figma": {
420
- "collection": "typography",
421
- "scopes": ["all"]
422
- }
423
- }
265
+ "$type": "fontWeight"
424
266
  },
425
267
  "name": "text-title-weight-medium",
426
268
  "attributes": {},
@@ -429,23 +271,11 @@
429
271
  "text-title-weight-small": {
430
272
  "value": 600,
431
273
  "$type": "fontWeight",
432
- "$extensions": {
433
- "org.primer.figma": {
434
- "collection": "typography",
435
- "scopes": ["all"]
436
- }
437
- },
438
274
  "filePath": "src/tokens/functional/typography/typography.json",
439
275
  "isSource": true,
440
276
  "original": {
441
277
  "value": "{base.text.weight.semibold}",
442
- "$type": "fontWeight",
443
- "$extensions": {
444
- "org.primer.figma": {
445
- "collection": "typography",
446
- "scopes": ["all"]
447
- }
448
- }
278
+ "$type": "fontWeight"
449
279
  },
450
280
  "name": "text-title-weight-small",
451
281
  "attributes": {},
@@ -514,23 +344,11 @@
514
344
  "text-subtitle-size": {
515
345
  "value": ["1.25rem", "20px"],
516
346
  "$type": "dimension",
517
- "$extensions": {
518
- "org.primer.figma": {
519
- "collection": "typography",
520
- "scopes": ["all"]
521
- }
522
- },
523
347
  "filePath": "src/tokens/functional/typography/typography.json",
524
348
  "isSource": true,
525
349
  "original": {
526
350
  "value": "20px",
527
- "$type": "dimension",
528
- "$extensions": {
529
- "org.primer.figma": {
530
- "collection": "typography",
531
- "scopes": ["all"]
532
- }
533
- }
351
+ "$type": "dimension"
534
352
  },
535
353
  "name": "text-subtitle-size",
536
354
  "attributes": {},
@@ -539,23 +357,11 @@
539
357
  "text-subtitle-lineHeight": {
540
358
  "value": 1.6,
541
359
  "$type": "number",
542
- "$extensions": {
543
- "org.primer.figma": {
544
- "collection": "typography",
545
- "scopes": ["all"]
546
- }
547
- },
548
360
  "filePath": "src/tokens/functional/typography/typography.json",
549
361
  "isSource": true,
550
362
  "original": {
551
363
  "value": 1.6,
552
- "$type": "number",
553
- "$extensions": {
554
- "org.primer.figma": {
555
- "collection": "typography",
556
- "scopes": ["all"]
557
- }
558
- }
364
+ "$type": "number"
559
365
  },
560
366
  "name": "text-subtitle-lineHeight",
561
367
  "attributes": {},
@@ -564,23 +370,11 @@
564
370
  "text-subtitle-weight": {
565
371
  "value": 400,
566
372
  "$type": "fontWeight",
567
- "$extensions": {
568
- "org.primer.figma": {
569
- "collection": "typography",
570
- "scopes": ["all"]
571
- }
572
- },
573
373
  "filePath": "src/tokens/functional/typography/typography.json",
574
374
  "isSource": true,
575
375
  "original": {
576
376
  "value": "{base.text.weight.normal}",
577
- "$type": "fontWeight",
578
- "$extensions": {
579
- "org.primer.figma": {
580
- "collection": "typography",
581
- "scopes": ["all"]
582
- }
583
- }
377
+ "$type": "fontWeight"
584
378
  },
585
379
  "name": "text-subtitle-weight",
586
380
  "attributes": {},
@@ -609,23 +403,11 @@
609
403
  "text-body-size-large": {
610
404
  "value": ["1rem", "16px"],
611
405
  "$type": "dimension",
612
- "$extensions": {
613
- "org.primer.figma": {
614
- "collection": "typography",
615
- "scopes": ["all"]
616
- }
617
- },
618
406
  "filePath": "src/tokens/functional/typography/typography.json",
619
407
  "isSource": true,
620
408
  "original": {
621
409
  "value": "16px",
622
- "$type": "dimension",
623
- "$extensions": {
624
- "org.primer.figma": {
625
- "collection": "typography",
626
- "scopes": ["all"]
627
- }
628
- }
410
+ "$type": "dimension"
629
411
  },
630
412
  "name": "text-body-size-large",
631
413
  "attributes": {},
@@ -634,23 +416,11 @@
634
416
  "text-body-size-medium": {
635
417
  "value": ["0.875rem", "14px"],
636
418
  "$type": "dimension",
637
- "$extensions": {
638
- "org.primer.figma": {
639
- "collection": "typography",
640
- "scopes": ["all"]
641
- }
642
- },
643
419
  "filePath": "src/tokens/functional/typography/typography.json",
644
420
  "isSource": true,
645
421
  "original": {
646
422
  "value": "14px",
647
- "$type": "dimension",
648
- "$extensions": {
649
- "org.primer.figma": {
650
- "collection": "typography",
651
- "scopes": ["all"]
652
- }
653
- }
423
+ "$type": "dimension"
654
424
  },
655
425
  "name": "text-body-size-medium",
656
426
  "attributes": {},
@@ -659,23 +429,11 @@
659
429
  "text-body-size-small": {
660
430
  "value": ["0.75rem", "12px"],
661
431
  "$type": "dimension",
662
- "$extensions": {
663
- "org.primer.figma": {
664
- "collection": "typography",
665
- "scopes": ["all"]
666
- }
667
- },
668
432
  "filePath": "src/tokens/functional/typography/typography.json",
669
433
  "isSource": true,
670
434
  "original": {
671
435
  "value": "12px",
672
- "$type": "dimension",
673
- "$extensions": {
674
- "org.primer.figma": {
675
- "collection": "typography",
676
- "scopes": ["all"]
677
- }
678
- }
436
+ "$type": "dimension"
679
437
  },
680
438
  "name": "text-body-size-small",
681
439
  "attributes": {},
@@ -684,29 +442,11 @@
684
442
  "text-body-lineHeight-large": {
685
443
  "value": 1.5,
686
444
  "$type": "number",
687
- "$extensions": {
688
- "org.primer.data": {
689
- "fontSize": 16
690
- },
691
- "org.primer.figma": {
692
- "collection": "typography",
693
- "scopes": ["all"]
694
- }
695
- },
696
445
  "filePath": "src/tokens/functional/typography/typography.json",
697
446
  "isSource": true,
698
447
  "original": {
699
448
  "value": 1.5,
700
- "$type": "number",
701
- "$extensions": {
702
- "org.primer.data": {
703
- "fontSize": 16
704
- },
705
- "org.primer.figma": {
706
- "collection": "typography",
707
- "scopes": ["all"]
708
- }
709
- }
449
+ "$type": "number"
710
450
  },
711
451
  "name": "text-body-lineHeight-large",
712
452
  "attributes": {},
@@ -715,29 +455,11 @@
715
455
  "text-body-lineHeight-medium": {
716
456
  "value": 1.4285,
717
457
  "$type": "number",
718
- "$extensions": {
719
- "org.primer.data": {
720
- "fontSize": 14
721
- },
722
- "org.primer.figma": {
723
- "collection": "typography",
724
- "scopes": ["all"]
725
- }
726
- },
727
458
  "filePath": "src/tokens/functional/typography/typography.json",
728
459
  "isSource": true,
729
460
  "original": {
730
461
  "value": 1.4285,
731
- "$type": "number",
732
- "$extensions": {
733
- "org.primer.data": {
734
- "fontSize": 14
735
- },
736
- "org.primer.figma": {
737
- "collection": "typography",
738
- "scopes": ["all"]
739
- }
740
- }
462
+ "$type": "number"
741
463
  },
742
464
  "name": "text-body-lineHeight-medium",
743
465
  "attributes": {},
@@ -746,29 +468,11 @@
746
468
  "text-body-lineHeight-small": {
747
469
  "value": 1.6666,
748
470
  "$type": "number",
749
- "$extensions": {
750
- "org.primer.data": {
751
- "fontSize": 12
752
- },
753
- "org.primer.figma": {
754
- "collection": "typography",
755
- "scopes": ["all"]
756
- }
757
- },
758
471
  "filePath": "src/tokens/functional/typography/typography.json",
759
472
  "isSource": true,
760
473
  "original": {
761
474
  "value": 1.6666,
762
- "$type": "number",
763
- "$extensions": {
764
- "org.primer.data": {
765
- "fontSize": 12
766
- },
767
- "org.primer.figma": {
768
- "collection": "typography",
769
- "scopes": ["all"]
770
- }
771
- }
475
+ "$type": "number"
772
476
  },
773
477
  "name": "text-body-lineHeight-small",
774
478
  "attributes": {},
@@ -850,23 +554,11 @@
850
554
  "text-caption-size": {
851
555
  "value": ["0.75rem", "12px"],
852
556
  "$type": "dimension",
853
- "$extensions": {
854
- "org.primer.figma": {
855
- "collection": "typography",
856
- "scopes": ["all"]
857
- }
858
- },
859
557
  "filePath": "src/tokens/functional/typography/typography.json",
860
558
  "isSource": true,
861
559
  "original": {
862
560
  "value": "12px",
863
- "$type": "dimension",
864
- "$extensions": {
865
- "org.primer.figma": {
866
- "collection": "typography",
867
- "scopes": ["all"]
868
- }
869
- }
561
+ "$type": "dimension"
870
562
  },
871
563
  "name": "text-caption-size",
872
564
  "attributes": {},
@@ -875,29 +567,11 @@
875
567
  "text-caption-lineHeight": {
876
568
  "value": 1.3333,
877
569
  "$type": "number",
878
- "$extensions": {
879
- "org.primer.data": {
880
- "fontSize": 12
881
- },
882
- "org.primer.figma": {
883
- "collection": "typography",
884
- "scopes": ["all"]
885
- }
886
- },
887
570
  "filePath": "src/tokens/functional/typography/typography.json",
888
571
  "isSource": true,
889
572
  "original": {
890
573
  "value": 1.3333,
891
- "$type": "number",
892
- "$extensions": {
893
- "org.primer.data": {
894
- "fontSize": 12
895
- },
896
- "org.primer.figma": {
897
- "collection": "typography",
898
- "scopes": ["all"]
899
- }
900
- }
574
+ "$type": "number"
901
575
  },
902
576
  "name": "text-caption-lineHeight",
903
577
  "attributes": {},
@@ -906,23 +580,11 @@
906
580
  "text-caption-weight": {
907
581
  "value": 400,
908
582
  "$type": "fontWeight",
909
- "$extensions": {
910
- "org.primer.figma": {
911
- "collection": "typography",
912
- "scopes": ["all"]
913
- }
914
- },
915
583
  "filePath": "src/tokens/functional/typography/typography.json",
916
584
  "isSource": true,
917
585
  "original": {
918
586
  "value": "{base.text.weight.normal}",
919
- "$type": "fontWeight",
920
- "$extensions": {
921
- "org.primer.figma": {
922
- "collection": "typography",
923
- "scopes": ["all"]
924
- }
925
- }
587
+ "$type": "fontWeight"
926
588
  },
927
589
  "name": "text-caption-weight",
928
590
  "attributes": {},
@@ -951,23 +613,11 @@
951
613
  "text-codeBlock-size": {
952
614
  "value": ["0.8125rem", "13px"],
953
615
  "$type": "dimension",
954
- "$extensions": {
955
- "org.primer.figma": {
956
- "collection": "typography",
957
- "scopes": ["all"]
958
- }
959
- },
960
616
  "filePath": "src/tokens/functional/typography/typography.json",
961
617
  "isSource": true,
962
618
  "original": {
963
619
  "value": "13px",
964
- "$type": "dimension",
965
- "$extensions": {
966
- "org.primer.figma": {
967
- "collection": "typography",
968
- "scopes": ["all"]
969
- }
970
- }
620
+ "$type": "dimension"
971
621
  },
972
622
  "name": "text-codeBlock-size",
973
623
  "attributes": {},
@@ -976,29 +626,11 @@
976
626
  "text-codeBlock-lineHeight": {
977
627
  "value": 1.5385,
978
628
  "$type": "number",
979
- "$extensions": {
980
- "org.primer.data": {
981
- "fontSize": 13
982
- },
983
- "org.primer.figma": {
984
- "collection": "typography",
985
- "scopes": ["all"]
986
- }
987
- },
988
629
  "filePath": "src/tokens/functional/typography/typography.json",
989
630
  "isSource": true,
990
631
  "original": {
991
632
  "value": 1.5385,
992
- "$type": "number",
993
- "$extensions": {
994
- "org.primer.data": {
995
- "fontSize": 13
996
- },
997
- "org.primer.figma": {
998
- "collection": "typography",
999
- "scopes": ["all"]
1000
- }
1001
- }
633
+ "$type": "number"
1002
634
  },
1003
635
  "name": "text-codeBlock-lineHeight",
1004
636
  "attributes": {},
@@ -1007,23 +639,11 @@
1007
639
  "text-codeBlock-weight": {
1008
640
  "value": 400,
1009
641
  "$type": "fontWeight",
1010
- "$extensions": {
1011
- "org.primer.figma": {
1012
- "collection": "typography",
1013
- "scopes": ["all"]
1014
- }
1015
- },
1016
642
  "filePath": "src/tokens/functional/typography/typography.json",
1017
643
  "isSource": true,
1018
644
  "original": {
1019
645
  "value": "{base.text.weight.normal}",
1020
- "$type": "fontWeight",
1021
- "$extensions": {
1022
- "org.primer.figma": {
1023
- "collection": "typography",
1024
- "scopes": ["all"]
1025
- }
1026
- }
646
+ "$type": "fontWeight"
1027
647
  },
1028
648
  "name": "text-codeBlock-weight",
1029
649
  "attributes": {},
@@ -1052,23 +672,11 @@
1052
672
  "text-codeInline-size": {
1053
673
  "value": ["0.9285em", "14.856px"],
1054
674
  "$type": "dimension",
1055
- "$extensions": {
1056
- "org.primer.figma": {
1057
- "collection": "typography",
1058
- "scopes": ["all"]
1059
- }
1060
- },
1061
675
  "filePath": "src/tokens/functional/typography/typography.json",
1062
676
  "isSource": true,
1063
677
  "original": {
1064
678
  "value": "0.9285em",
1065
- "$type": "dimension",
1066
- "$extensions": {
1067
- "org.primer.figma": {
1068
- "collection": "typography",
1069
- "scopes": ["all"]
1070
- }
1071
- }
679
+ "$type": "dimension"
1072
680
  },
1073
681
  "name": "text-codeInline-size",
1074
682
  "attributes": {},
@@ -1077,23 +685,11 @@
1077
685
  "text-codeInline-weight": {
1078
686
  "value": 400,
1079
687
  "$type": "fontWeight",
1080
- "$extensions": {
1081
- "org.primer.figma": {
1082
- "collection": "typography",
1083
- "scopes": ["all"]
1084
- }
1085
- },
1086
688
  "filePath": "src/tokens/functional/typography/typography.json",
1087
689
  "isSource": true,
1088
690
  "original": {
1089
691
  "value": "{base.text.weight.normal}",
1090
- "$type": "fontWeight",
1091
- "$extensions": {
1092
- "org.primer.figma": {
1093
- "collection": "typography",
1094
- "scopes": ["all"]
1095
- }
1096
- }
692
+ "$type": "fontWeight"
1097
693
  },
1098
694
  "name": "text-codeInline-weight",
1099
695
  "attributes": {},