From ce4cd21937ace834072c44407689c4a1d7f98ef5 Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Thu, 24 Oct 2024 23:16:13 +0200 Subject: [PATCH] style(ui): add buton variant ghost-destructive --- packages/ui/src/button.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx index a8c3ca8..7469b3a 100644 --- a/packages/ui/src/button.tsx +++ b/packages/ui/src/button.tsx @@ -18,6 +18,8 @@ const buttonVariants = cva( secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', + 'ghost-destructive': + 'hover:bg-destructive hover:text-destructive-foreground', link: 'text-primary underline-offset-4 hover:underline', }, size: {