From f8c8abd70bbae35d6cd519894624ade33b5115a8 Mon Sep 17 00:00:00 2001 From: Paul Nothaft Date: Fri, 6 Feb 2026 23:13:15 +0100 Subject: [PATCH] fix: resolve mixed light/dark mode styling in admin UI (#175) - Update .card class to use explicit Tailwind colors instead of CSS variables, preventing gallery theme from affecting admin UI - Add .card-themed and .input-themed classes for gallery components that need to use theme CSS variables - Add dark mode support to CardHeader and CardFooter components - Update .input class to use explicit colors for proper light/dark mode - Update dark mode selectors for consistency (.dark .class) --- frontend/src/components/common/Card.tsx | 6 +- frontend/src/index.css | 196 ++++++++++++++++++++++-- 2 files changed, 187 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/common/Card.tsx b/frontend/src/components/common/Card.tsx index 4b6c5d6a..6ead4af3 100644 --- a/frontend/src/components/common/Card.tsx +++ b/frontend/src/components/common/Card.tsx @@ -57,9 +57,9 @@ export const CardHeader: React.FC = ({ {...props} >
-

{title}

+

{title}

{subtitle && ( -

{subtitle}

+

{subtitle}

)}
{action &&
{action}
} @@ -95,7 +95,7 @@ export const CardFooter: React.FC = ({ return (