Localization: Vazir font for Persian language (#1208)

This commit is contained in:
Alexander Zinchuk 2021-06-25 19:01:00 +03:00
parent 0b95806aba
commit de06d2514f
6 changed files with 25 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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;
}

View File

@ -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;
}