litechatplus/src/lib/settings/index.ts
dvdrw a29d11f385
feat: implement theme changing
quick settings are now properly implemented
2023-02-13 19:08:29 +01:00

9 lines
258 B
TypeScript

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