dark theme fix
This commit is contained in:
parent
fb6f484159
commit
c6c6f22015
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user