Skip to content

Commit 79ee1bc

Browse files
authored
Merge pull request #3463 from Revisto/feat/fa-vazirmatn-font-support
Add Vazirmatn font for Farsi
2 parents 20fec61 + 4341fd3 commit 79ee1bc

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

assets/css/custom.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ blockquote {
251251
-webkit-appearance: none;
252252
}
253253

254+
@font-face {
255+
font-family: 'Vazirmatn';
256+
src: url('/assets/fonts/Vazirmatn-Variable.woff2') format('woff2-variations');
257+
font-weight: 100 900;
258+
font-style: normal;
259+
font-display: swap;
260+
}
261+
254262
*:lang(fa) {
255263
.article-body,
256264
.lead,
@@ -259,4 +267,19 @@ blockquote {
259267
h3 {
260268
direction: rtl; /* Right to Left */
261269
}
270+
271+
p,
272+
a,
273+
li,
274+
span,
275+
label,
276+
h1,
277+
h2,
278+
h3,
279+
h4,
280+
h5,
281+
h6,
282+
footer {
283+
font-family: 'Vazirmatn', sans-serif;
284+
}
262285
}

assets/fonts/Vazirmatn-Variable.woff2

109 KB
Binary file not shown.

0 commit comments

Comments
 (0)