From c40d1b58a0cbebc09377b2b548265a257e9368ad Mon Sep 17 00:00:00 2001 From: Luiz Gustavo Date: Sun, 24 May 2026 14:11:11 -0300 Subject: [PATCH] W5.1 hotfix: Fraunces must be variable when using axes (next/font) --- web/app/layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/layout.tsx b/web/app/layout.tsx index a125c51..aabfc7a 100644 --- a/web/app/layout.tsx +++ b/web/app/layout.tsx @@ -9,7 +9,8 @@ const mono = JetBrains_Mono({ subsets: ["latin"], variable: "--font-mono" }); const fraunces = Fraunces({ subsets: ["latin"], variable: "--font-display", - weight: ["400", "600", "700", "900"], + // No explicit `weight` → next/font treats this as a variable font and + // exposes the full weight range via CSS. `axes` requires variable mode. axes: ["SOFT", "WONK"], });