Bump navbar, docs, legal, and community layouts from max-w-5xl to max-w-6xl. Widen docs content from max-w-2xl to max-w-3xl. Home and blog pages unchanged. Disable next-themes transition on change.
11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "next-themes";
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<ThemeProvider attribute="class" defaultTheme="dark" disableTransitionOnChange>
|
|
{children}
|
|
</ThemeProvider>
|
|
);
|
|
}
|