From 8d821f3ada307d1ef8cef7cc2d0248229d57223a Mon Sep 17 00:00:00 2001 From: Tiancheng-Xu <44307608+Tiancheng-Xu@users.noreply.github.com> Date: Mon, 21 Sep 2026 19:52:39 -0400 Subject: [PATCH] fix(ui): restore dark mode contrast --- .../inertia/components/BuilderTagSelector.tsx | 6 +- admin/inertia/css/app.css | 8 +- admin/tests/unit/dark_mode_contrast.spec.ts | 77 +++++++++++++++++++ 3 files changed, 87 insertions(+), 4 deletions(-) create mode 100644 admin/tests/unit/dark_mode_contrast.spec.ts diff --git a/admin/inertia/components/BuilderTagSelector.tsx b/admin/inertia/components/BuilderTagSelector.tsx index 800ca29b..98e39aec 100644 --- a/admin/inertia/components/BuilderTagSelector.tsx +++ b/admin/inertia/components/BuilderTagSelector.tsx @@ -81,7 +81,7 @@ export default function BuilderTagSelector({ value={adjective} onChange={(e) => handleAdjectiveChange(e.target.value)} disabled={disabled} - className="px-3 py-2 bg-desert-stone-lighter border border-desert-stone-light rounded-lg text-desert-green font-medium focus:outline-none focus:ring-2 focus:ring-desert-green disabled:opacity-50" + className="px-3 py-2 bg-desert-stone-lighter border border-desert-stone-light rounded-lg text-text-primary font-medium focus:outline-none focus:ring-2 focus:ring-desert-green disabled:opacity-50" > {ADJECTIVES.map((adj) => (