Skip to content

fix(cli,theme): round font variables#4070

Merged
unekinn merged 1 commit intomainfrom
fix/round-font-size-values
Sep 22, 2025
Merged

fix(cli,theme): round font variables#4070
unekinn merged 1 commit intomainfrom
fix/round-font-size-values

Conversation

@unekinn
Copy link
Contributor

@unekinn unekinn commented Sep 19, 2025

Summary

Font size variables are now rounded to the nearest pixel. This affects size modes "sm" and "lg", which had subpixel values after v1.5.0 / #3866

Checks

@changeset-bot
Copy link

changeset-bot bot commented Sep 19, 2025

🦋 Changeset detected

Latest commit: 1ca88da

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

This PR includes changesets to release 4 packages
Name Type
@digdir/designsystemet-theme Patch
@digdir/designsystemet Patch
@digdir/designsystemet-react Patch
@digdir/designsystemet-css 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

@unekinn unekinn force-pushed the fix/round-font-size-values branch from 5d3bba0 to 07f52db Compare September 19, 2025 10:29
@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2025

Preview deployments for this pull request:

storybook - 19. Sep 2025 - 13:17

www - 19. Sep 2025 - 13:17

@unekinn unekinn force-pushed the fix/round-font-size-values branch from 07f52db to 4eca217 Compare September 19, 2025 11:08
@unekinn unekinn force-pushed the fix/round-font-size-values branch from 4eca217 to 1ca88da Compare September 19, 2025 11:15
@unekinn unekinn merged commit 856da18 into main Sep 22, 2025
18 checks passed
@github-actions github-actions bot mentioned this pull request Sep 22, 2025
@unekinn unekinn deleted the fix/round-font-size-values branch September 22, 2025 07:29
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.

2 participants