Skip to content

Commit

Permalink
feat: use DclThemProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj committed Jan 6, 2025
1 parent f2034f6 commit 383baba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions webapp/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ModalProvider from 'decentraland-dapps/dist/providers/ModalProvider'
import ToastProvider from 'decentraland-dapps/dist/providers/ToastProvider'
import TranslationProvider from 'decentraland-dapps/dist/providers/TranslationProvider'
import WalletProvider from 'decentraland-dapps/dist/providers/WalletProvider'
import { CssBaseline, Experimental_CssVarsProvider as CssVarsProvider, darkTheme } from 'decentraland-ui2'
import { darkTheme, DclThemeProvider } from 'decentraland-ui2'
import * as modals from './components/Modals'
import { Routes } from './components/Routes'
import { ScrollToTop } from './components/ScrollToTop'
Expand All @@ -25,15 +25,14 @@ function main() {
<TranslationProvider locales={Object.keys(locales)}>
<WalletProvider>
<ConnectedRouter history={history}>
<CssVarsProvider theme={darkTheme}>
<CssBaseline />
<DclThemeProvider theme={darkTheme}>
<ToastProvider>
<ModalProvider components={modals}>
<ScrollToTop />
<Routes />
</ModalProvider>
</ToastProvider>
</CssVarsProvider>
</DclThemeProvider>
</ConnectedRouter>
</WalletProvider>
</TranslationProvider>
Expand Down

0 comments on commit 383baba

Please sign in to comment.