Issue 441
enhancement: Text, the shared heading and paragraph styles
Back to our planDone
enhancementfrontendstylingpriority: medium
Problem
Headings and paragraph styles are written out by hand wherever they appear. Some of the copies have already drifted apart:
- the section headings on the events, resources and FAQ pages
- the small uppercase labels on the sidebar lists and footer columns:
text-sm font-semibold tracking-widerin one place,text-xs font-bold tracking-widestin another - the two-line card summaries on post and event cards
(L7, L8, H14–H16, C19, C26)
Goal
Add Text to src/platform/ui/, as specified in docs/ui/component-set.md:
variant:section,subsection,overline,label,lead,mutedorsmallas:h2–h6,porspan. Headings default toh2, the rest top.clamp: the number of lines, 1 to 3
label is a new variant: the quiet uppercase name of a sidebar list or footer column. The spec gets it too.
These use it: the section headings above, the sidebar and footer labels, and the card summaries. The list-page header's eyebrow and lead (PageHeader) move to Text once #440 merges, because that PR also changes PageHeader.
Acceptance criteria
- Not done:
Textis built, with tests. - Not done: The places listed use it, and the sidebar and footer labels match.
- Not done: Visual QA at 6 widths in light and dark.
Generated by Claude Code, opens in a new tab