article headlines: --fs-h2 instead of --fs-h1 (long news titles filled the viewport at 56px; editorial 32-40px convention)

This commit is contained in:
2026-09-03 15:14:44 +02:00
parent c4d21b59be
commit 2e6d374b4b
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ Type scale — the ONLY font sizes in the codebase (no ad-hoc rem values):
| (base) | 1rem | Body, line-height 1.5 (1.65 only on `.prose`; 1.55 `.standfirst`; 1.45 cards/footer) |
| `--fs-l` | 1.125rem | Card titles, standfirst, panel titles, hero subtitle |
| `--fs-xl` | 1.5rem | Prose h2, featured title, auth h1 |
| `--fs-h2` | clamp(1.75–2.5rem) | Section heads |
| `--fs-h1` | clamp(2.25–3.5rem) | Page/article headlines |
| `--fs-h2` | clamp(1.75–2.5rem) | Section heads, article headlines (news titles run long — full `--fs-h1` would fill the viewport) |
| `--fs-h1` | clamp(2.25–3.5rem) | Short page heads only ("News & Announcements") |
| `--fs-display` | clamp(2.5–4.75rem) | Home hero only |
Font tokens end with a generic (`sans-serif`); use them bare —