Skip to content
SprecherEast
Issue 448

tech-debt: Finish moving C19, H16 and L8 to Text

Back to our plan
Done
frontendstylingtech-debtpriority: low

Summary

A few text styles are still written by hand after #443, and a few doc cells don't match the code yet.

Details

From the review of #443:

  • C19 (event summary on an event without a photo): src/app/(frontend)/events/[slug]/page.tsx writes text-lg muted by hand; use Text · lead.
  • H16 (panel heading) has two looks: the account panels use Text · subsection (text-xl), while src/modules/events/ui/EventLocation.tsx and src/platform/ui/SidebarCTA.tsx still write text-base semibold by hand. Pick one look and use Text for all three.
  • L8 (footer copyright and notices) is text-xs, but the docs map it to Text · small (text-sm). Change the mapping or the look.
  • Docs: the "current look" cells for H15 and H16 in docs/ui/elements-layout-navigation.md still describe the old styles.
  • Optional: the PageHeader row in docs/ui/component-set.md could say it composes Text · overline and Text · lead.

Acceptance criteria

  • Not done: No hand-written copy of a Text variant is left for C19, H16 and L8.
  • Not done: The doc cells match the code.
  • Not done: Screenshots of the event, post (sidebar box) and account pages against main.

Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab