Skip to content

Commit

Permalink
Change font to Vazirmatn #1286
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Dec 4, 2023
1 parent f305b98 commit e77424a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file added web/assets/Vazirmatn-UI-NL-Regular.woff2
Binary file not shown.
14 changes: 14 additions & 0 deletions web/html/common/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
[v-cloak] {
display: none;
}
/* vazirmatn-regular - arabic_latin_latin-ext */
@font-face {
font-display: swap;
font-family: 'Vazirmatn';
font-style: normal;
font-weight: 400;
src: url('{{ .base_path }}assets/Vazirmatn-UI-NL-Regular.woff2') format('woff2');
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0030-0039;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Vazirmatn', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol';
}
</style>
<title>{{ .host }}-{{ i18n .title}}</title>
</head>
Expand Down

0 comments on commit e77424a

Please sign in to comment.