mirror of
https://git.coastit.co.za/caitlin/CRM_ENVR.git
synced 2026-07-10 11:15:43 +02:00
ba947cea87
more colour themes. I fixed the settings buttons.
16 lines
402 B
TypeScript
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>
|
|
)
|
|
}
|