feat: implement theme changing

quick settings are now properly implemented
This commit is contained in:
2023-02-13 19:08:29 +01:00
parent e40518d68f
commit a29d11f385
6 changed files with 249 additions and 38 deletions

View File

@@ -2,6 +2,7 @@ import { writable } from 'svelte/store';
export const globalMode = writable(true);
export type Theme = 'solarized-light' | 'solarized-dark';
export const themes = ['solarized-light', 'solarized-dark'] as const;
export type Theme = (typeof themes)[number];
export const theme = writable<Theme>('solarized-light');