Skip to content

Conversation

bucknatt
Copy link
Contributor

@bucknatt bucknatt commented Aug 8, 2025

📄 Description

For accessibility (WCAG 2.1 guidelines) the font-size smaller than 14px has been updated to 14px respectively 0.875rem.
Font-size in code-tag and plain text in UPPERCASE are still in former font-size.

For the font-size the unit is changed from px to rem.

@bucknatt bucknatt requested review from a team as code owners August 8, 2025 12:56
@bucknatt bucknatt requested a review from oliverschuerch August 8, 2025 12:56
@bucknatt bucknatt linked an issue Aug 8, 2025 that may be closed by this pull request
2 tasks
Copy link

changeset-bot bot commented Aug 8, 2025

🦋 Changeset detected

Latest commit: 4299f23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@swisspost/design-system-documentation Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Aug 8, 2025

Related Previews

@bucknatt bucknatt requested review from leagrdv and removed request for oliverschuerch August 11, 2025 11:24
@bucknatt bucknatt changed the title chore(internet-header, docs, compo, styles): Updated minimum font-size 14px, changed font-size from px to rem. chore(docs): updated minimum font-size 14px, changed font-size from px to rem Aug 15, 2025
Copy link

Copy link
Contributor

@alionazherdetska alionazherdetska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Quick question: What's the reasoning behind using rem for some elements and px for others?

@leagrdv leagrdv removed their request for review August 28, 2025 07:49
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.

Increase overall font size in the documentation
3 participants