Skip to content

Commit 02777f6

Browse files
add body-weight token for figma output (#944)
1 parent 0eb2320 commit 02777f6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/silent-walls-run.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/primitives': patch
3+
---
4+
5+
Added body-weight token to figma output

src/tokens/functional/typography/typography.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,13 @@
348348
},
349349
"weight": {
350350
"$value": "{base.text.weight.normal}",
351-
"$type": "fontWeight"
351+
"$type": "fontWeight",
352+
"$extensions": {
353+
"org.primer.figma": {
354+
"collection": "typography",
355+
"scopes": ["all"]
356+
}
357+
}
352358
},
353359
"shorthand": {
354360
"large": {

0 commit comments

Comments
 (0)