style: force dark mode globally and remove theme switcher
This commit is contained in:
@@ -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
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user