From 3b8a299b15353781b143053b7f42e1b746777ebd Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Thu, 30 Jul 2026 15:34:12 +0200 Subject: [PATCH] fix(orders): use text-warn (not text-warn-foreground) for icon buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit text-warn-foreground is the dark contrasting text colour meant to sit ON TOP of a warn-tinted background (e.g. an alert panel). Used as the icon colour on a plain card it renders nearly black. text-warn is the actual amber/orange hue — what we want for the Review + Open icons on the order list. Co-Authored-By: Claude Opus 4.8 Co-authored-by: Orca --- src/app/(app)/orders/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(app)/orders/page.tsx b/src/app/(app)/orders/page.tsx index 427326c..421e5a7 100644 --- a/src/app/(app)/orders/page.tsx +++ b/src/app/(app)/orders/page.tsx @@ -807,7 +807,7 @@ function OrderCard({ type="button" variant="ghost" size="icon" - className="h-8 w-8 text-warn-foreground hover:text-warn-foreground hover:bg-warn/10" + className="h-8 w-8 text-warn hover:text-warn hover:bg-warn/10" onClick={(e) => { e.stopPropagation(); onOpenReview(); @@ -822,7 +822,7 @@ function OrderCard({ type="button" variant="ghost" size="icon" - className="h-8 w-8 text-warn-foreground hover:text-warn-foreground hover:bg-warn/10" + className="h-8 w-8 text-warn hover:text-warn hover:bg-warn/10" onClick={(e) => { e.stopPropagation(); onOpen();