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)} /> -