Files
romm/frontend
zurdiandClaude Opus 4.7 f2edde0305 feat(frontend-v2): migrate visible surfaces to theme-aware tokens
First pass of the dual-theme audit (premise #5). Replaces hardcoded
rgba(255, 255, 255, ...) with token references on the surfaces a
user sees first when toggling theme. Started at 429 hardcoded sites;
this commit migrates ~69 across 19 files. The rest is debt — see
CLAUDE.md §X.

Surfaces now theme-aware:
- AppShell: AppNav (classic-UI pill), UserMenu (avatar pill, chevron)
- Home: section header colors, CardRow head/count/arrows, empty state
- Galleries: GalleryToolbar (floating + kebab), Platform/Collection
  empty states, GameCard label, GameList row text/thumb,
  LetterGroupedGrid heading/load-more/empty, AlphaStrip letter colors,
  InfoPanel border/title
- Tiles: PlatformTile (background/border/hover/count),
  CollectionTile (name/count), CollectionMosaic (background/empty)
- Settings: SettingsShell (panel/subtitle), SettingsNav (panel/links),
  UserInterface (sections/cards/desc), MetadataSources (tiles/logos/
  indicators)

Tokens used: --r-color-bg-elevated, --r-color-surface,
--r-color-surface-hover, --r-color-border, --r-color-border-strong,
--r-color-fg, --r-color-fg-secondary, --r-color-fg-muted,
--r-color-fg-faint. The verbose `:global(.r-v2.r-v2-light) X { ... }`
override blocks collapse into single-token rules; tokens already
flip when html toggles between r-v2-dark and r-v2-light.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 15:55:18 +00:00
..
2026-04-05 17:57:48 -04:00
2026-03-31 08:19:06 -04:00
2026-02-16 22:11:47 -05:00
2025-09-09 20:19:30 -04:00
2024-05-21 10:18:13 -04:00