From eed42a260a4d58c4a72013b22eb30496e588ced4 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 13 Jul 2026 14:42:07 -0400 Subject: [PATCH] fix(ui): one continuous chrome gradient across nav + sticky sub-headers (#1478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The TopNav and each sticky sub-header pinned beneath it (Gallery's filter bar, the Browse/Series/Settings/Subscriptions tabs bars) each painted their OWN dark-to-transparent gradient (Gallery) or a solid surface band (the rest), so the fade read as happening twice — dark, fade out, then dark again — instead of one gradient flowing from the nav down through the sub-nav. Operator asked to treat the sub-nav as part of the nav with a single gradient. New shared .fc-chrome-continues primitive (app.css): the nav fades from opaque to a shared --fc-chrome-seam alpha (on views flagged meta.stickyChrome), and the sub-header continues from that exact seam alpha to transparent over its own height. Both reference the same var so the alphas meet at the 64px boundary — no re-darkening, no doubling. Percentage stops keep it spanning the filter bar's expanding refine panel; the primitive's blur keeps tabs/controls legible where the old solid bars had none. --fc-chrome-seam is the single tuning knob. Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/components/TopNav.vue | 24 +++++++++++++- .../components/gallery/GalleryFilterBar.vue | 20 +++--------- frontend/src/router.js | 10 +++--- frontend/src/styles/app.css | 32 +++++++++++++++++++ frontend/src/views/BrowseView.vue | 5 +-- frontend/src/views/SeriesView.vue | 7 ++-- frontend/src/views/SettingsView.vue | 10 +++--- frontend/src/views/SubscriptionsView.vue | 7 ++-- 8 files changed, 81 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/TopNav.vue b/frontend/src/components/TopNav.vue index 4c0028f..eaaedd6 100644 --- a/frontend/src/components/TopNav.vue +++ b/frontend/src/components/TopNav.vue @@ -1,5 +1,5 @@