diff --git a/src/index.js b/src/index.js index 42df9d84..7627cec0 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,26 @@ +// import React from 'react'; +// import { CssVarsProvider } from '@mui/joy/styles'; +// import { createRoot } from 'react-dom/client'; +// import { App } from './app'; +// import { LayersProvider, SettingsProvider } from '@context'; +// import './index.css'; +// import '@fontsource/inter'; +// import theme from './theme'; +// +// const container = document.getElementById('root'); +// const root = createRoot(container); +// +// const ProvisionedApp = () => ( +// +// +// +// +// +// +// +// ); + import React from 'react'; -import { CssVarsProvider } from '@mui/joy/styles'; import { createRoot } from 'react-dom/client'; import { App } from './app'; import { LayersProvider, SettingsProvider } from '@context'; @@ -7,17 +28,32 @@ import './index.css'; import '@fontsource/inter'; import theme from './theme'; +import { + experimental_extendTheme as materialExtendTheme, + Experimental_CssVarsProvider as MaterialCssVarsProvider + ,THEME_ID as MATERIAL_THEME_ID, +} from '@mui/material/styles'; +import { CssVarsProvider as JoyCssVarsProvider } from '@mui/joy/styles'; +import CssBaseline from '@mui/material/CssBaseline'; + const container = document.getElementById('root'); const root = createRoot(container); -const ProvisionedApp = () => ( - - - - - - - -); +const materialTheme = materialExtendTheme(); + +const ProvisionedApp = () => { + return ( + + + + + + + + + + + ); +}; -root.render(); +root.render(); \ No newline at end of file