mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Move Latin to Inter
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"dependencies": {
|
||||
"@babel/eslint-parser": "^7.17.0",
|
||||
"@fontsource/baloo-da-2": "^4.5.3",
|
||||
"@fontsource/inter": "^4.5.4",
|
||||
"@fontsource/noto-naskh-arabic": "^4.5.3",
|
||||
"@fontsource/noto-sans-jp": "^4.5.3",
|
||||
"@fontsource/noto-sans-kr": "^4.5.3",
|
||||
|
||||
@@ -46,6 +46,7 @@ async function syncStylesPerLanguage (locale) {
|
||||
case 'tr':
|
||||
case 'bn-Latn':
|
||||
// Don't need to import fonts because Latin fonts are always loaded
|
||||
await import('@fontsource/inter/latin.css')
|
||||
document.body.classList.remove(...document.body.classList)
|
||||
document.body.classList.add('latin')
|
||||
break
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
@mixin addFonts ($font-primary) {
|
||||
.v-application {
|
||||
[class*='text-'],[class*='body-'] {
|
||||
font-family: $font-primary, Helvetica Neue, sans-serif !important;
|
||||
font-family: $font-primary, system-ui, sans-serif !important;
|
||||
}
|
||||
.headline, .title {
|
||||
font-family: $font-primary, Helvetica Neue, sans-serif !important;
|
||||
font-family: $font-primary, system-ui, sans-serif !important;
|
||||
}
|
||||
|
||||
font-family: $font-primary, Helvetica Neue, sans-serif !important;
|
||||
font-family: $font-primary, system-ui, sans-serif !important;
|
||||
}
|
||||
|
||||
.shaka-video-container * {
|
||||
font-family: $font-primary, Helvetica Neue, sans-serif;
|
||||
font-family: $font-primary, system-ui, sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
.latin {
|
||||
@include addFonts('Helvetica Neue');
|
||||
@include addFonts('Inter');
|
||||
}
|
||||
|
||||
.bengali {
|
||||
|
||||
@@ -968,6 +968,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@fontsource/baloo-da-2/-/baloo-da-2-4.5.3.tgz#61a378cfa46bf03085927eedc6a10943a2ac7124"
|
||||
integrity sha512-7v+BXA1SShqOZIEpGTyrKImo1SGRMMIsSKeISDfHjkTzE9ZQ7xA6DUpMdMazfegNoitwbVuQhheL8lHJSZChZw==
|
||||
|
||||
"@fontsource/inter@^4.5.4":
|
||||
version "4.5.4"
|
||||
resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-4.5.4.tgz#d6906fdaaf81242d975a1f9b6dedab7bfba77997"
|
||||
integrity sha512-D0icTFpt9bWvB/OEXMztYf0bhUQZoDIYpsco5C7GVfxgKDRl8Jdn3N2aHHQqwjgRUUvRuyMv8HrRM8Hrt4U52w==
|
||||
|
||||
"@fontsource/noto-naskh-arabic@^4.5.3":
|
||||
version "4.5.3"
|
||||
resolved "https://registry.yarnpkg.com/@fontsource/noto-naskh-arabic/-/noto-naskh-arabic-4.5.3.tgz#1dc63eb985f2eeecc07e90e9349cd1203f5f4638"
|
||||
|
||||
Reference in New Issue
Block a user