feat: add theme store

This commit is contained in:
madkarmaa
2025-11-24 12:53:16 +01:00
parent 6aaba560d5
commit 8c191653f2
6 changed files with 63 additions and 27 deletions

3
src/lib/stores/index.ts Normal file
View File

@@ -0,0 +1,3 @@
import { PersistedState } from 'runed';
export const theme = new PersistedState<'light' | 'dark'>('theme', 'light');