Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Move font family definitions into respective typography presets. #237

Merged
merged 11 commits into from
Oct 28, 2024
152 changes: 152 additions & 0 deletions styles/02-noon.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,158 @@
]
},
"typography": {
"fontFamilies": [
{
"name": "Beiruti",
"slug": "beiruti",
"fontFamily": "Beiruti, sans-serif",
"fontFace": [
{
"fontFamily": "Beiruti",
"fontStyle": "normal",
"fontWeight": "200 900",
"src": [
"file:./assets/fonts/beiruti/Beiruti-VariableFont_wght.woff2"
]
}
]
},
{
"name": "Literata",
"slug": "literata",
"fontFamily": "Literata, serif",
"fontFace": [
{
"src": [
"file:./assets/fonts/literata/Literata72pt-ExtraLight.woff2"
],
"fontWeight": "200",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-ExtraLightItalic.woff2"
],
"fontWeight": "200",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-Light.woff2"
],
"fontWeight": "300",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-LightItalic.woff2"
],
"fontWeight": "300",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-Regular.woff2"
],
"fontWeight": "400",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-RegularItalic.woff2"
],
"fontWeight": "400",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-Medium.woff2"
],
"fontWeight": "500",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-MediumItalic.woff2"
],
"fontWeight": "500",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-SemiBold.woff2"
],
"fontWeight": "600",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-SemiBoldItalic.woff2"
],
"fontWeight": "600",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-Bold.woff2"
],
"fontWeight": "700",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-BoldItalic.woff2"
],
"fontWeight": "700",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-ExtraBold.woff2"
],
"fontWeight": "800",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-ExtraBoldItalic.woff2"
],
"fontWeight": "800",
"fontStyle": "italic",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-Black.woff2"
],
"fontWeight": "900",
"fontStyle": "normal",
"fontFamily": "Literata"
},
{
"src": [
"file:./assets/fonts/literata/Literata72pt-BlackItalic.woff2"
],
"fontWeight": "900",
"fontStyle": "italic",
"fontFamily": "Literata"
}
]
}
],
"fontSizes": [
{
"fluid": false,
Expand Down
146 changes: 146 additions & 0 deletions styles/03-dusk.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,152 @@
"color": {
"accent-2-opacity-20": "#650DD433"
}
},
"typography": {
"fontFamilies": [
{
"name": "Vollkorn",
"slug": "vollkorn",
"fontFamily": "Vollkorn, serif",
"fontFace": [
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-Italic.woff2"
],
"fontWeight": "400",
"fontStyle": "italic",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-Regular.woff2"
],
"fontWeight": "400",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-Medium.woff2"
],
"fontWeight": "500",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-MediumItalic.woff2"
],
"fontWeight": "500",
"fontStyle": "italic",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-SemiBold.woff2"
],
"fontWeight": "600",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-Bold.woff2"
],
"fontWeight": "700",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-BoldItalic.woff2"
],
"fontWeight": "700",
"fontStyle": "italic",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-ExtraBold.woff2"
],
"fontWeight": "800",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-ExtraBoldItalic.woff2"
],
"fontWeight": "800",
"fontStyle": "italic",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-Black.woff2"
],
"fontWeight": "900",
"fontStyle": "normal",
"fontFamily": "Vollkorn"
},
{
"src": [
"file:./assets/fonts/vollkorn/Vollkorn-BlackItalic.woff2"
],
"fontWeight": "900",
"fontStyle": "italic",
"fontFamily": "Vollkorn"
}
]
},
{
"name": "Fira Code",
"slug": "fira-code",
"fontFamily": "\"Fira Code\", monospace",
"fontFace": [
{
"src": [
"file:./assets/fonts/fira-code/FiraCode-Light.woff2"
],
"fontWeight": "300",
"fontStyle": "normal",
"fontFamily": "\"Fira Code\""
},
{
"src": [
"file:./assets/fonts/fira-code/FiraCode-Regular.woff2"
],
"fontWeight": "400",
"fontStyle": "normal",
"fontFamily": "\"Fira Code\""
},
{
"src": [
"file:./assets/fonts/fira-code/FiraCode-Medium.woff2"
],
"fontWeight": "500",
"fontStyle": "normal",
"fontFamily": "\"Fira Code\""
},
{
"src": [
"file:./assets/fonts/fira-code/FiraCode-SemiBold.woff2"
],
"fontWeight": "600",
"fontStyle": "normal",
"fontFamily": "\"Fira Code\""
},
{
"src": [
"file:./assets/fonts/fira-code/FiraCode-Bold.woff2"
],
"fontWeight": "700",
"fontStyle": "normal",
"fontFamily": "\"Fira Code\""
}
]
}
]
}
},
"styles": {
Expand Down
Loading
Loading