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 <ThemeProvider
attribute="class" attribute="class"
defaultTheme="dark" defaultTheme="dark"
forcedTheme="dark"
enableSystem={false} enableSystem={false}
disableTransitionOnChange disableTransitionOnChange
> >

View File

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