feat: user themes

[deploy]
This commit is contained in:
2023-07-23 23:01:21 +02:00
parent 5cdf969c6d
commit 7df75e109d
5 changed files with 75 additions and 6 deletions

View File

@@ -6,6 +6,11 @@ export interface UserPreferences {
autoConnect: boolean
}
export const theme = writable({
color: "#6D81C7",
mode: "dark" as "light" | "dark" | "auto",
})
export const userPreferences = writable<UserPreferences>({
backup: false,
autoConnect: true,