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
@changeset-bot
Copy link

changeset-bot bot commented Aug 8, 2025

🦋 Changeset detected

Latest commit: 38fc860

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
@leagrdv leagrdv removed their request for review September 25, 2025 12:55
…hanged px to rem for data-size="sm" and code tag
….docblock-argstable-body` class from 15px to 0.9375rem, same for `textarea`, `select`, `button`, `a` in `.docblock-argstable-body` and `docblock-argstable-head` from 14px to 0.875rem
@bucknatt bucknatt requested a review from leagrdv October 2, 2025 09:20
@bucknatt bucknatt requested a review from leagrdv October 22, 2025 08:22
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

Copy link
Contributor

Choose a reason for hiding this comment

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

The table titles are still not updated (MARGIN in the screenshot). As discussed before, because text is capitalized and with a larger letter spacing, you can decrease its size (13px should be good).
Capture d'écran 2025-11-06 110343

margin-top: 0.25rem;
margin-bottom: 0.75rem;
font-size: 0.75rem;
font-size: 0.9375rem;
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a bit big, you can set it to 14px instead (in rem).

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

5 participants