Skip to content

Commit

Permalink
export font families to figma (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Apr 18, 2024
1 parent 181a18e commit 50890c6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-plums-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

add figma font family output
24 changes: 21 additions & 3 deletions src/tokens/functional/typography/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,33 @@
"fontStack": {
"system": {
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
"$type": "fontFamily"
"$type": "fontFamily",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": ["all"]
}
}
},
"sansSerif": {
"$value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
"$type": "fontFamily"
"$type": "fontFamily",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": ["all"]
}
}
},
"monospace": {
"$value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",
"$type": "fontFamily"
"$type": "fontFamily",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": ["all"]
}
}
}
},
"text": {
Expand Down

0 comments on commit 50890c6

Please sign in to comment.