feat: implement dark mode toggle across application

- Added dark mode detection and application logic in HTML files (dashboard.html, kioskedit.html, live.html, rulesets.html, sessions.html).
- Introduced a theme toggle button for user interaction.
- Created a new theme-toggle.js script to manage dark mode state and persistence using localStorage.
- Updated CSS styles to support dark mode with appropriate color variables and transitions.
- Enhanced user experience by preventing flash of unstyled content during theme initialization.
This commit is contained in:
Giuseppe Raffa
2026-04-21 22:42:02 +02:00
parent 924c2b5367
commit ee478e52ef
8 changed files with 352 additions and 12 deletions

4
.gitignore vendored
View File

@@ -18,4 +18,6 @@ Thumbs.db
**/tsconfig.tsbuildinfo
.eslintcache
.venv/
.venv/
.claude/