From 72a5a9439dd0e802d2fe97faef301df11b69c208 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Sun, 30 Aug 2026 22:24:27 +0330 Subject: [PATCH] fix(typography): enable synthetic bold for regular fonts by specifying exact font-weight in @font-face --- src/app/globals.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 6ca0a07..d28f2c4 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -4,28 +4,28 @@ @font-face { font-family: 'Faminela'; src: url('/assets/fonts/faminela.ttf') format('truetype'); - font-weight: 400 900; + font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'YekanX'; src: url('/assets/fonts/YekanXFaNum-R.ttf') format('truetype'); - font-weight: 400 900; + font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'YekanXArabic'; src: url('/assets/fonts/ArabicYekanXRegular.ttf') format('truetype'); - font-weight: 400 900; + font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'NastaliqUrdu'; src: url('/assets/fonts/NotoNastaliqUrdu.ttf') format('truetype'); - font-weight: 400 900; + font-weight: 400; font-style: normal; font-display: swap; }