fix(ui): separate tour control and add theme switcher (#22)
Two War Room UI fixes (docs/index.html): 1. The floating "guided tour" relaunch button (#t3mpTourRelaunch) was position:fixed pinned bottom-left, landing on top of the sidebar "Connected" status pill and hiding its first character. Moved it to bottom-right (the conventional help-FAB corner) so it collides with nothing. 2. Added a theme switcher in the sidebar footer with four themes: Storm (the existing teal/green default, visually unchanged), Ember (amber), Crimson (red), and Void (violet). The choice persists in localStorage and is applied before first paint to avoid a flash of the default theme. To make themes reskin the whole UI rather than only the ~87 var(--accent) sites, the dominant hardcoded brand colors (#00ff88 / #2fffd2 / #00d4ff and their rgba() forms) were converted to CSS variables -- but only inside <style> and inline style="..." attributes, where var() is valid. Bare JS string literals and SVG fill= attributes are left as-is; most are semantic status colors (green=ready, red=error) that should stay fixed. No JS logic changed; the page renders and all scripts run unchanged. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
cf0090adf4
commit
266655abcf
1 file changed
+382
-259
+382
-259
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user