mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-12-03 18:16:25 +00:00
Use dark theme
This commit is contained in:
parent
83f33f0664
commit
06902737cd
@ -21,12 +21,12 @@ import CssBaseline from '@mui/material/CssBaseline';
|
||||
import ThemeProvider from '@mui/material/styles/ThemeProvider';
|
||||
|
||||
import { App } from './App';
|
||||
import { peridotTheme } from 'base/ts/mui/theme';
|
||||
import { peridotDarkTheme } from 'base/ts/mui/theme';
|
||||
|
||||
const root = createRoot(document.getElementById('app') || document.body);
|
||||
root.render(
|
||||
<BrowserRouter basename={window.__peridot_prefix__ || ''}>
|
||||
<ThemeProvider theme={peridotTheme}>
|
||||
<ThemeProvider theme={peridotDarkTheme}>
|
||||
<CssBaseline />
|
||||
<App />
|
||||
</ThemeProvider>
|
||||
|
@ -21,12 +21,12 @@ import CssBaseline from '@mui/material/CssBaseline';
|
||||
import ThemeProvider from '@mui/material/styles/ThemeProvider';
|
||||
|
||||
import { App } from './App';
|
||||
import { peridotTheme } from 'base/ts/mui/theme';
|
||||
import { peridotDarkTheme } from 'base/ts/mui/theme';
|
||||
|
||||
const root = createRoot(document.getElementById('app') || document.body);
|
||||
root.render(
|
||||
<BrowserRouter basename={window.__peridot_prefix__ || ''}>
|
||||
<ThemeProvider theme={peridotTheme}>
|
||||
<ThemeProvider theme={peridotDarkTheme}>
|
||||
<CssBaseline />
|
||||
<App />
|
||||
</ThemeProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user