diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:18:16 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-28 00:18:16 +0000 |
| commit | 748bb1720fd81e97a84c3e92f89d606e976b52e3 (patch) | |
| tree | a7f7f377035cd04912fe0541368884f976f4ee6d /components/ui | |
| parent | 9e280704988fdeffa05c1d8cbb731722f666c6af (diff) | |
(대표님) 컴포넌트 파트 커밋
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: { |
