From 914cd79db9ff02b32d93bb9f408210b7f84d0aa0 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sun, 12 Jul 2026 23:53:56 +0200 Subject: [PATCH] fix(glass): give light theme its own translucent tier + unify the Plex filter rail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Light theme has no background image, so the adaptive :root glass (94%) rendered as flat snow-white islands, while the Plex filter rail (still on bg-surface/40) showed the ambient tint — an inconsistency. Fix centrally, not per-component: - index.css: one html[data-theme="light"] token override (surface 62 / card 74 / menu 86) so every .glass* surface is translucent in light and picks up the ambient tint, like it refracts the backdrop in dark. - PlexSidebar: bg-surface/40 -> glass, so all filter rails bind to the same token. One central lever now controls the light-theme glass translucency for the whole app. --- frontend/src/components/PlexSidebar.tsx | 2 +- frontend/src/index.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/PlexSidebar.tsx b/frontend/src/components/PlexSidebar.tsx index e797d62..bdd8f47 100644 --- a/frontend/src/components/PlexSidebar.tsx +++ b/frontend/src/components/PlexSidebar.tsx @@ -120,7 +120,7 @@ export default function PlexSidebar({ } return ( -