--- interface Props { eyebrow: string; title: string; intro?: string; /** Heading + eyebrow colour — each section is keyed to a different accent. */ tone?: 'ink' | 'pine' | 'iris' | 'love' | 'gold' | 'foam' | 'rose'; class?: string; } const { eyebrow, title, intro, tone = 'ink', class: cls } = Astro.props; /** * The three-column header every archive section opens with — mono eyebrow, * oversized display heading, short intro — ported from the main site's * SectionHeader. The eyebrow takes the section's own accent rather than a * neutral; the heading tone is keyed to the same. Stacks below the lg break. */ // The eyebrow always uses an accent (never bare ink); the title follows tone. const eyebrowVar = tone === 'ink' ? 'var(--pine)' : `var(--${tone})`; const titleVar = tone === 'ink' ? 'var(--text)' : `var(--${tone})`; ---
{eyebrow}

{title}

{intro &&

{intro}

}