website-2/pages/_app.tsx
Nick Bland 26a2e0d891
Switch to DaisyUI
Headless felt too cumbersome to move to DaisyUI which is closer to bootstrap. Also clean up some files.
2022-07-25 13:28:29 +10:00

14 lines
327 B
TypeScript

import '../styles/globals.css'
import type { AppProps } from 'next/app'
import {ThemeProvider} from 'next-themes'
function MyApp({ Component, pageProps }: AppProps) {
return (
<ThemeProvider attribute="class" defaultTheme="dark">
<Component {...pageProps} />
</ThemeProvider>
)
}
export default MyApp