From dee74d335f1950c696c6d22fe3d78a061860700b Mon Sep 17 00:00:00 2001 From: Claw AI Date: Mon, 30 Mar 2026 15:32:08 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20font-display=20block=20=E2=86=92=20swap?= =?UTF-8?q?=20to=20prevent=20FOIT=20in=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/globals.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/globals.css b/app/globals.css index 35aaf1a..0a7aa79 100644 --- a/app/globals.css +++ b/app/globals.css @@ -6,7 +6,7 @@ src: url('/fonts/Madani Arabic Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -14,7 +14,7 @@ src: url('/fonts/Madani Arabic Extra Light.ttf') format('truetype'); font-weight: 200; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -22,7 +22,7 @@ src: url('/fonts/Madani Arabic Light.ttf') format('truetype'); font-weight: 300; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -30,7 +30,7 @@ src: url('/fonts/Madani-Arabic-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -38,7 +38,7 @@ src: url('/fonts/Madani Arabic Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -46,7 +46,7 @@ src: url('/fonts/Madani Arabic Semi Bold.ttf') format('truetype'); font-weight: 600; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -54,7 +54,7 @@ src: url('/fonts/Madani-Arabic-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -62,7 +62,7 @@ src: url('/fonts/Madani Arabic Extra Bold.ttf') format('truetype'); font-weight: 800; font-style: normal; - font-display: block; + font-display: swap; } @font-face { @@ -70,7 +70,7 @@ src: url('/fonts/Madani Arabic Black.ttf') format('truetype'); font-weight: 900; font-style: normal; - font-display: block; + font-display: swap; } :root {