Localization: Vazir font for Persian language (#1208)
This commit is contained in:
parent
0b95806aba
commit
de06d2514f
BIN
src/assets/fonts/Vazir-Medium-WOL.woff
Normal file
BIN
src/assets/fonts/Vazir-Medium-WOL.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazir-Medium-WOL.woff2
Normal file
BIN
src/assets/fonts/Vazir-Medium-WOL.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazir-Regular-WOL.woff
Normal file
BIN
src/assets/fonts/Vazir-Regular-WOL.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazir-Regular-WOL.woff2
Normal file
BIN
src/assets/fonts/Vazir-Regular-WOL.woff2
Normal file
Binary file not shown.
@ -124,3 +124,23 @@
|
||||
src: local('Roboto Medium'), local('Roboto-Medium'), url(KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
/* Persian, v29.1.0, https://github.com/rastikerdar/vazir-font */
|
||||
@font-face {
|
||||
font-family: Vazir;
|
||||
src: url('Vazir-Regular-WOL.woff2') format('woff2'),
|
||||
url('Vazir-Regular-WOL.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-display:swap;
|
||||
unicode-range:U+0627-06FF;
|
||||
}
|
||||
|
||||
/* Persian, v29.1.0, https://github.com/rastikerdar/vazir-font */
|
||||
@font-face {
|
||||
font-family: Vazir;
|
||||
src: url('Vazir-Medium-WOL.woff2') format('woff2'),
|
||||
url('Vazir-Medium-WOL.woff') format('woff');
|
||||
font-weight: 500;
|
||||
font-display:swap;
|
||||
unicode-range: U+0600-06FF;
|
||||
}
|
||||
|
||||
@ -28,6 +28,11 @@ html, body {
|
||||
}
|
||||
}
|
||||
|
||||
html[lang=fa],
|
||||
html[lang=fa] body {
|
||||
font-family: "Vazir", "Roboto", -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
body.cursor-grabbing, body.cursor-grabbing * {
|
||||
cursor: grabbing !important;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user