remove old icon picker
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import {preferencesStorageProvider} from "@src/lib/storage"
|
||||
import {kv} from "@app/core/storage"
|
||||
import {synced} from "@welshman/store"
|
||||
|
||||
export const theme = synced({
|
||||
key: "theme",
|
||||
defaultValue: window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light",
|
||||
storage: preferencesStorageProvider,
|
||||
storage: kv,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user