Skip to content

Commit

Permalink
Update 07-fraunces.json
Browse files Browse the repository at this point in the history
Move font families definition to the corresponding style variation. See #8079
  • Loading branch information
alaczek committed Nov 14, 2024
1 parent d4dd58b commit 699f61d
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions assembler/styles/typography/07-fraunces.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,56 @@
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Fraunces",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/fraunces/Fraunces-VariableFont.ttf"
]
},
{
"fontFamily": "Fraunces",
"fontStyle": "italic",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/fraunces/Fraunces-Italic-VariableFont.ttf"
]
}
],
"fontFamily": "\"Fraunces\", serif",
"name": "Fraunces",
"slug": "fraunces"
},
{
"fontFace": [
{
"fontFamily": "Inter",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/inter/InterVariable.ttf"
]
},
{
"fontFamily": "Inter",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "100 800",
"src": [
"file:./assets/fonts/inter/InterVariable-Italic.ttf"
]
}
],
"fontFamily": "\"Inter\", sans-serif",
"name": "Inter",
"slug": "inter"
}
],
"fontSizes": [
{
"name": "Small",
Expand Down

0 comments on commit 699f61d

Please sign in to comment.