style(ui): tighten hero line-height to 0.9 for a more locked-in industrial aesthetic
Former-commit-id: 2bb01c43ff20a4920cb42c50155c3b8b62a68080
This commit is contained in:
@@ -32,18 +32,18 @@ export function Heading({
|
||||
const effectiveSize = size || String(level) as HeadingSize;
|
||||
|
||||
const sizes: Record<string, string> = {
|
||||
'hero': 'font-heading text-4xl md:text-5xl lg:text-6xl font-black tracking-tight leading-[1.0]',
|
||||
'section': 'font-heading text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight leading-[1.1]',
|
||||
'subsection': 'font-heading text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight leading-[1.15]',
|
||||
'hero': 'font-heading text-4xl md:text-5xl lg:text-6xl font-black tracking-tight leading-[0.9]',
|
||||
'section': 'font-heading text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight leading-[0.95]',
|
||||
'subsection': 'font-heading text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight leading-tight',
|
||||
'card': 'text-xl md:text-2xl font-bold leading-snug',
|
||||
'small': 'text-lg font-semibold leading-snug',
|
||||
// Legacy support
|
||||
'1': 'text-2xl md:text-4xl lg:text-5xl font-bold leading-[1.0] tracking-tight',
|
||||
'2': 'text-xl md:text-3xl lg:text-4xl font-bold leading-[1.1] tracking-tight',
|
||||
'3': 'text-lg md:text-2xl lg:text-3xl font-bold leading-[1.15] tracking-tight',
|
||||
'4': 'text-lg md:text-xl lg:text-2xl font-bold leading-[1.2]',
|
||||
'5': 'text-base md:text-lg font-bold leading-[1.3]',
|
||||
'6': 'text-base md:text-lg font-semibold leading-[1.4]',
|
||||
'1': 'text-2xl md:text-4xl lg:text-5xl font-bold leading-[0.9] tracking-tight',
|
||||
'2': 'text-xl md:text-3xl lg:text-4xl font-bold leading-[0.95] tracking-tight',
|
||||
'3': 'text-lg md:text-2xl lg:text-3xl font-bold leading-tight tracking-tight',
|
||||
'4': 'text-lg md:text-xl lg:text-2xl font-bold leading-snug',
|
||||
'5': 'text-base md:text-lg font-bold leading-normal',
|
||||
'6': 'text-base md:text-lg font-semibold leading-normal',
|
||||
};
|
||||
|
||||
const variants = {
|
||||
|
||||
Reference in New Issue
Block a user