Files
romm/frontend
zurdiandClaude Opus 4.7 fd3be92394 feat(frontend-v2): dual-theme migration of high-touch primitives + dialogs
Second pass of the dual-theme audit (premise #5). This batch covers
the primitives every dialog uses (RDialog, RTable, RSliderBtnGroup,
RMenuItem) plus the dialogs/views the user touches most often
(NotesTab, AchievementsTab, MatchRomDialog, DeleteRomDialog,
EditRomDialog, UploadProgressToast, AboutDialog). 360 → 217
hardcoded sites left.

Notable token swaps:
- bg surfaces: rgba(255, 255, 255, 0.03/0.04/0.05) →
  --r-color-bg-elevated; 0.07 → --r-color-surface; 0.08/0.09/0.12 →
  --r-color-surface-hover
- borders: 0.06/0.07 → --r-color-border; 0.08-0.12 →
  --r-color-border-strong
- text: 0.92+ → --r-color-fg; 0.55-0.85 → --r-color-fg-secondary;
  0.45 → --r-color-fg-muted; 0.25-0.35 → --r-color-fg-faint
- inversion-on-active (segmented pill / achievements filter):
  background #fff/#111 → --r-color-fg, color #111/#fff →
  --r-color-bg

The verbose `:global(.r-v2.r-v2-light) .foo { ... }` overrides
collapse into single token rules; tokens already flip between dark
and light. Verified with typecheck + lint + 94 tests.

The RDialog panel background (rgba(16, 12, 28, 0.97) /
rgba(255, 255, 255, 0.97)) and tinted overlays kept as-is for now —
intentional surface, not a generic token target.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 23:54:42 +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