Skip to content

Commit

Permalink
Replace TTF with WOFF2 fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
2ndkauboy committed Feb 10, 2024
1 parent 9b4ec0c commit 24b12e6
Show file tree
Hide file tree
Showing 21 changed files with 10 additions and 10 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_200.ttf
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_300.ttf
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_400.ttf
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_500.ttf
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_600.ttf
Binary file not shown.
Binary file removed assets/fonts/oswald_normal_700.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/fonts/pt-sans_italic_400.ttf
Binary file not shown.
Binary file removed assets/fonts/pt-sans_italic_700.ttf
Binary file not shown.
Binary file removed assets/fonts/pt-sans_normal_400.ttf
Binary file not shown.
Binary file removed assets/fonts/pt-sans_normal_700.ttf
Binary file not shown.
20 changes: 10 additions & 10 deletions theme.json
Expand Up @@ -32,47 +32,47 @@
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/oswald_normal_200.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-200.woff2"
]
},
{
"fontFamily": "Oswald",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/oswald_normal_300.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-300.woff2"
]
},
{
"fontFamily": "Oswald",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/oswald_normal_400.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-regular.woff2"
]
},
{
"fontFamily": "Oswald",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/oswald_normal_500.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-500.woff2"
]
},
{
"fontFamily": "Oswald",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/oswald_normal_600.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-600.woff2"
]
},
{
"fontFamily": "Oswald",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/oswald_normal_700.ttf"
"file:./assets/fonts/oswald/oswald-v53-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700.woff2"
]
}
]
Expand All @@ -86,31 +86,31 @@
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_normal_400.ttf"
"file:./assets/fonts/pt-sans/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_italic_400.ttf"
"file:./assets/fonts/pt-sans/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-italic.woff2"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_normal_700.ttf"
"file:./assets/fonts/pt-sans/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_italic_700.ttf"
"file:./assets/fonts/pt-sans/pt-sans-v17-cyrillic_cyrillic-ext_latin_latin-ext-700italic.woff2"
]
}
]
Expand Down

0 comments on commit 24b12e6

Please sign in to comment.