fix: fix light/dark/system theme switcher
- Add darkMode: class to tailwind config for class-based dark mode - Load saved theme from localStorage on mount and apply immediately - Add media query listener for system theme changes in system mode
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
frontend/node_modules
|
||||
eval
|
||||
data
|
||||
|
||||
Reference in New Issue
Block a user