dark theme fix

This commit is contained in:
Ilja 2022-02-09 15:05:54 +02:00
parent fb6f484159
commit c6c6f22015

View File

@ -3,7 +3,7 @@ import Modal from '@/components/Modal'
import useInitialization from '@/hooks/useInitialization' import useInitialization from '@/hooks/useInitialization'
import useWalletConnectEventsManager from '@/hooks/useWalletConnectEventsManager' import useWalletConnectEventsManager from '@/hooks/useWalletConnectEventsManager'
import '@/styles/main.css' import '@/styles/main.css'
import { lightTheme } from '@/utils/ThemeUtil' import { darkTheme, lightTheme } from '@/utils/ThemeUtil'
import { NextUIProvider } from '@nextui-org/react' import { NextUIProvider } from '@nextui-org/react'
import { ThemeProvider } from 'next-themes' import { ThemeProvider } from 'next-themes'
import { AppProps } from 'next/app' import { AppProps } from 'next/app'
@ -21,7 +21,7 @@ export default function App({ Component, pageProps }: AppProps) {
attribute="class" attribute="class"
value={{ value={{
light: lightTheme.className, light: lightTheme.className,
dark: lightTheme.className dark: darkTheme.className
}} }}
> >
<NextUIProvider> <NextUIProvider>