fix font definitions

This commit is contained in:
2025-04-02 14:54:14 +05:00
parent 84f0caa0e4
commit a6897ccf15
4 changed files with 166 additions and 30 deletions

View File

@ -40,37 +40,61 @@
"fontFamily": "EB Garamond",
"fontWeight": "400",
"fontStyle": "normal",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Regular.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "400",
"fontStyle": "italic",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Italic.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-italic.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "500",
"fontStyle": "normal",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-Medium.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-medium.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "500",
"fontStyle": "italic",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-MediumItalic.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-medium-italic.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "600",
"fontStyle": "normal",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-SemiBold.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-semibold.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "600",
"fontStyle": "italic",
"src": ["file:./assets/fonts/eb-garamond/EBGaramond-SemiBoldItalic.ttf"]
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-semibold-italic.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "700",
"fontStyle": "normal",
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-bold.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "700",
"fontStyle": "italic",
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-bold-italic.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "800",
"fontStyle": "normal",
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-extrabold.woff2"]
},
{
"fontFamily": "EB Garamond",
"fontWeight": "800",
"fontStyle": "italic",
"src": ["file:./assets/fonts/eb-garamond/eb-garamond-extrabold-italic.woff2"]
}
]
},
@ -83,86 +107,86 @@
"fontFamily": "Jura",
"fontWeight": "300",
"fontStyle": "normal",
"src": ["file:./assets/fonts/jura/Jura-Light.ttf"]
"src": ["file:./assets/fonts/jura/jura-light.woff2"]
},
{
"fontFamily": "Jura",
"fontWeight": "400",
"fontStyle": "normal",
"src": ["file:./assets/fonts/jura/Jura-Regular.ttf"]
"src": ["file:./assets/fonts/jura/jura.woff2"]
},
{
"fontFamily": "Jura",
"fontWeight": "500",
"fontStyle": "normal",
"src": ["file:./assets/fonts/jura/Jura-Medium.ttf"]
"src": ["file:./assets/fonts/jura/jura-medium.woff2"]
},
{
"fontFamily": "Jura",
"fontWeight": "600",
"fontStyle": "normal",
"src": ["file:./assets/fonts/jura/Jura-SemiBold.ttf"]
"src": ["file:./assets/fonts/jura/jura-semibold.woff2"]
},
{
"fontFamily": "Jura",
"fontWeight": "700",
"fontStyle": "normal",
"src": ["file:./assets/fonts/jura/Jura-Bold.ttf"]
"src": ["file:./assets/fonts/jura/jura-bold.woff2"]
}
]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"slug": "sora",
"name": "Sora",
"name": "sora",
"fontFace": [
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "100",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-Thin.ttf"]
"src": ["file:./assets/fonts/sora/sora-thin.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "200",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-ExtraLight.ttf"]
"src": ["file:./assets/fonts/sora/sora-extralight.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "300",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-Light.ttf"]
"src": ["file:./assets/fonts/sora/sora-light.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "400",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-Regular.ttf"]
"src": ["file:./assets/fonts/sora/sora.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "500",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-Medium.ttf"]
"src": ["file:./assets/fonts/sora/sora-medium.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "600",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-SemiBold.ttf"]
"src": ["file:./assets/fonts/sora/sora-semibold.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "700",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-Bold.ttf"]
"src": ["file:./assets/fonts/sora/sora-bold.woff2"]
},
{
"fontFamily": "Sora",
"fontFamily": "sora",
"fontWeight": "800",
"fontStyle": "normal",
"src": ["file:./assets/fonts/sora/Sora-ExtraBold.ttf"]
"src": ["file:./assets/fonts/sora/sora-extrabold.woff2"]
}
]
}
@ -176,7 +200,7 @@
},
{
"fluid": false,
"name": "Medium",
"name": "medium",
"size": "16px",
"slug": "small"
},