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:
parent
f17f4d08b2
commit
3b8a299b15
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue