From f624e9d425b4f5debcb2e92b3ee90698288b0618 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Feb 2026 01:51:40 +0000 Subject: [PATCH] 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 --- app/components/draft/AvailableParticipantsSection.tsx | 4 ++-- app/routes/leagues/$leagueId.draft.$seasonId.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 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)} />