Replace Hind Siliguri with Baloo Da 2 for Bengali

There's a unfortunate bug with ১.
This commit is contained in:
root
2022-01-29 13:39:08 +05:30
parent dbaf3fddc3
commit 05d65a98ba
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
},
"dependencies": {
"@babel/eslint-parser": "^7.16.3",
"@fontsource/hind-siliguri": "^4.5.0",
"@fontsource/baloo-da-2": "^4.5.2",
"@fontsource/noto-sans-jp": "^4.5.2",
"@fontsource/noto-sans-kr": "^4.5.2",
"@fontsource/noto-sans-sc": "^4.5.2",
+1 -1
View File
@@ -46,7 +46,7 @@ async function syncStylesPerLanguage (locale) {
break
// Bengali script
case 'bn-Beng':
await import('@fontsource/hind-siliguri/bengali.css')
await import('@fontsource/baloo-da-2/bengali.css')
document.body.classList.remove(...document.body.classList)
document.body.classList.add('bengali')
break
+1 -1
View File
@@ -16,7 +16,7 @@
}
.bengali {
@include addFonts('Hind Siliguri');
@include addFonts('Baloo Da 2');
}
.traditional-chinese {
+4 -4
View File
@@ -941,10 +941,10 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@fontsource/hind-siliguri@^4.5.0":
version "4.5.0"
resolved "https://registry.yarnpkg.com/@fontsource/hind-siliguri/-/hind-siliguri-4.5.0.tgz#e5489447c309484e9f48b2a75ee54a3f6cc40b31"
integrity sha512-kt7rXU/+G5oQeCFNibg5lKPv5zJnZSQe2jx52RDPthKnNDbt2z5z5eLdXLjueTjtZC/dVwnGijAWSPAmlIv5ow==
"@fontsource/baloo-da-2@^4.5.2":
version "4.5.2"
resolved "https://registry.yarnpkg.com/@fontsource/baloo-da-2/-/baloo-da-2-4.5.2.tgz#95321e09002be5ece6a490f6030247bedc4d55fe"
integrity sha512-cBTw52mmCLjRyvyD019vdXYaKbayT9KbFAMxx+3Wkju66898282DygnNr6HPNCGGcmJvhrHd67KkJkqIJjjgmw==
"@fontsource/noto-sans-jp@^4.5.2":
version "4.5.2"