Skip to content

Commit 9a28d77

Browse files
adjust link-variant colors, adjust padding and margin for default size
1 parent 07a0f4f commit 9a28d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ui/button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ const buttonVariants = cva(
1818
secondary:
1919
'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',
2020
ghost: 'hover:bg-stone-700 active:bg-stone-600',
21-
link: 'text-primary underline-offset-4 hover:underline',
21+
link: 'text-primary hover:bg-stone-200/40 active:bg-stone-300/70',
2222
},
2323
size: {
24-
default: 'h-9 px-2 py-1 mx-2',
24+
default: 'h-9 p-1 mx-1.5',
2525
sm: 'h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5',
2626
lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',
2727
icon: 'size-9',

0 commit comments

Comments
 (0)