Add theming boilerplate

This commit is contained in:
2025-05-26 02:37:54 +02:00
parent cd65f06c5f
commit 339a98d8ab
2 changed files with 25 additions and 1 deletions

View File

@ -2,9 +2,13 @@ import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import { CssVarsProvider } from '@mui/joy'
import theme from "./theme.ts";
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
<CssVarsProvider theme={theme}>
<App />
</CssVarsProvider>;
</StrictMode>,
)