From 6de7dfebf338dcf69dda155e262042d291f6f3a8 Mon Sep 17 00:00:00 2001 From: javayhu Date: Sun, 24 Aug 2025 10:38:30 +0800 Subject: [PATCH] chore: update shadcnui badge and scroll-area components --- src/components/ui/badge.tsx | 2 +- src/components/ui/scroll-area.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsx index 2151ab6..0205413 100644 --- a/src/components/ui/badge.tsx +++ b/src/components/ui/badge.tsx @@ -14,7 +14,7 @@ const badgeVariants = cva( secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90", destructive: - "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/70", + "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60", outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground", }, diff --git a/src/components/ui/scroll-area.tsx b/src/components/ui/scroll-area.tsx index c0c4df7..8e4fa13 100644 --- a/src/components/ui/scroll-area.tsx +++ b/src/components/ui/scroll-area.tsx @@ -18,7 +18,7 @@ function ScrollArea({ > {children}