File tree Expand file tree Collapse file tree
packages/react/v2/components/primitives Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ const buttonVariants = cva(
2828 outline :
2929 ' border border-border-button-outline text-text-secondary bg-surface-button-outline shadow-xs hover:bg-surface-button-outline-hover active:bg-surface-button-outline hover:border-border-button-outline-hover disabled:bg-surface-button-outline-disabled disabled:text-text-disabled disabled:*:text-text-disabled disabled:border disabled:border-border-button-outline-disabled dark:bg-input/30 dark:border-input dark:hover:bg-input/50' ,
3030 ghost :
31- 'bg-transparent text-text-secondary hover:text-accent-foreground dark:hover:bg-accent/50' ,
31+ 'bg-transparent text-text-secondary hover:text-accent-foreground dark:hover:bg-accent/50 hover:bg-surface-button-ghost-hover ' ,
3232 destructive :
3333 'bg-destructive text-white hover:bg-destructive/90 active:bg-destructive focus-visible:ring-destructive dark:focus-visible:ring-destructive/40 dark:bg-destructive/60' ,
3434 } ,
3535 size : {
3636 md : 'h-18 px-8 py-4 has-[>svg]:px-6' ,
37- sm : 'h-16 rounded-md gap-3 px-6 has-[>svg]:px-5' ,
37+ sm : 'h-20 rounded-md gap-3 px-7 py-4 has-[>svg]:px-5' ,
3838 lg : 'h-20 rounded-md px-12 has-[>svg]:px-8' ,
3939 icon : 'size-18' ,
4040 'icon-sm' : 'size-16' ,
@@ -63,7 +63,7 @@ function Button({
6363 return (
6464 < Comp
6565 data-slot = "button"
66- className = { cn ( buttonVariants ( { variant, size, className } ) ) }
66+ className = { cn ( buttonVariants ( { variant, size } ) , className ) }
6767 { ...( props as any ) }
6868 />
6969 )
You can’t perform that action at this time.
0 commit comments