feat(changelog): replace auto-modal with sidebar banner + /whats-new page

Removes the giant startup changelog modal. After an update, a compact
neutral-palette pill now sits above Now Playing in the sidebar saying
"Changelog — vX.Y.Z". Clicking opens a proper /whats-new page in the
main content area; X dismisses. Page renders the current version's
CHANGELOG entry with inline Markdown (headings, lists, blockquotes,
hr, bold/italic/code, and real [label](url) links that open via the
Tauri shell plugin).

Visual tokens are hardcoded slate/gray/blue so the banner and page look
identical across every theme (dark, light, skeuomorphic, whatever) —
requested for consistent contrast. Auto-mark-as-seen removed from the
page; the banner only goes away on explicit dismiss, so users can
re-read as often as they want.

Settings → About gains a "Release notes" row with a link that resets
the seen-version and opens the page, so the banner can be retriggered
manually (also helpful for dev builds ahead of the current tag).

The existing "Show changelog on update" toggle now gates the banner
instead of the modal; description strings updated in all 8 locales.

fix(themes): WCAG contrast audit — mocha + winmedplayer + wista

Mocha (Catppuccin dark)
  .track-size used --ctp-overlay0 directly (3.36:1 on bg-app, 2.57
  on bg-card). Swapped to --text-muted → 7.37 / 5.65. Fix also lifts
  macchiato/frappe/latte which shared the failure.

WinMedPlayer (Luna)
  --text-muted #b8d0f8 (3.87:1 on bg-app) → #e8f0ff (5.28)
  --border   #2a5090 (1.31 on bg-app)   → #071027 (3.12, meets 3:1 UI)

Wista (Vista Aero)
  Lyrics pane sits on bg-sidebar #0e1e3e but used --text-primary
  (#0d1d3c) for active lines — 1.01:1, literally invisible. Added
  component overrides: .lyrics-line / .lyrics-status / word-synced
  variants → #aac8f0 (9.60), .lyrics-line.active → #ffffff (16.48).
  Palette: --warning #c8980c → #735a00 (2.37 → 5.91 on bg-app),
  --text-muted #4870a8 → #3f6aa0 (4.23 → 4.65 on bg-card).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-19 02:28:45 +02:00
parent b5751c2918
commit 6bd2bfc01c
16 changed files with 608 additions and 25 deletions
+24 -5
View File
@@ -4584,9 +4584,10 @@ input[type="range"]:hover::-webkit-slider-thumb {
--accent-glow: rgba(69, 255, 0, 0.45);
--text-primary: #ffffff;
--text-secondary: #dce8ff;
--text-muted: #b8d0f8;
/* lighter so readable on #3a62a5 */
--border: #2a5090;
--text-muted: #e8f0ff;
/* lifted from #b8d0f8 — clears AA on Luna-blue bg-app and dark sidebar */
--border: #071027;
/* darkened from #2a5090 to meet 3:1 UI threshold on all main surfaces */
--border-subtle: #4a72b8;
--positive: #30dd00;
--warning: #ffdd44;
@@ -10780,11 +10781,13 @@ input[type="range"]:hover::-webkit-slider-thumb {
--accent-glow: rgba(21, 101, 200, 0.40);
--text-primary: #0d1d3c;
--text-secondary: #2a4878;
--text-muted: #4870a8;
--text-muted: #3f6aa0;
/* slight lift from #4870a8 to clear AA on bg-card (4.23 → 4.65) */
--border: rgba(100, 160, 220, 0.45);
--border-subtle: rgba(140, 190, 240, 0.30);
--positive: #1a8020;
--warning: #c8980c;
--warning: #735a00;
/* deeper Vista gold — #c8980c was 2.37:1 on bg-app, now 5.91:1 */
--danger: #c02020;
--radius-sm: 3px;
--radius-md: 6px;
@@ -11122,6 +11125,22 @@ input[type="range"]:hover::-webkit-slider-thumb {
color: #6090b8;
}
/* Lyrics pane sits inside the queue panel (bg-sidebar = #0e1e3e deep navy).
Default --text-primary / --text-muted are near-navy and invisible there
explicit light tokens get the pane back to AA+. */
[data-theme='wista'] .lyrics-line,
[data-theme='wista'] .lyrics-status,
[data-theme='wista'] .lyrics-word-synced .lyrics-line {
color: #aac8f0;
}
[data-theme='wista'] .lyrics-line.active,
[data-theme='wista'] .lyrics-word-synced .lyrics-line.active {
color: #ffffff;
}
[data-theme='wista'] .lyrics-line.completed {
color: #aac8f0;
}
/* ─────────────────────────────────────────── */
[data-theme='aqua-quartz'] {