File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,11 @@ import { cva, type VariantProps } from 'class-variance-authority'
55import { cn } from '@/lib/utils'
66
77const buttonVariants = cva (
8- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[2px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive " ,
8+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring focus-visible:ring-[2px]" ,
99 {
1010 variants : {
1111 variant : {
1212 default : 'bg-primary shadow-xs hover:bg-primary/90' ,
13- destructive :
14- 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20' ,
1513 outline :
1614 'border bg-background shadow-xs hover:bg-stone-200 active:bg-stone-300' ,
1715 secondary :
You can’t perform that action at this time.
0 commit comments