From a3d5d5ea552e2ebae141d40688baab0c132c9147 Mon Sep 17 00:00:00 2001 From: Chris Parsons <438676+chrisparsons83@users.noreply.github.com> Date: Sun, 22 Feb 2026 18:00:21 -0800 Subject: [PATCH] Fix text color visibility in form inputs and selects (#27) * Fix dropdown and input dark mode theming in draft page Add bg-background and text-foreground classes to native select and input elements so they use theme CSS variables instead of browser defaults, which rendered as white in dark mode. https://claude.ai/code/session_01FZz7kndEqWqFScyq4R6Wxn * Fix missing text-foreground on time bank unit select The seconds/minutes/hours select in the time bank dialog had bg-background but was missing text-foreground, causing text color to fall back to browser default in dark mode. https://claude.ai/code/session_01FZz7kndEqWqFScyq4R6Wxn --------- Co-authored-by: Claude --- .../draft/AvailableParticipantsSection.tsx | 4 ++-- app/routes/leagues/$leagueId.draft.$seasonId.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/components/draft/AvailableParticipantsSection.tsx b/app/components/draft/AvailableParticipantsSection.tsx index 65ef28e..0f47df9 100644 --- a/app/components/draft/AvailableParticipantsSection.tsx +++ b/app/components/draft/AvailableParticipantsSection.tsx @@ -63,7 +63,7 @@ export function AvailableParticipantsSection({ placeholder="Search participants..." value={searchQuery} onChange={(e) => onSearchChange(e.target.value)} - className="w-full px-3 py-2 border rounded-md text-sm" + className="w-full px-3 py-2 border rounded-md text-sm bg-background text-foreground" />
@@ -71,7 +71,7 @@ export function AvailableParticipantsSection({ setDialogSearchQuery(e.target.value)} /> setDialogSearchQuery(e.target.value)} /> setTimeBankUnit(e.target.value as "seconds" | "minutes" | "hours") } - className="px-3 py-2 border rounded-md bg-background text-sm" + className="px-3 py-2 border rounded-md bg-background text-foreground text-sm" >