diff --git a/README.md b/README.md index b560c77..38cfbe3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,11 @@ Enterprise-style Scrum Poker application using Go, Gin, and SSE for real-time ro - Real-time updates via Server-Sent Events (SSE) - Strict state sanitization: unrevealed votes from other users are never broadcast - Backend authorization for admin-only actions (`reveal`, `reset`) -- Win98-themed frontend with: +- Themeable frontend with: + - CSS architecture split into `main.css`, `layout.css`, and `/themes/*` + - Theme options: `win98` (default), `modern`, `No Theme` + - Light/Dark mode independent from active theme + - Desktop taskbar controls + mobile top controls for theme/mode switching - Config page and card deck preview - Drag-and-drop card ordering - Card add/remove with animation completion handling @@ -28,8 +32,11 @@ Enterprise-style Scrum Poker application using Go, Gin, and SSE for real-time ro - `src/middleware/`: static cache headers middleware - `src/models/`: template page data models - `src/templates/`: HTML templates (`index.html`, `room.html`) -- `static/css/`: styles -- `static/js/`: frontend logic (`config.js`, `room.js`) +- `static/css/main.css`: shared component primitives +- `static/css/layout.css`: grids/flex/positioning/responsive layout +- `static/css/themes/`: drop-in theme files +- `static/js/ui-controls.js`: global theme + mode engine +- `static/js/`: page logic (`config.js`, `room.js`) ## Environment Variables diff --git a/src/templates/index.html b/src/templates/index.html index 4850b35..7be694d 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -7,11 +7,22 @@ - + + + + +
- @@ -160,8 +157,44 @@ + + + + +