Skip to content

Commit

Permalink
Update 13-rufina.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 ab019a6 commit c6c44eb
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions assembler/styles/typography/13-rufina.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,95 @@
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Rufina",
"fontStyle": "normal",
"fontWeight": "100 400",
"src": [
"file:./assets/fonts/rufina/Rufina-Regular.ttf"
]
},
{
"fontFamily": "Rufina",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/rufina/Rufina-Bold.ttf"
]
}
],
"fontFamily": "\"Rufina\", serif",
"name": "Rufina",
"slug": "rufina"
},
{
"fontFace": [
{
"fontFamily": "PT Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-serif/PTSerif-Regular.ttf"
]
},
{
"fontFamily": "PT Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-serif/PTSerif-Italic.ttf"
]
},
{
"fontFamily": "PT Serif",
"fontStyle": "bold",
"fontWeight": "600",
"src": [
"file:./assets/fonts/pt-serif/PTSerif-Bold.ttf"
]
},
{
"fontFamily": "PT Serif",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/pt-serif/PTSerif-BoldItalic.ttf"
]
}
],
"fontFamily": "\"PT Serif\", serif",
"name": "PT Serif",
"slug": "pt-serif"
},
{
"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 c6c44eb

Please sign in to comment.