Wave-5 skin fix (from master's live-browser pass): next/font variables go on <html>

var(--font-jetbrains)/var(--font-sans3) in the @theme tokens resolve at
:root — the module classes must attach to <html>, not <body>. Chrome now
renders JetBrains Mono and prose Source Sans 3 live; 'lh-cmu' inlines a
plain name so the serif titles were immune. Gates all green; build ok.
This commit is contained in:
amosblomqvist
2026-09-12 23:53:47 +03:00
parent fd4f988289
commit 445f537f15
+2 -2
View File
@@ -17,8 +17,8 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className="dark">
<body className={`${ui.variable} ${prose.variable} min-h-dvh antialiased`}>
<html lang="en" className={`dark ${ui.variable} ${prose.variable}`}>
<body className="min-h-dvh antialiased">
<SidebarProvider>
<ActivityProvider>
<AppShell>{children}</AppShell>