Files
NewStrcuture_Backup/src/providers/theme-provider.tsx
T
caitlin ba947cea87 I fixed the lightmode on the sidebar and added
more colour themes. I fixed the settings buttons.
2026-06-22 16:26:45 +02:00

16 lines
402 B
TypeScript

"use client"
import { ThemeProvider as NextThemesProvider } from "next-themes"
import { type ThemeProviderProps } from "next-themes"
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return (
<NextThemesProvider
themes={["light", "dark", "system", "ocean", "forest", "sunset", "midnight"]}
{...props}
>
{children}
</NextThemesProvider>
)
}