style(cta): 全站 CTA Pill 化(Button 组件 + 11 个营销页内联按钮 rounded-full 对齐签名化)
This commit is contained in:
@@ -24,11 +24,11 @@ const buttonVariants = cva(
|
||||
'bg-error text-white shadow-sm hover:bg-error-hover hover:-translate-y-px active:translate-y-0 active:scale-[0.97] transition-all duration-fast ease-standard',
|
||||
},
|
||||
size: {
|
||||
sm: 'h-9 rounded-md px-3 text-xs font-medium',
|
||||
default: 'h-11 rounded-md px-5 py-2 font-medium',
|
||||
lg: 'h-12 rounded-md px-6 text-base font-semibold',
|
||||
xl: 'h-14 rounded-md px-8 text-base font-semibold',
|
||||
icon: 'h-11 w-11 rounded-md',
|
||||
sm: 'h-9 rounded-full px-3 text-xs font-medium',
|
||||
default: 'h-11 rounded-full px-5 py-2 font-medium',
|
||||
lg: 'h-12 rounded-full px-6 text-base font-semibold',
|
||||
xl: 'h-14 rounded-full px-8 text-base font-semibold',
|
||||
icon: 'h-11 w-11 rounded-full',
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
||||
Reference in New Issue
Block a user