Vazirmatn
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Vazirmatn and Markazi Text font pairing (suggested) · Vazirmatn for headings, Markazi Text for body text
Category · 5 min read
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
Every line is editable: paste your real headline and copy. How to use this page
| Vazirmatn | Markazi Text | |
|---|---|---|
| Category | Sans-serif | Serif |
| Designer | Saber Rastikerdar | Borna Izadpanah, Florian Runge, Fiona Ross |
| Styles | 9 (variable) | 4 (variable) |
| Weights | 100, 200, 300, 400, 500, 600, 700, 800, 900 | 400, 500, 600, 700 |
| Italics | No | No |
| Licence | OFL | OFL |
| Popularity | #283 | #793 |
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&family=Markazi+Text:wght@400..700&display=swap" rel="stylesheet">One request loads both families.
body {
font-family: "Markazi Text", Georgia, 'Times New Roman', serif;
font-size: 1.0625rem; /* 17px */
line-height: 1.6;
}
h1, h2, h3 {
font-family: "Vazirmatn", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
font-weight: 700;
line-height: 1;
letter-spacing: -0.01em;
}
h1 { font-size: 2.66rem; }
h2 { font-size: 2.13rem; }Vazirmatn on headings, Markazi Text everywhere else. Sizes and spacing are tuned to these two fonts' proportions.
@import "tailwindcss";
@theme {
--font-sans: "Markazi Text", Georgia, 'Times New Roman', serif;
--font-display: "Vazirmatn", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
/* <h1 class="font-display"> … <p class="font-sans"> */Add the <link> from the HTML tab to load the fonts.
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&family=Markazi+Text:wght@400..700&display=swap');Put it at the very top of your stylesheet.