From 46fd41bd4aa63b3fcbf4b83a0353f3437bd8e841 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Mon, 23 Mar 2026 10:57:18 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20Lora=20font=20not=20applying=20=E2=80=94?= =?UTF-8?q?=20set=20Tailwind=20v4=20default-font-family?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tailwind v4's @theme inline generates --default-font-family on html which overrides the body font-family rule. Set --default-font-family to Lora in @theme inline so the serif font actually takes effect. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/globals.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 31b99cb1..3faea673 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -25,8 +25,11 @@ --color-accent-dim: var(--accent-dim); --color-border: var(--border); --color-error: var(--error); - --font-heading: var(--font-lora); - --font-body: var(--font-lora); + --font-heading: var(--font-lora), "Lora", Georgia, "Times New Roman", serif; + --font-body: var(--font-lora), "Lora", Georgia, "Times New Roman", serif; + --default-font-family: var(--font-lora), "Lora", Georgia, "Times New Roman", serif; + --default-font-feature-settings: normal; + --default-font-variation-settings: normal; } body {