From 8d178884d4f0aafa0ff071f0f885ecd91b90f455 Mon Sep 17 00:00:00 2001 From: XShine555 Date: Tue, 22 Sep 2026 18:01:25 +0200 Subject: [PATCH] Sync sidebar/queue/player bar color transitions with the main background Sidebar, Queue, PlayerBar, TabsBar, and the hero/spotlight surfaces all had an extra CSS `transition: background 0.5s ease-out` (theme-transition/ glass-bar) layered on top of backgrounds that are already animated frame-by-frame over 600ms by the hue-interpolation loop in +layout.svelte. That extra transition made them visibly lag behind and take a different amount of time than the main app-backdrop, which has no such transition and therefore tracks the JS animation exactly. Drop the redundant transition so every hue-driven surface updates in lockstep. Also fixes a dangling --color-btn-hover: var(--mf-btn-bg-hover) that referenced an undefined custom property (theme.css never defined --mf-btn-bg-hover after an earlier partial commit), which silently broke the secondary button's hover background. --- web-player/src/lib/components/layout/Sidebar.svelte | 2 +- web-player/src/lib/components/player/Queue.svelte | 2 +- web-player/src/lib/theme/theme.css | 2 ++ web-player/src/routes/+page.svelte | 4 ++-- web-player/src/routes/layout.css | 4 ---- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/web-player/src/lib/components/layout/Sidebar.svelte b/web-player/src/lib/components/layout/Sidebar.svelte index 5a3bbc7..06261ff 100644 --- a/web-player/src/lib/components/layout/Sidebar.svelte +++ b/web-player/src/lib/components/layout/Sidebar.svelte @@ -31,7 +31,7 @@