forked from coracle/flotilla
Default to light mode
This commit is contained in:
@@ -3,6 +3,6 @@ import {synced} from "@welshman/store"
|
||||
|
||||
export const theme = synced({
|
||||
key: "theme",
|
||||
defaultValue: "dark",
|
||||
defaultValue: window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light",
|
||||
storage: preferencesStorageProvider,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user