fix(orders): use text-warn (not text-warn-foreground) for icon buttons

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 <noreply@anthropic.com>

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
SJCoetz 2026-07-30 15:34:12 +02:00
parent f17f4d08b2
commit 3b8a299b15

View file

@ -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();