feat: add light/dark theme support with DB-persisted setting #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "exe-dev-bot/kiosk:feat/light-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds full light/dark theme support across both the admin UI and kiosk display. Theme preference is stored in the database and shared between both interfaces.
Changes
Backend
settingtable (key/value store) withGetSetting/SetSettingfunctionsGET /api/settings/{key}andPUT /api/settings/{key}endpointsAdmin UI
[data-theme="light"])Kiosk Display
color-mix()Design decisions
data-theme="light"on<html>to prevent FOUC)Screenshots
Light mode (kiosk)
Events show colored left borders with subtle tinted backgrounds.
Dark mode (kiosk)
Unchanged — events show filled color backgrounds.
Admin light mode
Clean white cards with theme toggle in header.
Admin dark mode
Unchanged from previous design.
ed270a5b60to01948552080194855208toabbbd761d6