Skip to content

feat: Adopt Gov.uk patterns — typography + print button#122

Merged
williamzujkowski merged 1 commit intomainfrom
feat/govuk-patterns
Mar 31, 2026
Merged

feat: Adopt Gov.uk patterns — typography + print button#122
williamzujkowski merged 1 commit intomainfrom
feat/govuk-patterns

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Typography improvements from Gov.uk research (same font all screens, tighter line-height) plus a Print button. Cross-reference auto-linking tracked in #121.

Typography (Gov.uk accessibility research):
- Line-height: 1.7 → 1.5 (Gov.uk uses 1.32, legal docs typically 1.5)
- Mobile font: remove 16px override, keep 19px everywhere
  (Gov.uk finding: smaller mobile fonts hurt accessibility)

Print button:
- Add "Print" button to section metadata bar
- Uses window.print() with existing print stylesheet
- Legal researchers routinely print statute sections

Based on Gov.uk Design System and legislation.gov.uk research.
Consensus approved 2-0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit ad946ee into main Mar 31, 2026
@williamzujkowski williamzujkowski deleted the feat/govuk-patterns branch March 31, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant