Set default theme mode to based on system color scheme
This commit is contained in:
parent
29cafc2f82
commit
305deaa1e7
|
@ -37,7 +37,7 @@ root.render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<StyledEngineProvider injectFirst>
|
<StyledEngineProvider injectFirst>
|
||||||
{/* <ThemeProvider theme={theme}> */}
|
{/* <ThemeProvider theme={theme}> */}
|
||||||
<Experimental_CssVarsProvider theme={themeExtended}>
|
<Experimental_CssVarsProvider defaultMode="system" theme={themeExtended}>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<ThemeMode>
|
<ThemeMode>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
|
|
Loading…
Reference in New Issue