BS-003 Apply approved palette and persistent accessible themes

This commit is contained in:
rob
2026-11-10 14:09:56 +00:00
parent ea28637259
commit 2a4ffe1b00
18 changed files with 243 additions and 143 deletions
+11
View File
@@ -58,3 +58,14 @@ Validation: frontend unit suite/lint/build; route, mobile and auth-absence brows
Dependencies: BS-001 merged at 5226596. Review base codex; branch bs-002, worktree .task-worktrees/bs-002. Dedicated local task commit forms the base for BS-003; no group merge authorization.
BS-002 validation: ESLint passed; 26 unit tests passed; Vite production build passed; 20 desktop/mobile browser checks passed initially, then both contrast failures were fixed and passed on targeted rerun. No account API requests on public routes. npm audit reported 10 inherited alerts (5 moderate/3 high/2 critical); lockfile unchanged.
## BS-003 — Approved palette and persistent themes
Status: Implementation-ready; Captain review pending. Accepted by Captain’s group engagement on 2026-11-10.
Objective: approved dark-first palette, accessible light option and persistent preference before paint.
Scope: exact copied authoritative brand tokens, semantic theme utilities, sync theme-init before React, keyboard theme control, shared header/footer/type/focus, clearly labelled temporary text logo.
Non-goals: replacement logo geometry, invented light brand approval, homepage composition, later page content, external font/dependency additions.
Acceptance: first visit dark regardless of OS preference; stored light applied before React; toggle persists across reload/navigation; denied/unavailable storage does not break page/control; dark/light text and controls pass practical contrast checks; authentic logo remains pending and not reconstructed.
Validation: lint/unit/build; browser initial-theme/persistence/storage failure; desktop/mobile axe and layout. Based on BS-002 local review commit ea28637; branch bs-003, .task-worktrees/bs-003. Unmerged.
BS-003 validation: lint, 28 unit tests, production build and all 32 desktop/mobile Playwright checks passed, including preference before React, both-theme axe contrast, keyboard toggling, reload/navigation persistence and denied storage. Brand token copy byte-verified. Logo artwork finalization blocked by missing authentic master; approved text placeholder used.