diff --git a/assets/css/custom.scss b/assets/css/custom.scss index 2ac41717b44..c37cc9534d7 100644 --- a/assets/css/custom.scss +++ b/assets/css/custom.scss @@ -251,6 +251,14 @@ blockquote { -webkit-appearance: none; } +@font-face { + font-family: 'Vazirmatn'; + src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations'); + font-weight: 100 900; + font-style: normal; + font-display: swap; +} + *:lang(fa) { .article-body, .lead, @@ -259,4 +267,19 @@ blockquote { h3 { direction: rtl; /* Right to Left */ } + + p, + a, + li, + span, + label, + h1, + h2, + h3, + h4, + h5, + h6, + footer { + font-family: 'Vazirmatn', sans-serif; + } } diff --git a/assets/fonts/Vazirmatn-Variable.woff2 b/assets/fonts/Vazirmatn-Variable.woff2 new file mode 100644 index 00000000000..a501289a855 Binary files /dev/null and b/assets/fonts/Vazirmatn-Variable.woff2 differ