Use dark theme

This commit is contained in:
Mustafa Gezen 2023-08-27 06:03:45 +02:00
parent 83f33f0664
commit 06902737cd
Signed by: mustafa
GPG Key ID: DCDF010D946438C1
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>