mirror of
https://github.com/rommapp/romm.git
synced 2026-06-29 15:25:46 +00:00
Adds three new token groups so the 21 sites previously documented as "intentional hardcoded rgba" can use proper tokens instead: - colorOverlay (fixed dark glass, never theme-flips) — drives the surfaces sitting on cover artwork: StatusBadge, GameCard platform-icon / badge, GameActionBtn. Tokens: --r-color-overlay-fg (.95) / -fg-secondary (.85) / -fg-muted (.45) / -border (.12) / -border-strong (.25) / -scrim-soft (.55) / -scrim-strong (.78). - panel + panelBorder pair (theme-flipped, in colorDark/colorLight) — the deep-glass / off-white surfaces that RDialog and RMenuPanel share. The inline `:global(.r-v2-light) X` overrides collapse into single rules. - tooltipBg + tooltipBorder pair (theme-flipped) — moves the v-overlay__content.r-tooltip skin in global.css off literals. - shimmerSweep (theme-flipped) — moves the linear-gradient sweep inside RSkeletonBlock::after off the hand-paired rgba values. Also: RMenuItem danger hover background now uses `color-mix(in srgb, var(--r-color-danger) 12%, transparent)` instead of the raw rgba(255, 80, 80, 0.12) — derived from the canonical danger token. Outside tokens.css (which holds the source values), v2 now has zero `rgba(255, 255, 255, X)` literals. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>