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 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive" ,
8+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-sm 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" ,
99 {
1010 variants : {
1111 variant : {
@@ -23,8 +23,8 @@ const buttonVariants = cva(
2323 } ,
2424 size : {
2525 default : "h-9 px-4 py-2 has-[>svg]:px-3" ,
26- sm : "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5" ,
27- lg : "h-10 rounded-md px-6 has-[>svg]:px-4" ,
26+ sm : "h-8 rounded-sm gap-1.5 px-3 has-[>svg]:px-2.5" ,
27+ lg : "h-10 rounded-sm px-6 has-[>svg]:px-4" ,
2828 icon : "size-9" ,
2929 } ,
3030 } ,
You can’t perform that action at this time.
0 commit comments