From 5af8506f559c7d3b1aaf1aad7e268ff1d36e1da3 Mon Sep 17 00:00:00 2001 From: sudoquasar Date: Mon, 28 Sep 2026 14:39:26 +0530 Subject: [PATCH 1/4] =?UTF-8?q?Redesign=20UI:=20lively=20minimalist=20?= =?UTF-8?q?=E2=80=94=20colour=20tiers,=20motion,=20decluttered=20chrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Full interactivity direction (see docs/DECISIONS.md, 2026-09-28): PLAN.md's old anti-motion rule (one orchestrated moment, no hover lifts, no card glows) is deliberately relaxed. The accent family grows from one gold to five jewel-tone colours (marigold/verdigris/coral/violet/azure), each with one job, so variety stays systemic rather than decorative. - src/lib/scoreTier.ts: shared great/good/low tier colouring, reused by PosterCard ratings and the Scorecard so a colour always means the same thing. - src/lib/accents.ts: cycles genre chips through the accent family (home page and title page). - PosterCard/PosterImage: hover glow in the card's own score-tier colour, image zoom, title colour shift; Rail/PosterGrid stagger their entrance. - Scorecard: scores count up on arrival and colour by tier; Tomatometer dot is now a real dot. - Button/Dialog/Select/Kbd: interactive chrome moves off the 2px poster-corner radius onto Tailwind's default md/lg/full scale, so content and touch targets read as two different materials; posters themselves stay sharp. - Header: glass blur, glowing search trigger, decluttered region control (no more boxed — one less border in a header that already has four + * elements competing for attention. */ function RegionSelect() { const region = usePreferences((s) => s.region); const setRegion = usePreferences((s) => s.setRegion); return ( - <> +
@@ -44,24 +46,28 @@ function RegionSelect() { if (isRegion(event.target.value)) setRegion(event.target.value); }} title="Changes which Popular list you see" - className="h-9 rounded-sm border border-edge bg-surface px-2 text-sm text-ink hover:border-ink-muted" + className="peer h-9 cursor-pointer appearance-none bg-transparent py-1 pr-5 pl-1 text-ink-muted text-sm transition-colors hover:text-ink focus-visible:text-ink" > {app.regions.map((code) => ( - ))} - + +
); } export function Header() { const saved = useWatchlist((s) => s.items.length); return ( -
+
- + {app.name} @@ -70,14 +76,17 @@ export function Header() { to="/watchlist" className={({ isActive }) => cx( - 'flex h-9 items-center gap-1.5 text-sm hover:text-ink', + 'flex h-9 items-center gap-1.5 text-sm transition-colors hover:text-marigold', isActive ? 'text-ink' : 'text-ink-muted', ) } > Watchlist {saved > 0 && ( - + ( {saved} saved) diff --git a/src/features/browse/GenrePage.tsx b/src/features/browse/GenrePage.tsx index bcb1919..da9503e 100644 --- a/src/features/browse/GenrePage.tsx +++ b/src/features/browse/GenrePage.tsx @@ -73,7 +73,7 @@ function YearInput({ onKeyDown={(event) => { if (event.key === 'Enter') commit(); }} - className="h-9 w-20 rounded-sm border border-edge bg-surface px-2 text-sm tabular-nums placeholder:text-ink-muted hover:border-ink-muted" + className="h-9 w-20 rounded-lg border border-edge bg-surface px-2 text-sm tabular-nums placeholder:text-ink-muted transition-colors hover:border-marigold/60" />
); @@ -93,11 +93,11 @@ function TypeToggle({ return (
Showing -
+
{options.map((type) => (