|
42 | 42 | },
|
43 | 43 | "org.primer.figma": {
|
44 | 44 | "collection": "typography",
|
45 |
| - "scopes": ["all"] |
| 45 | + "scopes": ["all"], |
| 46 | + "fontSizeInPx": 40 |
46 | 47 | }
|
47 | 48 | }
|
48 | 49 | },
|
49 | 50 | "size": {
|
50 | 51 | "$value": "40px",
|
51 |
| - "$type": "dimension" |
| 52 | + "$type": "dimension", |
| 53 | + "$extensions": { |
| 54 | + "org.primer.figma": { |
| 55 | + "collection": "typography", |
| 56 | + "scopes": ["all"] |
| 57 | + } |
| 58 | + } |
52 | 59 | },
|
53 | 60 | "lineHeight": {
|
54 | 61 | "$value": 1.4,
|
|
65 | 72 | },
|
66 | 73 | "weight": {
|
67 | 74 | "$value": "{base.text.weight.medium}",
|
68 |
| - "$type": "fontWeight" |
| 75 | + "$type": "fontWeight", |
| 76 | + "$extensions": { |
| 77 | + "org.primer.figma": { |
| 78 | + "collection": "typography", |
| 79 | + "scopes": ["all"] |
| 80 | + } |
| 81 | + } |
69 | 82 | },
|
70 | 83 | "shorthand": {
|
71 | 84 | "$value": {
|
|
82 | 95 | "size": {
|
83 | 96 | "large": {
|
84 | 97 | "$value": "32px",
|
85 |
| - "$type": "dimension" |
| 98 | + "$type": "dimension", |
| 99 | + "$extensions": { |
| 100 | + "org.primer.figma": { |
| 101 | + "collection": "typography", |
| 102 | + "scopes": ["all"] |
| 103 | + } |
| 104 | + } |
86 | 105 | },
|
87 | 106 | "medium": {
|
88 | 107 | "$value": "20px",
|
89 |
| - "$type": "dimension" |
| 108 | + "$type": "dimension", |
| 109 | + "$extensions": { |
| 110 | + "org.primer.figma": { |
| 111 | + "collection": "typography", |
| 112 | + "scopes": ["all"] |
| 113 | + } |
| 114 | + } |
90 | 115 | },
|
91 | 116 | "small": {
|
92 | 117 | "$value": "16px",
|
93 |
| - "$type": "dimension" |
| 118 | + "$type": "dimension", |
| 119 | + "$extensions": { |
| 120 | + "org.primer.figma": { |
| 121 | + "collection": "typography", |
| 122 | + "scopes": ["all"] |
| 123 | + } |
| 124 | + } |
94 | 125 | }
|
95 | 126 | },
|
96 | 127 | "lineHeight": {
|
|
137 | 168 | "weight": {
|
138 | 169 | "large": {
|
139 | 170 | "$value": "{base.text.weight.semibold}",
|
140 |
| - "$type": "fontWeight" |
| 171 | + "$type": "fontWeight", |
| 172 | + "$extensions": { |
| 173 | + "org.primer.figma": { |
| 174 | + "collection": "typography", |
| 175 | + "scopes": ["all"] |
| 176 | + } |
| 177 | + } |
141 | 178 | },
|
142 | 179 | "medium": {
|
143 | 180 | "$value": "{base.text.weight.semibold}",
|
144 |
| - "$type": "fontWeight" |
| 181 | + "$type": "fontWeight", |
| 182 | + "$extensions": { |
| 183 | + "org.primer.figma": { |
| 184 | + "collection": "typography", |
| 185 | + "scopes": ["all"] |
| 186 | + } |
| 187 | + } |
145 | 188 | },
|
146 | 189 | "small": {
|
147 | 190 | "$value": "{base.text.weight.semibold}",
|
148 |
| - "$type": "fontWeight" |
| 191 | + "$type": "fontWeight", |
| 192 | + "$extensions": { |
| 193 | + "org.primer.figma": { |
| 194 | + "collection": "typography", |
| 195 | + "scopes": ["all"] |
| 196 | + } |
| 197 | + } |
149 | 198 | }
|
150 | 199 | },
|
151 | 200 | "shorthand": {
|
|
184 | 233 | "subtitle": {
|
185 | 234 | "size": {
|
186 | 235 | "$value": "20px",
|
187 |
| - "$type": "dimension" |
| 236 | + "$type": "dimension", |
| 237 | + "$extensions": { |
| 238 | + "org.primer.figma": { |
| 239 | + "collection": "typography", |
| 240 | + "scopes": ["all"] |
| 241 | + } |
| 242 | + } |
188 | 243 | },
|
189 | 244 | "lineHeight": {
|
190 | 245 | "$value": 1.6,
|
191 |
| - "$type": "number" |
| 246 | + "$type": "number", |
| 247 | + "$extensions": { |
| 248 | + "org.primer.figma": { |
| 249 | + "collection": "typography", |
| 250 | + "scopes": ["all"] |
| 251 | + } |
| 252 | + } |
192 | 253 | },
|
193 | 254 | "weight": {
|
194 | 255 | "$value": "{base.text.weight.normal}",
|
195 |
| - "$type": "fontWeight" |
| 256 | + "$type": "fontWeight", |
| 257 | + "$extensions": { |
| 258 | + "org.primer.figma": { |
| 259 | + "collection": "typography", |
| 260 | + "scopes": ["all"] |
| 261 | + } |
| 262 | + } |
196 | 263 | },
|
197 | 264 | "shorthand": {
|
198 | 265 | "$value": {
|
|
209 | 276 | "size": {
|
210 | 277 | "large": {
|
211 | 278 | "$value": "16px",
|
212 |
| - "$type": "dimension" |
| 279 | + "$type": "dimension", |
| 280 | + "$extensions": { |
| 281 | + "org.primer.figma": { |
| 282 | + "collection": "typography", |
| 283 | + "scopes": ["all"] |
| 284 | + } |
| 285 | + } |
213 | 286 | },
|
214 | 287 | "medium": {
|
215 | 288 | "$value": "14px",
|
216 |
| - "$type": "dimension" |
| 289 | + "$type": "dimension", |
| 290 | + "$extensions": { |
| 291 | + "org.primer.figma": { |
| 292 | + "collection": "typography", |
| 293 | + "scopes": ["all"] |
| 294 | + } |
| 295 | + } |
217 | 296 | },
|
218 | 297 | "small": {
|
219 | 298 | "$value": "12px",
|
220 |
| - "$type": "dimension" |
| 299 | + "$type": "dimension", |
| 300 | + "$extensions": { |
| 301 | + "org.primer.figma": { |
| 302 | + "collection": "typography", |
| 303 | + "scopes": ["all"] |
| 304 | + } |
| 305 | + } |
221 | 306 | }
|
222 | 307 | },
|
223 | 308 | "lineHeight": {
|
|
301 | 386 | "caption": {
|
302 | 387 | "size": {
|
303 | 388 | "$value": "12px",
|
304 |
| - "$type": "dimension" |
| 389 | + "$type": "dimension", |
| 390 | + "$extensions": { |
| 391 | + "org.primer.figma": { |
| 392 | + "collection": "typography", |
| 393 | + "scopes": ["all"] |
| 394 | + } |
| 395 | + } |
305 | 396 | },
|
306 | 397 | "lineHeight": {
|
307 | 398 | "$value": 1.3333,
|
|
318 | 409 | },
|
319 | 410 | "weight": {
|
320 | 411 | "$value": "{base.text.weight.normal}",
|
321 |
| - "$type": "fontWeight" |
| 412 | + "$type": "fontWeight", |
| 413 | + "$extensions": { |
| 414 | + "org.primer.figma": { |
| 415 | + "collection": "typography", |
| 416 | + "scopes": ["all"] |
| 417 | + } |
| 418 | + } |
322 | 419 | },
|
323 | 420 | "shorthand": {
|
324 | 421 | "$value": {
|
|
334 | 431 | "codeBlock": {
|
335 | 432 | "size": {
|
336 | 433 | "$value": "13px",
|
337 |
| - "$type": "dimension" |
| 434 | + "$type": "dimension", |
| 435 | + "$extensions": { |
| 436 | + "org.primer.figma": { |
| 437 | + "collection": "typography", |
| 438 | + "scopes": ["all"] |
| 439 | + } |
| 440 | + } |
338 | 441 | },
|
339 | 442 | "lineHeight": {
|
340 | 443 | "$value": 1.5385,
|
|
351 | 454 | },
|
352 | 455 | "weight": {
|
353 | 456 | "$value": "{base.text.weight.normal}",
|
354 |
| - "$type": "fontWeight" |
| 457 | + "$type": "fontWeight", |
| 458 | + "$extensions": { |
| 459 | + "org.primer.figma": { |
| 460 | + "collection": "typography", |
| 461 | + "scopes": ["all"] |
| 462 | + } |
| 463 | + } |
355 | 464 | },
|
356 | 465 | "shorthand": {
|
357 | 466 | "$value": {
|
|
367 | 476 | "codeInline": {
|
368 | 477 | "size": {
|
369 | 478 | "$value": "0.9285em",
|
370 |
| - "$type": "dimension" |
| 479 | + "$type": "dimension", |
| 480 | + "$extensions": { |
| 481 | + "org.primer.figma": { |
| 482 | + "collection": "typography", |
| 483 | + "scopes": ["all"] |
| 484 | + } |
| 485 | + } |
371 | 486 | },
|
372 | 487 | "weight": {
|
373 | 488 | "$value": "{base.text.weight.normal}",
|
374 |
| - "$type": "fontWeight" |
| 489 | + "$type": "fontWeight", |
| 490 | + "$extensions": { |
| 491 | + "org.primer.figma": { |
| 492 | + "collection": "typography", |
| 493 | + "scopes": ["all"] |
| 494 | + } |
| 495 | + } |
375 | 496 | },
|
376 | 497 | "shorthand": {
|
377 | 498 | "$value": {
|
|
0 commit comments