feat: matrix

This commit is contained in:
2024-09-13 21:35:52 +02:00
parent 26c43b1966
commit d1fefb88a1
24 changed files with 1386 additions and 59 deletions

View File

@@ -6,9 +6,14 @@ export interface UserPreferences {
autoConnect: boolean;
}
export const theme = persistentWritable("user-theme", {
export interface UserTheme {
color: string;
mode: "light" | "dark" | "auto";
}
export const theme = persistentWritable<UserTheme>("user-theme", {
color: "#6D81C7",
mode: "dark" as "light" | "dark" | "auto",
mode: "dark",
});
export const userPreferences = persistentWritable<UserPreferences>(