@primer/primitives 7.17.0-rc.d7413369 → 7.17.0

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