From 813b21d1a06c0d2622f19a0939c911377899e07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Mon, 6 Apr 2026 10:28:35 +0200 Subject: [PATCH] fix(ui): add dark mode styles to amber warning boxes app-wide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amber alert boxes were missing dark: variants, rendering as muddy dark-orange in dark mode with near-unreadable text. Fixed in: - VacationClient (Pending Approvals banner) - VacationModal (conflict warning) - ResourceDetail (load error) - SkillMatrixUpload (replace warning) - AllocationModal (open demand toggle) - ProjectWizard (budget bar, post-creation warnings) Pattern: bg-amber-50 → dark:bg-amber-950/30, border-amber-200 → dark:border-amber-800, text-amber-7/800 → dark:text-amber-300/400 Co-Authored-By: Claude Sonnet 4.6 --- apps/web/src/components/allocations/AllocationModal.tsx | 2 +- apps/web/src/components/projects/ProjectWizard.tsx | 6 +++--- apps/web/src/components/resources/ResourceDetail.tsx | 2 +- apps/web/src/components/resources/SkillMatrixUpload.tsx | 2 +- apps/web/src/components/vacations/VacationClient.tsx | 8 ++++---- apps/web/src/components/vacations/VacationModal.tsx | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/web/src/components/allocations/AllocationModal.tsx b/apps/web/src/components/allocations/AllocationModal.tsx index 8d2223c..fe61829 100644 --- a/apps/web/src/components/allocations/AllocationModal.tsx +++ b/apps/web/src/components/allocations/AllocationModal.tsx @@ -291,7 +291,7 @@ export function AllocationModal({ allocation, onClose, onSuccess }: AllocationMo {/* Form */}
{/* Demand toggle */} -
+