fix: load stored theme before rendering

This commit is contained in:
saicaca committed 2024-04-29 12:52:50 +08:00
1 parent 163ed17ae6
commit 8ce1c7ab6e
4 files changed
+28 -5

No files matched your search

+3
View File
@@ -1,3 +1,6 @@
export const UNCATEGORIZED = '__uncategorized__'
export const PAGE_SIZE = 8
export const LIGHT_MODE = 'light', DARK_MODE = 'dark', AUTO_MODE = 'auto'
export const DEFAULT_THEME = AUTO_MODE