Skip to content

Commit

Permalink
Update 09-lucette.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 9c4581f commit 3d49acc
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions assembler/styles/typography/09-lucette.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,78 @@
],
"settings": {
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Lucette",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/lucette/Lucette-Regular.woff2"
]
},
{
"fontFamily": "Lucette",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/lucette/Lucette-Regularitalic.woff2"
]
}
],
"fontFamily": "\"Lucette\", sans-serif",
"name": "Lucette",
"slug": "lucette"
},
{
"fontFace": [
{
"fontFamily": "DM Mono",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/dm-mono/DMMono-Light.ttf"
]
},
{
"fontFamily": "DM Mono",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/dm-mono/DMMono-Regular.ttf"
]
},
{
"fontFamily": "DM Mono",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/dm-mono/DMMono-Italic.ttf"
]
},
{
"fontFamily": "DM Mono",
"fontStyle": "normal",
"fontWeight": "500 600",
"src": [
"file:./assets/fonts/dm-mono/DMMono-Medium.ttf"
]
},
{
"fontFamily": "DM Mono",
"fontStyle": "italic",
"fontWeight": "500 600",
"src": [
"file:./assets/fonts/dm-mono/DMMono-MediumItalic.ttf"
]
}
],
"fontFamily": "\"DM Mono\", monospace",
"name": "DM Mono",
"slug": "dm-mono"
}
],
"fontSizes": [
{
"name": "Small",
Expand Down

0 comments on commit 3d49acc

Please sign in to comment.