about summary refs log tree commit diff
path: root/src/App.web.tsx
diff options
context:
space:
mode:
authorJaz <ericvolp12@gmail.com>2023-05-16 21:36:43 -0700
committerJaz <ericvolp12@gmail.com>2023-05-16 21:36:43 -0700
commitda0ed7e002c926f2a3a342d8d420304b10aa8663 (patch)
tree56a59e5257b5bf1405d9fd453adf119e9d186830 /src/App.web.tsx
parent404b2f043c2243961cf5b101a0134f2db3610769 (diff)
downloadvoidsky-da0ed7e002c926f2a3a342d8d420304b10aa8663.tar.zst
Feat: Use system default color mode, but allow user override
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r--src/App.web.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx
index 429328276..7570db44e 100644
--- a/src/App.web.tsx
+++ b/src/App.web.tsx
@@ -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}>