diff --git a/app/(projects-blog)/layout.tsx b/app/(projects-blog)/layout.tsx index 08294d8..d346c15 100644 --- a/app/(projects-blog)/layout.tsx +++ b/app/(projects-blog)/layout.tsx @@ -68,6 +68,7 @@ export default function RootLayout({ themeProps={{ attribute: "class", defaultTheme: "system", + themes: ["light", "dark"], enableSystem: true, children, }} diff --git a/app/(site)/layout.tsx b/app/(site)/layout.tsx index 21ffe86..09e7030 100644 --- a/app/(site)/layout.tsx +++ b/app/(site)/layout.tsx @@ -69,6 +69,7 @@ export default function RootLayout({ themeProps={{ attribute: "class", defaultTheme: "system", + themes: ["light", "dark"], enableSystem: true, children, }}