style: force dark mode globally and remove theme switcher

This commit is contained in:
DanielS
2026-07-03 00:26:37 +02:00
parent a9e120e681
commit 2dcc20eb3a
2 changed files with 1 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ export default function RootLayout({
<ThemeProvider
attribute="class"
defaultTheme="dark"
forcedTheme="dark"
enableSystem={false}
disableTransitionOnChange
>

View File

@@ -1,7 +1,6 @@
import { DeployButton } from "@/components/deploy-button";
import { EnvVarWarning } from "@/components/env-var-warning";
import { AuthButton } from "@/components/auth-button";
import { ThemeSwitcher } from "@/components/theme-switcher";
import { hasEnvVars } from "@/lib/utils";
import Link from "next/link";
import { Suspense } from "react";
@@ -47,7 +46,6 @@ export default function ProtectedLayout({
Supabase
</a>
</p>
<ThemeSwitcher />
</footer>
</div>
</main>