File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ 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 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 ] aria-invalid:ring-destructive/20 aria-invalid:border-destructive" ,
99 {
1010 variants : {
1111 variant : {
@@ -17,8 +17,8 @@ const buttonVariants = cva(
1717 '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-stone-700 active:bg-stone-600' ,
21- link : 'text-primary hover:bg-stone-200/40 active:bg-stone-300/70' ,
20+ ghost : 'hover:bg-stone-700 active:bg-stone-600 focus-visible:ring-ring-light ' ,
21+ link : 'text-primary hover:bg-stone-200/40 active:bg-stone-300/70 focus-visible:ring-ring/50 focus-visible:ring-[3px] ' ,
2222 } ,
2323 size : {
2424 default : 'h-9 p-1 mx-1.5' ,
You can’t perform that action at this time.
0 commit comments