Theme preference logic moved to UISlice
This commit is contained in:
1 parent
8c2151dcf3
commit
0c3d8245e9
2 files changed
+1
-28
No files matched your search
@@ -15,7 +15,7 @@ const initialState = {
|
||||
sidebar: {
|
||||
collapsed: false,
|
||||
},
|
||||
mode: "light",
|
||||
mode: window?.matchMedia?.('(prefers-color-scheme: dark)')?.matches? "dark": "light",
|
||||
greeting: { index: 0, lastUpdate: null },
|
||||
timezone: "America/Toronto",
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user