♻️ refactor(App): use custom theme

This commit is contained in:
2024-01-20 16:07:05 +01:00
parent c569fcf0a2
commit 8aff802faa
2 changed files with 28 additions and 1 deletions
+8 -1
View File
@@ -1,10 +1,17 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import { ThemeProvider } from '@mui/material/styles'
import { CssBaseline } from '@mui/material'
import App from './App.tsx'
import theme from 'style/theme.ts'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<App />
<ThemeProvider theme={theme}>
<CssBaseline />
<App />
</ThemeProvider>
</React.StrictMode>
)