diff options
Diffstat (limited to 'components/ui')
| -rw-r--r-- | components/ui/alert.tsx | 3 | ||||
| -rw-r--r-- | components/ui/badge.tsx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/components/ui/alert.tsx b/components/ui/alert.tsx index 5afd41d1..e3292bb0 100644 --- a/components/ui/alert.tsx +++ b/components/ui/alert.tsx @@ -11,6 +11,9 @@ const alertVariants = cva( default: "bg-background text-foreground", destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive", + // success 추가 + success: + "border-green-500/30 bg-green-50 text-green-700 [&>svg]:text-green-600", }, }, defaultVariants: { diff --git a/components/ui/badge.tsx b/components/ui/badge.tsx index e87d62bf..ddf9c287 100644 --- a/components/ui/badge.tsx +++ b/components/ui/badge.tsx @@ -15,6 +15,8 @@ const badgeVariants = cva( destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", outline: "text-foreground", + success: + "border-transparent bg-green-500 text-white shadow hover:bg-green-600", }, }, defaultVariants: { |
