- Add Material-UI theme with white background configuration - Update CSS with white background and light color scheme - Integrate ThemeProvider and CssBaseline for consistent styling - Remove dark theme elements and apply clean white design - Improve typography and color contrast for better readability
21 lines
562 B
TypeScript
21 lines
562 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { Provider } from 'react-redux'
|
|
import { ThemeProvider } from '@mui/material/styles'
|
|
import { CssBaseline } from '@mui/material'
|
|
import './index.css'
|
|
import App from './App.tsx'
|
|
import { store } from './store'
|
|
import { theme } from './theme'
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<Provider store={store}>
|
|
<ThemeProvider theme={theme}>
|
|
<CssBaseline />
|
|
<App />
|
|
</ThemeProvider>
|
|
</Provider>
|
|
</StrictMode>,
|
|
)
|