refactor: replace px text sizes in Button, Loader, Footnote with named tokens
This commit is contained in:
@@ -150,11 +150,11 @@ const variantStyles: Record<ButtonVariant, string> = {
|
||||
};
|
||||
|
||||
const sizeStyles: Record<ButtonSize, string> = {
|
||||
xs: 'h-6 px-2 text-[9px] gap-1',
|
||||
sm: 'h-8 px-3 text-[10px] gap-1.5',
|
||||
md: 'h-10 px-4 text-[11px] gap-2',
|
||||
lg: 'h-12 px-6 text-[12px] gap-2',
|
||||
xl: 'h-14 px-8 text-[13px] gap-2.5',
|
||||
xs: 'h-6 px-2 text-3xs gap-1',
|
||||
sm: 'h-8 px-3 text-2xs gap-1.5',
|
||||
md: 'h-10 px-4 text-xs gap-2',
|
||||
lg: 'h-12 px-6 text-xs gap-2',
|
||||
xl: 'h-14 px-8 text-sm gap-2.5',
|
||||
};
|
||||
|
||||
// Square padding for icon-only mode
|
||||
|
||||
Reference in New Issue
Block a user