From 1ed055d0986e1c3c15424a501a544f4b88a51542 Mon Sep 17 00:00:00 2001 From: Gabe Farrell <90876006+gabehf@users.noreply.github.com> Date: Thu, 22 Jan 2026 21:31:14 -0500 Subject: [PATCH] fix: ui tweaks and fixes (#170) * add subtle gradient to home page * tweak autumn theme primary color * reduce home page top margin on mobile * use focus-active instead of focus for outline * fix gradient on rewind page * align checkbox on login form * i forgot what the pseudo class was called --- client/app/app.css | 10 +++++----- client/app/components/modals/LoginForm.tsx | 2 +- client/app/routes/Home.tsx | 16 ++++++++-------- client/app/routes/RewindPage.tsx | 2 +- client/app/styles/themes.css.ts | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/client/app/app.css b/client/app/app.css index eb5e7f6..bc60042 100644 --- a/client/app/app.css +++ b/client/app/app.css @@ -138,11 +138,11 @@ textarea { input[type="checkbox"] { height: fit-content; } -input:focus, -button:focus, -a:focus, -select:focus, -textarea:focus { +input:focus-visible, +button:focus-visible, +a:focus-visible, +select:focus-visible, +textarea:focus-visible { border-color: transparent; outline: 2px solid var(--color-fg-tertiary); } diff --git a/client/app/components/modals/LoginForm.tsx b/client/app/components/modals/LoginForm.tsx index 66ae6cb..1078476 100644 --- a/client/app/components/modals/LoginForm.tsx +++ b/client/app/components/modals/LoginForm.tsx @@ -54,7 +54,7 @@ export default function LoginForm() { className="w-full mx-auto fg bg rounded p-2" onChange={(e) => setPassword(e.target.value)} /> -
+
-
+
+
@@ -33,7 +30,10 @@ export default function Home() { - +
diff --git a/client/app/routes/RewindPage.tsx b/client/app/routes/RewindPage.tsx index 71a1ef6..4d60065 100644 --- a/client/app/routes/RewindPage.tsx +++ b/client/app/routes/RewindPage.tsx @@ -59,7 +59,7 @@ export default function RewindPage() { useEffect(() => { if (!stats.top_artists[0]) return; - const img = (stats.top_artists[0] as any)?.image; + const img = (stats.top_artists[0] as any)?.item.image; if (!img) return; average(imageUrl(img, "small"), { amount: 1 }).then((color) => { diff --git a/client/app/styles/themes.css.ts b/client/app/styles/themes.css.ts index d5390ae..1a3a57d 100644 --- a/client/app/styles/themes.css.ts +++ b/client/app/styles/themes.css.ts @@ -92,7 +92,7 @@ export const themes: Record = { fg: "#fef9f3", fgSecondary: "#dbc6b0", fgTertiary: "#a3917a", - primary: "#d97706", + primary: "#F0850A", primaryDim: "#b45309", accent: "#8c4c28", accentDim: "#6b3b1f",