compassmock/src/components/theme-provider.tsx
Nicholai 6ac1abfa86 feat(ui): add toolbar features and account modal
Theme toggle, notifications popover, command palette
(Cmd+K), user account dropdown with settings modal,
subtle sidebar active states, and nav transition
animation.
2026-01-24 13:03:13 -07:00

20 lines
331 B
TypeScript
Executable File

"use client"
import { ThemeProvider as NextThemesProvider } from "next-themes"
export function ThemeProvider({
children,
}: {
children: React.ReactNode
}) {
return (
<NextThemesProvider
attribute="class"
defaultTheme="light"
enableSystem={false}
>
{children}
</NextThemesProvider>
)
}