@@ -5,22 +5,21 @@ 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-xs text-base font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0" ,
8+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xs text-base font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 cursor-pointer " ,
99 {
1010 variants : {
1111 variant : {
1212 default :
13- "border border-vscode-input-border bg-primary text-primary-foreground shadow hover:bg-primary/90 cursor-pointer" ,
14- destructive :
15- "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90 cursor-pointer" ,
13+ "border border-vscode-input-border bg-primary text-primary-foreground shadow hover:bg-primary/90" ,
14+ destructive : "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90" ,
1615 outline :
17- "border border-vscode-input-border bg-background shadow-sm hover:bg-accent hover:text-accent-foreground cursor-pointer " ,
16+ "border border-vscode-input-border bg-background shadow-sm hover:bg-accent hover:text-accent-foreground" ,
1817 secondary :
19- "border border-vscode-input-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80 cursor-pointer " ,
20- ghost : "hover:bg-accent hover:text-accent-foreground cursor-pointer " ,
21- link : "text-primary underline-offset-4 hover:underline cursor-pointer " ,
18+ "border border-vscode-input-border bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80" ,
19+ ghost : "hover:bg-accent hover:text-accent-foreground" ,
20+ link : "text-primary underline-offset-4 hover:underline" ,
2221 combobox :
23- "text -vscode-font-size font-normal text-popover-foreground bg-vscode-input-background border border-vscode-dropdown-border hover:bg-vscode-input-background/80 cursor-pointer " ,
22+ "border border -vscode-input-border bg-vscode-input-background text-muted-foreground shadow-sm hover:bg-transparent " ,
2423 } ,
2524 size : {
2625 default : "h-7 px-3" ,
0 commit comments