@@ -5,20 +5,20 @@ 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-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-30 [&_svg]:pointer-events-none [&_svg]:shrink-0" ,
8+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-30 [&_svg]:pointer-events-none [&_svg]:shrink-0" ,
99 {
1010 variants : {
1111 variant : {
1212 default :
13- "bg-primary text-primary-foreground shadow hover:bg-primary/90" ,
13+ "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90" ,
1414 destructive :
15- "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/80" ,
15+ "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/80" ,
1616 success :
17- "bg-success text-success-foreground shadow-sm hover:bg-success/80" ,
17+ "bg-success text-success-foreground shadow-xs hover:bg-success/80" ,
1818 outline :
19- "border border-border bg-transparent shadow-sm hover:bg-border/30 hover:text-accent-foreground" ,
19+ "border border-border bg-transparent shadow-xs hover:bg-border/30 hover:text-accent-foreground" ,
2020 secondary :
21- "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80" ,
21+ "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80" ,
2222 ghost : "hover:bg-accent hover:text-accent-foreground" ,
2323 link : "text-primary underline-offset-4 hover:underline" ,
2424 } ,
0 commit comments