Feat: Use system default color mode, but allow user override
This commit is contained in:
parent
404b2f043c
commit
da0ed7e002
6 changed files with 59 additions and 35 deletions
|
@ -30,7 +30,7 @@ const App = observer(() => {
|
|||
}
|
||||
|
||||
return (
|
||||
<ThemeProvider theme={rootStore.shell.darkMode ? 'dark' : 'light'}>
|
||||
<ThemeProvider theme={rootStore.shell.colorMode}>
|
||||
<RootSiblingParent>
|
||||
<analytics.Provider>
|
||||
<RootStoreProvider value={rootStore}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue