From 30228bf6b1374d77d8e0fe9b8a14fac62cc77c91 Mon Sep 17 00:00:00 2001 From: edic Date: Wed, 28 Jan 2026 09:00:41 +0100 Subject: [PATCH] Use theme provider to allow users use systems theme --- app/layout.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 6ac5d08..8ed844e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next"; +import { ThemeProvider } from "next-themes"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; @@ -23,8 +24,12 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - - {children} + + + + {children} + + ); }