import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import { ThemeProvider } from "@/components/ui/theme-provider"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], }); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata = { title: "RHL Lieferscheine", description: "Internal delivery note browser", }; export default function RootLayout({ children }) { return ( - defaultTheme="system" respects the OS preference - enableSystem keeps system sync - disableTransitionOnChange avoids flicker/jumpy transitions */ attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange > {children} ); }