Browse Source

Change font to Vazirmatn #1286

Alireza Ahmadi 1 year ago
parent
commit
e77424a846
2 changed files with 14 additions and 0 deletions
  1. BIN
      web/assets/Vazirmatn-UI-NL-Regular.woff2
  2. 14 0
      web/html/common/head.html

BIN
web/assets/Vazirmatn-UI-NL-Regular.woff2


+ 14 - 0
web/html/common/head.html

@@ -13,6 +13,20 @@
         [v-cloak] {
         [v-cloak] {
             display: none;
             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>
     </style>
     <title>{{ .host }}-{{ i18n .title}}</title>
     <title>{{ .host }}-{{ i18n .title}}</title>
 </head>
 </head>