Skip to content

Commit de14918

Browse files
committed
tags colors change
1 parent 89f8a0e commit de14918

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

src/components/ui/tag.tsx

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const tagVariants = cva(
99
status: {
1010
normal: "bg-background-highlight text-body-medium border-body-medium",
1111
tag: "bg-primary-low-contrast text-primary border-primary",
12-
success: "bg-success-light text-success border-success",
13-
error: "bg-error-light text-error border-error",
14-
warning: "bg-warning-light text-warning border-warning",
12+
success: "bg-success-light text-success border-success-border",
13+
error: "bg-error-light text-error border-error-border",
14+
warning: "bg-warning-light text-warning-dark border-warning-border",
1515
},
1616
variant: {
1717
subtle: "border-transparent",
@@ -33,17 +33,32 @@ const tagVariants = cva(
3333
{
3434
variant: "solid",
3535
status: "success",
36-
className: "bg-success",
36+
className: "bg-success text-success-light",
3737
},
3838
{
3939
variant: "solid",
4040
status: "error",
41-
className: "bg-error",
41+
className: "bg-error text-error-light",
4242
},
4343
{
4444
variant: "solid",
4545
status: "warning",
46-
className: "bg-warning",
46+
className: "bg-warning text-warning-light",
47+
},
48+
{
49+
variant: "outline",
50+
status: "success",
51+
className: "text-success-border",
52+
},
53+
{
54+
variant: "outline",
55+
status: "error",
56+
className: "text-error-border",
57+
},
58+
{
59+
variant: "outline",
60+
status: "warning",
61+
className: "text-warning-border",
4762
},
4863
],
4964
defaultVariants: {

0 commit comments

Comments
 (0)