1
0
Эх сурвалжийг харах

feat: Vazirmatn font for Persian and Arabic languages

Timothy Jaeryang Baek 5 сар өмнө
parent
commit
0f40cb0de4

+ 6 - 0
src/app.css

@@ -24,6 +24,12 @@
 	font-display: swap;
 }
 
+@font-face {
+	font-family: 'Vazirmatn';
+	src: url('/assets/fonts/Vazirmatn-Variable.ttf');
+	font-display: swap;
+}
+
 html {
 	word-break: break-word;
 }

+ 1 - 1
src/tailwind.css

@@ -24,7 +24,7 @@
 	html,
 	pre {
 		font-family: -apple-system, BlinkMacSystemFont, 'Inter', ui-sans-serif, system-ui, 'Segoe UI',
-			Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial,
+			Roboto, Ubuntu, Cantarell, 'Vazirmatn', 'Noto Sans', sans-serif, 'Helvetica Neue', Arial,
 			'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
 	}
 

BIN
static/assets/fonts/Vazirmatn-Variable.ttf