@primer/primitives 7.17.0-rc.8ff6ed39 → 7.17.0-rc.8fffddc7

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 (136) hide show
  1. package/README.md +1 -1
  2. package/dist/css/functional/themes/dark-colorblind.css +10 -0
  3. package/dist/css/functional/themes/dark-dimmed.css +10 -0
  4. package/dist/css/functional/themes/dark-high-contrast.css +10 -0
  5. package/dist/css/functional/themes/dark-tritanopia.css +10 -0
  6. package/dist/css/functional/themes/dark.css +10 -0
  7. package/dist/css/functional/themes/light-colorblind.css +10 -0
  8. package/dist/css/functional/themes/light-high-contrast.css +10 -0
  9. package/dist/css/functional/themes/light-tritanopia.css +10 -0
  10. package/dist/css/functional/themes/light.css +10 -0
  11. package/dist/css/functional/typography/typography.css +1 -1
  12. package/dist/docs/base/typography/typography.json +52 -4
  13. package/dist/docs/functional/themes/dark-colorblind.json +145 -0
  14. package/dist/docs/functional/themes/dark-dimmed.json +145 -0
  15. package/dist/docs/functional/themes/dark-high-contrast.json +145 -0
  16. package/dist/docs/functional/themes/dark-tritanopia.json +145 -0
  17. package/dist/docs/functional/themes/dark.json +145 -0
  18. package/dist/docs/functional/themes/light-colorblind.json +145 -0
  19. package/dist/docs/functional/themes/light-high-contrast.json +145 -0
  20. package/dist/docs/functional/themes/light-tritanopia.json +145 -0
  21. package/dist/docs/functional/themes/light.json +145 -0
  22. package/dist/docs/functional/typography/typography.json +494 -36
  23. package/dist/fallbacks/functional/typography/typography.json +1 -1
  24. package/dist/figma/figma.json +18 -1
  25. package/dist/figma/themes/dark-colorblind.json +80 -0
  26. package/dist/figma/themes/dark-dimmed.json +80 -0
  27. package/dist/figma/themes/dark-high-contrast.json +80 -0
  28. package/dist/figma/themes/dark-tritanopia.json +80 -0
  29. package/dist/figma/themes/dark.json +80 -0
  30. package/dist/figma/themes/light-colorblind.json +80 -0
  31. package/dist/figma/themes/light-high-contrast.json +80 -0
  32. package/dist/figma/themes/light-tritanopia.json +80 -0
  33. package/dist/figma/themes/light.json +80 -0
  34. package/dist/figma/typography/typography.json +370 -0
  35. package/dist/internalCss/dark-colorblind.css +10 -0
  36. package/dist/internalCss/dark-dimmed.css +10 -0
  37. package/dist/internalCss/dark-high-contrast.css +10 -0
  38. package/dist/internalCss/dark-tritanopia.css +10 -0
  39. package/dist/internalCss/dark.css +10 -0
  40. package/dist/internalCss/light-colorblind.css +10 -0
  41. package/dist/internalCss/light-high-contrast.css +10 -0
  42. package/dist/internalCss/light-tritanopia.css +10 -0
  43. package/dist/internalCss/light.css +10 -0
  44. package/dist/styleLint/base/typography/typography.json +52 -4
  45. package/dist/styleLint/functional/themes/dark-colorblind.json +145 -0
  46. package/dist/styleLint/functional/themes/dark-dimmed.json +145 -0
  47. package/dist/styleLint/functional/themes/dark-high-contrast.json +145 -0
  48. package/dist/styleLint/functional/themes/dark-tritanopia.json +145 -0
  49. package/dist/styleLint/functional/themes/dark.json +145 -0
  50. package/dist/styleLint/functional/themes/light-colorblind.json +145 -0
  51. package/dist/styleLint/functional/themes/light-high-contrast.json +145 -0
  52. package/dist/styleLint/functional/themes/light-tritanopia.json +145 -0
  53. package/dist/styleLint/functional/themes/light.json +145 -0
  54. package/dist/styleLint/functional/typography/typography.json +494 -36
  55. package/package.json +4 -11
  56. package/src/PrimerStyleDictionary.ts +12 -0
  57. package/src/filters/index.ts +1 -0
  58. package/src/filters/isNumber.ts +8 -0
  59. package/src/formats/jsonFigma.ts +1 -0
  60. package/src/platforms/figma.ts +10 -1
  61. package/src/schemas/numberToken.ts +17 -0
  62. package/src/tokens/base/typography/typography.json +28 -4
  63. package/src/tokens/functional/color/dark/display-dark.json5 +66 -0
  64. package/src/tokens/functional/color/light/display-light.json5 +66 -0
  65. package/src/tokens/functional/typography/typography.json +263 -34
  66. package/src/transformers/floatToPixel.ts +33 -0
  67. package/src/transformers/fontFamilyToCss.ts +3 -4
  68. package/src/transformers/fontFamilyToFigma.ts +47 -0
  69. package/src/transformers/index.ts +2 -0
  70. package/src/transformers/utilities/hasSpaceInString.ts +6 -0
  71. package/build.js +0 -578
  72. package/tokens/base/size/size.json +0 -57
  73. package/tokens/base/typography/typography.json +0 -20
  74. package/tokens/functional/size/border.json +0 -48
  75. package/tokens/functional/size/breakpoints.json +0 -24
  76. package/tokens/functional/size/size-coarse.json +0 -27
  77. package/tokens/functional/size/size-fine.json +0 -27
  78. package/tokens/functional/size/size.json +0 -189
  79. package/tokens/functional/size/viewport.json +0 -24
  80. package/tokens/functional/typography/typography.json +0 -213
  81. package/tokens/removed/color.json +0 -421
  82. package/tokens-v2-private/css/tokens/base/size/size.css +0 -24
  83. package/tokens-v2-private/css/tokens/base/typography/typography.css +0 -11
  84. package/tokens-v2-private/css/tokens/functional/size/border.css +0 -17
  85. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +0 -13
  86. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +0 -11
  87. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +0 -11
  88. package/tokens-v2-private/css/tokens/functional/size/size.css +0 -54
  89. package/tokens-v2-private/css/tokens/functional/size/viewport.css +0 -6
  90. package/tokens-v2-private/css/tokens/functional/typography/typography.css +0 -47
  91. package/tokens-v2-private/docs/docValues.json +0 -2209
  92. package/tokens-v2-private/js/module/tokens/base/size/size.js +0 -266
  93. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +0 -77
  94. package/tokens-v2-private/js/module/tokens/functional/size/border.js +0 -165
  95. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +0 -101
  96. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +0 -73
  97. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +0 -73
  98. package/tokens-v2-private/js/module/tokens/functional/size/size.js +0 -824
  99. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +0 -101
  100. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +0 -809
  101. package/tokens-v2-private/js/tokens/base/size/size.js +0 -22
  102. package/tokens-v2-private/js/tokens/base/typography/typography.js +0 -9
  103. package/tokens-v2-private/js/tokens/functional/size/border.js +0 -15
  104. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +0 -11
  105. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +0 -8
  106. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +0 -8
  107. package/tokens-v2-private/js/tokens/functional/size/size.js +0 -52
  108. package/tokens-v2-private/js/tokens/functional/size/viewport.js +0 -11
  109. package/tokens-v2-private/js/tokens/functional/typography/typography.js +0 -45
  110. package/tokens-v2-private/scss/tokens/base/size/size.scss +0 -21
  111. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +0 -8
  112. package/tokens-v2-private/scss/tokens/functional/size/border.scss +0 -14
  113. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +0 -10
  114. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +0 -7
  115. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +0 -7
  116. package/tokens-v2-private/scss/tokens/functional/size/size.scss +0 -51
  117. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +0 -10
  118. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +0 -44
  119. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +0 -31
  120. package/tokens-v2-private/ts/tokens/base/size/size.js +0 -30
  121. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +0 -20
  122. package/tokens-v2-private/ts/tokens/base/typography/typography.js +0 -19
  123. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +0 -28
  124. package/tokens-v2-private/ts/tokens/functional/size/border.js +0 -27
  125. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +0 -20
  126. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +0 -19
  127. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +0 -29
  128. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +0 -28
  129. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +0 -29
  130. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +0 -28
  131. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +0 -103
  132. package/tokens-v2-private/ts/tokens/functional/size/size.js +0 -102
  133. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +0 -20
  134. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +0 -19
  135. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +0 -131
  136. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +0 -130
@@ -2,11 +2,23 @@
2
2
  "fontStack-system": {
3
3
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
4
4
  "$type": "fontFamily",
5
+ "$extensions": {
6
+ "org.primer.figma": {
7
+ "collection": "typography",
8
+ "scopes": ["all"]
9
+ }
10
+ },
5
11
  "filePath": "src/tokens/functional/typography/typography.json",
6
12
  "isSource": true,
7
13
  "original": {
8
14
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
9
- "$type": "fontFamily"
15
+ "$type": "fontFamily",
16
+ "$extensions": {
17
+ "org.primer.figma": {
18
+ "collection": "typography",
19
+ "scopes": ["all"]
20
+ }
21
+ }
10
22
  },
11
23
  "name": "fontStack-system",
12
24
  "attributes": {},
@@ -15,11 +27,23 @@
15
27
  "fontStack-sansSerif": {
16
28
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
17
29
  "$type": "fontFamily",
30
+ "$extensions": {
31
+ "org.primer.figma": {
32
+ "collection": "typography",
33
+ "scopes": ["all"]
34
+ }
35
+ },
18
36
  "filePath": "src/tokens/functional/typography/typography.json",
19
37
  "isSource": true,
20
38
  "original": {
21
39
  "value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
22
- "$type": "fontFamily"
40
+ "$type": "fontFamily",
41
+ "$extensions": {
42
+ "org.primer.figma": {
43
+ "collection": "typography",
44
+ "scopes": ["all"]
45
+ }
46
+ }
23
47
  },
24
48
  "name": "fontStack-sansSerif",
25
49
  "attributes": {},
@@ -28,24 +52,56 @@
28
52
  "fontStack-monospace": {
29
53
  "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
30
54
  "$type": "fontFamily",
55
+ "$extensions": {
56
+ "org.primer.figma": {
57
+ "collection": "typography",
58
+ "scopes": ["all"]
59
+ }
60
+ },
31
61
  "filePath": "src/tokens/functional/typography/typography.json",
32
62
  "isSource": true,
33
63
  "original": {
34
64
  "value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
35
- "$type": "fontFamily"
65
+ "$type": "fontFamily",
66
+ "$extensions": {
67
+ "org.primer.figma": {
68
+ "collection": "typography",
69
+ "scopes": ["all"]
70
+ }
71
+ }
36
72
  },
37
73
  "name": "fontStack-monospace",
38
74
  "attributes": {},
39
75
  "path": ["fontStack", "monospace"]
40
76
  },
41
77
  "text-display-lineBoxHeight": {
42
- "value": "3.5rem",
43
- "$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
+ },
44
90
  "filePath": "src/tokens/functional/typography/typography.json",
45
91
  "isSource": true,
46
92
  "original": {
47
- "value": "56px",
48
- "$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
+ }
49
105
  },
50
106
  "name": "text-display-lineBoxHeight",
51
107
  "attributes": {},
@@ -54,11 +110,23 @@
54
110
  "text-display-size": {
55
111
  "value": "2.5rem",
56
112
  "$type": "dimension",
113
+ "$extensions": {
114
+ "org.primer.figma": {
115
+ "collection": "typography",
116
+ "scopes": ["all"]
117
+ }
118
+ },
57
119
  "filePath": "src/tokens/functional/typography/typography.json",
58
120
  "isSource": true,
59
121
  "original": {
60
122
  "value": "40px",
61
- "$type": "dimension"
123
+ "$type": "dimension",
124
+ "$extensions": {
125
+ "org.primer.figma": {
126
+ "collection": "typography",
127
+ "scopes": ["all"]
128
+ }
129
+ }
62
130
  },
63
131
  "name": "text-display-size",
64
132
  "attributes": {},
@@ -67,11 +135,29 @@
67
135
  "text-display-lineHeight": {
68
136
  "value": 1.4,
69
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
+ },
70
147
  "filePath": "src/tokens/functional/typography/typography.json",
71
148
  "isSource": true,
72
149
  "original": {
73
150
  "value": 1.4,
74
- "$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
+ }
75
161
  },
76
162
  "name": "text-display-lineHeight",
77
163
  "attributes": {},
@@ -80,11 +166,23 @@
80
166
  "text-display-weight": {
81
167
  "value": 500,
82
168
  "$type": "fontWeight",
169
+ "$extensions": {
170
+ "org.primer.figma": {
171
+ "collection": "typography",
172
+ "scopes": ["all"]
173
+ }
174
+ },
83
175
  "filePath": "src/tokens/functional/typography/typography.json",
84
176
  "isSource": true,
85
177
  "original": {
86
178
  "value": "{base.text.weight.medium}",
87
- "$type": "fontWeight"
179
+ "$type": "fontWeight",
180
+ "$extensions": {
181
+ "org.primer.figma": {
182
+ "collection": "typography",
183
+ "scopes": ["all"]
184
+ }
185
+ }
88
186
  },
89
187
  "name": "text-display-weight",
90
188
  "attributes": {},
@@ -113,11 +211,23 @@
113
211
  "text-title-size-large": {
114
212
  "value": "2rem",
115
213
  "$type": "dimension",
214
+ "$extensions": {
215
+ "org.primer.figma": {
216
+ "collection": "typography",
217
+ "scopes": ["all"]
218
+ }
219
+ },
116
220
  "filePath": "src/tokens/functional/typography/typography.json",
117
221
  "isSource": true,
118
222
  "original": {
119
223
  "value": "32px",
120
- "$type": "dimension"
224
+ "$type": "dimension",
225
+ "$extensions": {
226
+ "org.primer.figma": {
227
+ "collection": "typography",
228
+ "scopes": ["all"]
229
+ }
230
+ }
121
231
  },
122
232
  "name": "text-title-size-large",
123
233
  "attributes": {},
@@ -126,11 +236,23 @@
126
236
  "text-title-size-medium": {
127
237
  "value": "1.25rem",
128
238
  "$type": "dimension",
239
+ "$extensions": {
240
+ "org.primer.figma": {
241
+ "collection": "typography",
242
+ "scopes": ["all"]
243
+ }
244
+ },
129
245
  "filePath": "src/tokens/functional/typography/typography.json",
130
246
  "isSource": true,
131
247
  "original": {
132
248
  "value": "20px",
133
- "$type": "dimension"
249
+ "$type": "dimension",
250
+ "$extensions": {
251
+ "org.primer.figma": {
252
+ "collection": "typography",
253
+ "scopes": ["all"]
254
+ }
255
+ }
134
256
  },
135
257
  "name": "text-title-size-medium",
136
258
  "attributes": {},
@@ -139,11 +261,23 @@
139
261
  "text-title-size-small": {
140
262
  "value": "1rem",
141
263
  "$type": "dimension",
264
+ "$extensions": {
265
+ "org.primer.figma": {
266
+ "collection": "typography",
267
+ "scopes": ["all"]
268
+ }
269
+ },
142
270
  "filePath": "src/tokens/functional/typography/typography.json",
143
271
  "isSource": true,
144
272
  "original": {
145
273
  "value": "16px",
146
- "$type": "dimension"
274
+ "$type": "dimension",
275
+ "$extensions": {
276
+ "org.primer.figma": {
277
+ "collection": "typography",
278
+ "scopes": ["all"]
279
+ }
280
+ }
147
281
  },
148
282
  "name": "text-title-size-small",
149
283
  "attributes": {},
@@ -152,11 +286,29 @@
152
286
  "text-title-lineHeight-large": {
153
287
  "value": 1.5,
154
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
+ },
155
298
  "filePath": "src/tokens/functional/typography/typography.json",
156
299
  "isSource": true,
157
300
  "original": {
158
301
  "value": 1.5,
159
- "$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
+ }
160
312
  },
161
313
  "name": "text-title-lineHeight-large",
162
314
  "attributes": {},
@@ -165,11 +317,29 @@
165
317
  "text-title-lineHeight-medium": {
166
318
  "value": 1.6,
167
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
+ },
168
329
  "filePath": "src/tokens/functional/typography/typography.json",
169
330
  "isSource": true,
170
331
  "original": {
171
332
  "value": 1.6,
172
- "$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
+ }
173
343
  },
174
344
  "name": "text-title-lineHeight-medium",
175
345
  "attributes": {},
@@ -178,11 +348,29 @@
178
348
  "text-title-lineHeight-small": {
179
349
  "value": 1.5,
180
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
+ },
181
360
  "filePath": "src/tokens/functional/typography/typography.json",
182
361
  "isSource": true,
183
362
  "original": {
184
363
  "value": 1.5,
185
- "$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
+ }
186
374
  },
187
375
  "name": "text-title-lineHeight-small",
188
376
  "attributes": {},
@@ -191,11 +379,23 @@
191
379
  "text-title-weight-large": {
192
380
  "value": 600,
193
381
  "$type": "fontWeight",
382
+ "$extensions": {
383
+ "org.primer.figma": {
384
+ "collection": "typography",
385
+ "scopes": ["all"]
386
+ }
387
+ },
194
388
  "filePath": "src/tokens/functional/typography/typography.json",
195
389
  "isSource": true,
196
390
  "original": {
197
391
  "value": "{base.text.weight.semibold}",
198
- "$type": "fontWeight"
392
+ "$type": "fontWeight",
393
+ "$extensions": {
394
+ "org.primer.figma": {
395
+ "collection": "typography",
396
+ "scopes": ["all"]
397
+ }
398
+ }
199
399
  },
200
400
  "name": "text-title-weight-large",
201
401
  "attributes": {},
@@ -204,11 +404,23 @@
204
404
  "text-title-weight-medium": {
205
405
  "value": 600,
206
406
  "$type": "fontWeight",
407
+ "$extensions": {
408
+ "org.primer.figma": {
409
+ "collection": "typography",
410
+ "scopes": ["all"]
411
+ }
412
+ },
207
413
  "filePath": "src/tokens/functional/typography/typography.json",
208
414
  "isSource": true,
209
415
  "original": {
210
416
  "value": "{base.text.weight.semibold}",
211
- "$type": "fontWeight"
417
+ "$type": "fontWeight",
418
+ "$extensions": {
419
+ "org.primer.figma": {
420
+ "collection": "typography",
421
+ "scopes": ["all"]
422
+ }
423
+ }
212
424
  },
213
425
  "name": "text-title-weight-medium",
214
426
  "attributes": {},
@@ -217,11 +429,23 @@
217
429
  "text-title-weight-small": {
218
430
  "value": 600,
219
431
  "$type": "fontWeight",
432
+ "$extensions": {
433
+ "org.primer.figma": {
434
+ "collection": "typography",
435
+ "scopes": ["all"]
436
+ }
437
+ },
220
438
  "filePath": "src/tokens/functional/typography/typography.json",
221
439
  "isSource": true,
222
440
  "original": {
223
441
  "value": "{base.text.weight.semibold}",
224
- "$type": "fontWeight"
442
+ "$type": "fontWeight",
443
+ "$extensions": {
444
+ "org.primer.figma": {
445
+ "collection": "typography",
446
+ "scopes": ["all"]
447
+ }
448
+ }
225
449
  },
226
450
  "name": "text-title-weight-small",
227
451
  "attributes": {},
@@ -290,11 +514,23 @@
290
514
  "text-subtitle-size": {
291
515
  "value": "1.25rem",
292
516
  "$type": "dimension",
517
+ "$extensions": {
518
+ "org.primer.figma": {
519
+ "collection": "typography",
520
+ "scopes": ["all"]
521
+ }
522
+ },
293
523
  "filePath": "src/tokens/functional/typography/typography.json",
294
524
  "isSource": true,
295
525
  "original": {
296
526
  "value": "20px",
297
- "$type": "dimension"
527
+ "$type": "dimension",
528
+ "$extensions": {
529
+ "org.primer.figma": {
530
+ "collection": "typography",
531
+ "scopes": ["all"]
532
+ }
533
+ }
298
534
  },
299
535
  "name": "text-subtitle-size",
300
536
  "attributes": {},
@@ -303,11 +539,23 @@
303
539
  "text-subtitle-lineHeight": {
304
540
  "value": 1.6,
305
541
  "$type": "number",
542
+ "$extensions": {
543
+ "org.primer.figma": {
544
+ "collection": "typography",
545
+ "scopes": ["all"]
546
+ }
547
+ },
306
548
  "filePath": "src/tokens/functional/typography/typography.json",
307
549
  "isSource": true,
308
550
  "original": {
309
551
  "value": 1.6,
310
- "$type": "number"
552
+ "$type": "number",
553
+ "$extensions": {
554
+ "org.primer.figma": {
555
+ "collection": "typography",
556
+ "scopes": ["all"]
557
+ }
558
+ }
311
559
  },
312
560
  "name": "text-subtitle-lineHeight",
313
561
  "attributes": {},
@@ -316,11 +564,23 @@
316
564
  "text-subtitle-weight": {
317
565
  "value": 400,
318
566
  "$type": "fontWeight",
567
+ "$extensions": {
568
+ "org.primer.figma": {
569
+ "collection": "typography",
570
+ "scopes": ["all"]
571
+ }
572
+ },
319
573
  "filePath": "src/tokens/functional/typography/typography.json",
320
574
  "isSource": true,
321
575
  "original": {
322
576
  "value": "{base.text.weight.normal}",
323
- "$type": "fontWeight"
577
+ "$type": "fontWeight",
578
+ "$extensions": {
579
+ "org.primer.figma": {
580
+ "collection": "typography",
581
+ "scopes": ["all"]
582
+ }
583
+ }
324
584
  },
325
585
  "name": "text-subtitle-weight",
326
586
  "attributes": {},
@@ -349,11 +609,23 @@
349
609
  "text-body-size-large": {
350
610
  "value": "1rem",
351
611
  "$type": "dimension",
612
+ "$extensions": {
613
+ "org.primer.figma": {
614
+ "collection": "typography",
615
+ "scopes": ["all"]
616
+ }
617
+ },
352
618
  "filePath": "src/tokens/functional/typography/typography.json",
353
619
  "isSource": true,
354
620
  "original": {
355
621
  "value": "16px",
356
- "$type": "dimension"
622
+ "$type": "dimension",
623
+ "$extensions": {
624
+ "org.primer.figma": {
625
+ "collection": "typography",
626
+ "scopes": ["all"]
627
+ }
628
+ }
357
629
  },
358
630
  "name": "text-body-size-large",
359
631
  "attributes": {},
@@ -362,11 +634,23 @@
362
634
  "text-body-size-medium": {
363
635
  "value": "0.875rem",
364
636
  "$type": "dimension",
637
+ "$extensions": {
638
+ "org.primer.figma": {
639
+ "collection": "typography",
640
+ "scopes": ["all"]
641
+ }
642
+ },
365
643
  "filePath": "src/tokens/functional/typography/typography.json",
366
644
  "isSource": true,
367
645
  "original": {
368
646
  "value": "14px",
369
- "$type": "dimension"
647
+ "$type": "dimension",
648
+ "$extensions": {
649
+ "org.primer.figma": {
650
+ "collection": "typography",
651
+ "scopes": ["all"]
652
+ }
653
+ }
370
654
  },
371
655
  "name": "text-body-size-medium",
372
656
  "attributes": {},
@@ -375,11 +659,23 @@
375
659
  "text-body-size-small": {
376
660
  "value": "0.75rem",
377
661
  "$type": "dimension",
662
+ "$extensions": {
663
+ "org.primer.figma": {
664
+ "collection": "typography",
665
+ "scopes": ["all"]
666
+ }
667
+ },
378
668
  "filePath": "src/tokens/functional/typography/typography.json",
379
669
  "isSource": true,
380
670
  "original": {
381
671
  "value": "12px",
382
- "$type": "dimension"
672
+ "$type": "dimension",
673
+ "$extensions": {
674
+ "org.primer.figma": {
675
+ "collection": "typography",
676
+ "scopes": ["all"]
677
+ }
678
+ }
383
679
  },
384
680
  "name": "text-body-size-small",
385
681
  "attributes": {},
@@ -388,11 +684,29 @@
388
684
  "text-body-lineHeight-large": {
389
685
  "value": 1.5,
390
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
+ },
391
696
  "filePath": "src/tokens/functional/typography/typography.json",
392
697
  "isSource": true,
393
698
  "original": {
394
699
  "value": 1.5,
395
- "$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
+ }
396
710
  },
397
711
  "name": "text-body-lineHeight-large",
398
712
  "attributes": {},
@@ -401,11 +715,29 @@
401
715
  "text-body-lineHeight-medium": {
402
716
  "value": 1.4285,
403
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
+ },
404
727
  "filePath": "src/tokens/functional/typography/typography.json",
405
728
  "isSource": true,
406
729
  "original": {
407
730
  "value": 1.4285,
408
- "$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
+ }
409
741
  },
410
742
  "name": "text-body-lineHeight-medium",
411
743
  "attributes": {},
@@ -414,11 +746,29 @@
414
746
  "text-body-lineHeight-small": {
415
747
  "value": 1.6666,
416
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
+ },
417
758
  "filePath": "src/tokens/functional/typography/typography.json",
418
759
  "isSource": true,
419
760
  "original": {
420
761
  "value": 1.6666,
421
- "$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
+ }
422
772
  },
423
773
  "name": "text-body-lineHeight-small",
424
774
  "attributes": {},
@@ -500,11 +850,23 @@
500
850
  "text-caption-size": {
501
851
  "value": "0.75rem",
502
852
  "$type": "dimension",
853
+ "$extensions": {
854
+ "org.primer.figma": {
855
+ "collection": "typography",
856
+ "scopes": ["all"]
857
+ }
858
+ },
503
859
  "filePath": "src/tokens/functional/typography/typography.json",
504
860
  "isSource": true,
505
861
  "original": {
506
862
  "value": "12px",
507
- "$type": "dimension"
863
+ "$type": "dimension",
864
+ "$extensions": {
865
+ "org.primer.figma": {
866
+ "collection": "typography",
867
+ "scopes": ["all"]
868
+ }
869
+ }
508
870
  },
509
871
  "name": "text-caption-size",
510
872
  "attributes": {},
@@ -513,11 +875,29 @@
513
875
  "text-caption-lineHeight": {
514
876
  "value": 1.3333,
515
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
+ },
516
887
  "filePath": "src/tokens/functional/typography/typography.json",
517
888
  "isSource": true,
518
889
  "original": {
519
890
  "value": 1.3333,
520
- "$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
+ }
521
901
  },
522
902
  "name": "text-caption-lineHeight",
523
903
  "attributes": {},
@@ -526,11 +906,23 @@
526
906
  "text-caption-weight": {
527
907
  "value": 400,
528
908
  "$type": "fontWeight",
909
+ "$extensions": {
910
+ "org.primer.figma": {
911
+ "collection": "typography",
912
+ "scopes": ["all"]
913
+ }
914
+ },
529
915
  "filePath": "src/tokens/functional/typography/typography.json",
530
916
  "isSource": true,
531
917
  "original": {
532
918
  "value": "{base.text.weight.normal}",
533
- "$type": "fontWeight"
919
+ "$type": "fontWeight",
920
+ "$extensions": {
921
+ "org.primer.figma": {
922
+ "collection": "typography",
923
+ "scopes": ["all"]
924
+ }
925
+ }
534
926
  },
535
927
  "name": "text-caption-weight",
536
928
  "attributes": {},
@@ -559,11 +951,23 @@
559
951
  "text-codeBlock-size": {
560
952
  "value": "0.8125rem",
561
953
  "$type": "dimension",
954
+ "$extensions": {
955
+ "org.primer.figma": {
956
+ "collection": "typography",
957
+ "scopes": ["all"]
958
+ }
959
+ },
562
960
  "filePath": "src/tokens/functional/typography/typography.json",
563
961
  "isSource": true,
564
962
  "original": {
565
963
  "value": "13px",
566
- "$type": "dimension"
964
+ "$type": "dimension",
965
+ "$extensions": {
966
+ "org.primer.figma": {
967
+ "collection": "typography",
968
+ "scopes": ["all"]
969
+ }
970
+ }
567
971
  },
568
972
  "name": "text-codeBlock-size",
569
973
  "attributes": {},
@@ -572,11 +976,29 @@
572
976
  "text-codeBlock-lineHeight": {
573
977
  "value": 1.5385,
574
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
+ },
575
988
  "filePath": "src/tokens/functional/typography/typography.json",
576
989
  "isSource": true,
577
990
  "original": {
578
991
  "value": 1.5385,
579
- "$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
+ }
580
1002
  },
581
1003
  "name": "text-codeBlock-lineHeight",
582
1004
  "attributes": {},
@@ -585,11 +1007,23 @@
585
1007
  "text-codeBlock-weight": {
586
1008
  "value": 400,
587
1009
  "$type": "fontWeight",
1010
+ "$extensions": {
1011
+ "org.primer.figma": {
1012
+ "collection": "typography",
1013
+ "scopes": ["all"]
1014
+ }
1015
+ },
588
1016
  "filePath": "src/tokens/functional/typography/typography.json",
589
1017
  "isSource": true,
590
1018
  "original": {
591
1019
  "value": "{base.text.weight.normal}",
592
- "$type": "fontWeight"
1020
+ "$type": "fontWeight",
1021
+ "$extensions": {
1022
+ "org.primer.figma": {
1023
+ "collection": "typography",
1024
+ "scopes": ["all"]
1025
+ }
1026
+ }
593
1027
  },
594
1028
  "name": "text-codeBlock-weight",
595
1029
  "attributes": {},
@@ -618,11 +1052,23 @@
618
1052
  "text-codeInline-size": {
619
1053
  "value": "0.9285em",
620
1054
  "$type": "dimension",
1055
+ "$extensions": {
1056
+ "org.primer.figma": {
1057
+ "collection": "typography",
1058
+ "scopes": ["all"]
1059
+ }
1060
+ },
621
1061
  "filePath": "src/tokens/functional/typography/typography.json",
622
1062
  "isSource": true,
623
1063
  "original": {
624
1064
  "value": "0.9285em",
625
- "$type": "dimension"
1065
+ "$type": "dimension",
1066
+ "$extensions": {
1067
+ "org.primer.figma": {
1068
+ "collection": "typography",
1069
+ "scopes": ["all"]
1070
+ }
1071
+ }
626
1072
  },
627
1073
  "name": "text-codeInline-size",
628
1074
  "attributes": {},
@@ -631,11 +1077,23 @@
631
1077
  "text-codeInline-weight": {
632
1078
  "value": 400,
633
1079
  "$type": "fontWeight",
1080
+ "$extensions": {
1081
+ "org.primer.figma": {
1082
+ "collection": "typography",
1083
+ "scopes": ["all"]
1084
+ }
1085
+ },
634
1086
  "filePath": "src/tokens/functional/typography/typography.json",
635
1087
  "isSource": true,
636
1088
  "original": {
637
1089
  "value": "{base.text.weight.normal}",
638
- "$type": "fontWeight"
1090
+ "$type": "fontWeight",
1091
+ "$extensions": {
1092
+ "org.primer.figma": {
1093
+ "collection": "typography",
1094
+ "scopes": ["all"]
1095
+ }
1096
+ }
639
1097
  },
640
1098
  "name": "text-codeInline-weight",
641
1099
  "attributes": {},