File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ 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/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 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/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive" ,
99 {
1010 variants : {
1111 variant : {
1212 default :
1313 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90' ,
1414 destructive :
15- 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 ' ,
15+ 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20' ,
1616 outline :
17- 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark :bg-input/30 dark:border-input dark:hover:bg-input/50 ' ,
17+ 'border bg-background shadow-xs hover:bg-stone-200 active :bg-stone-300 ' ,
1818 secondary :
1919 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80' ,
20- ghost : 'hover:bg-accent hover:text-accent-foreground dark:hover: bg-accent/50 ' ,
20+ ghost : 'hover:bg-stone-700 active: bg-stone-600 ' ,
2121 link : 'text-primary underline-offset-4 hover:underline' ,
2222 } ,
2323 size : {
You can’t perform that action at this time.
0 commit comments