Skip to content

Commit e91eb0d

Browse files
committed
feat: Add Button primitive component.
1 parent 0ab9dd9 commit e91eb0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/primitives/Button.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
2020
}
2121

2222
const base =
23-
"inline-flex items-center justify-center gap-1.5 font-mono tracking-tight " +
24-
"rounded-sm transition focus-visible:outline-none focus-visible:ring-2 " +
23+
"inline-flex items-center justify-center gap-1.5 font-mono tracking-[0.16px] uppercase font-semibold " +
24+
"rounded-[4px] transition focus-visible:outline-none focus-visible:ring-2 " +
2525
"focus-visible:ring-accent/60 disabled:pointer-events-none disabled:opacity-50 " +
2626
"select-none cursor-pointer";
2727

@@ -40,9 +40,9 @@ const variants: Record<ButtonVariant, string> = {
4040
};
4141

4242
const sizes: Record<ButtonSize, string> = {
43-
sm: "px-2.5 py-1 text-[10px]",
44-
md: "px-4 py-2 text-xs",
45-
lg: "px-6 py-2.5 text-sm",
43+
sm: "px-2.5 py-1 text-[11px]",
44+
md: "px-4 py-2 text-[13px]",
45+
lg: "px-6 py-2.5 text-sm",
4646
};
4747

4848
export function Button({

0 commit comments

Comments
 (0)