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>
|
||||
<StyledEngineProvider injectFirst>
|
||||
{/* <ThemeProvider theme={theme}> */}
|
||||
<Experimental_CssVarsProvider theme={themeExtended}>
|
||||
<Experimental_CssVarsProvider defaultMode="system" theme={themeExtended}>
|
||||
<CssBaseline />
|
||||
<ThemeMode>
|
||||
<ErrorBoundary>
|
||||
|
|
Loading…
Reference in New Issue