Dark mode

This commit is contained in:
Sebastien Castiel
2023-12-07 18:35:09 -05:00
parent 61201c2864
commit 4bc03002e1
9 changed files with 422 additions and 29 deletions

View File

@@ -0,0 +1,8 @@
'use client'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
import { type ThemeProviderProps } from 'next-themes/dist/types'
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
}