Skip to content

chore: new release - #5620

Merged
mimarz merged 1 commit into
mainfrom
changeset-release/main
Nov 19, 2026
Merged

mimarz merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@digdir/designsystemet@1.24.1

Patch Changes

  • typography: Font sizes in the Small and Large size modes are now the same in Figma as in the generated CSS (#5609). (thanks @ssb-cgn) (#5647)

    The CSS does not change. In Figma, the font-size variables for Small and Large change the next time you import your theme. The same values are used in the design-tokens output:

    Step Small Large
    1 11 → 11 13 → 14
    2 13 → 12 16 → 16
    3 14 → 14 18 → 19
    4 16 → 16 21 → 21
    5 18 → 19 24 → 25
    6 21 → 21 30 → 28
    7 24 → 27 36 → 35
    8 30 → 32 48 → 42
    9 36 → 43 60 → 56
    10 48 → 53 72 → 70
  • size: In the Large size mode, --ds-size-3, -6, -9, -12, -15, -18 and -30 are 1px larger, now matching the intended values in Figma and in all browsers. (#5648)

    These sizes are whole numbers (14, 28, 42, 56, 70, 84 and 140px), but a floating-point rounding error in the size formula made Figma, Chrome and Safari round them down to 1px less, while Firefox could show the intended value. The formula now multiplies before dividing, so the result is exact. Small and Medium do not change.

    In Figma, the size variables for Large change the next time you import your theme.

  • config: A theme with exactly three colors named main, support and neutral is no longer mistaken for the old color categories and migrated. (#5633)

  • Update npm non-major dependencies (#5613)

  • base-contrast-default is now chosen so it has enough contrast against both base-default and base-hover, not only base-default. Some mid-tone colors get black instead of white, mostly in dark mode, and base-contrast-subtle follows the same direction. (#5623)

  • config: Color names can no longer start or end with a hyphen, or have two hyphens in a row. Names like -brand, brand- and brand--2 are rejected; brand-2 is still valid. (#5633)

@digdir/designsystemet-css@1.24.1

Patch Changes

  • size: In the Large size mode, --ds-size-3, -6, -9, -12, -15, -18 and -30 are 1px larger, now matching the intended values in Figma and in all browsers. (#5648)

    These sizes are whole numbers (14, 28, 42, 56, 70, 84 and 140px), but a floating-point rounding error in the size formula made Figma, Chrome and Safari round them down to 1px less, while Firefox could show the intended value. The formula now multiplies before dividing, so the result is exact. Small and Medium do not change.

    In Figma, the size variables for Large change the next time you import your theme.

  • Update npm non-major dependencies (#5613)

@digdir/designsystemet-react@1.24.1

Patch Changes

  • Update npm non-major dependencies (#5613)

  • Tabs: Use DSTabsElement instead of DSTabElement as the type for ref and props on the root Tabs component. (#5644)

  • Re-export custom element types from @digdir/designsystemet-web (DSErrorSummaryElement, DSFieldElement etc.) (#5644)

@digdir/designsystemet-web@1.24.1

Patch Changes

  • Update npm non-major dependencies (#5613)

@digdir/designsystemet-types@1.24.1

No changes in this release.

figma-plugin@1.24.1

Patch Changes

  • typography: Font sizes in the Small and Large size modes are now the same in Figma as in the generated CSS (#5609). (thanks @ssb-cgn) (#5647)

    The CSS does not change. In Figma, the font-size variables for Small and Large change the next time you import your theme. The same values are used in the design-tokens output:

    Step Small Large
    1 11 → 11 13 → 14
    2 13 → 12 16 → 16
    3 14 → 14 18 → 19
    4 16 → 16 21 → 21
    5 18 → 19 24 → 25
    6 21 → 21 30 → 28
    7 24 → 27 36 → 35
    8 30 → 32 48 → 42
    9 36 → 43 60 → 56
    10 48 → 53 72 → 70
  • size: In the Large size mode, --ds-size-3, -6, -9, -12, -15, -18 and -30 are 1px larger, now matching the intended values in Figma and in all browsers. (#5648)

    These sizes are whole numbers (14, 28, 42, 56, 70, 84 and 140px), but a floating-point rounding error in the size formula made Figma, Chrome and Safari round them down to 1px less, while Firefox could show the intended value. The formula now multiplies before dividing, so the result is exact. Small and Medium do not change.

    In Figma, the size variables for Large change the next time you import your theme.

figma-ui-kit@1.24.1

Patch Changes

  • Typography: Font sizes in the Small and Large size modes now match code. Headings change the most: they get bigger in Small and smaller in Large. Medium does not change. (#5647) (#5650)

    Variable Small Large
    font-size/1 11 → 11 13 → 14
    font-size/2 13 → 12 16 → 16
    font-size/3 14 → 14 18 → 19
    font-size/4 16 → 16 21 → 21
    font-size/5 18 → 19 24 → 25
    font-size/6 21 → 21 30 → 28
    font-size/7 24 → 27 36 → 35
    font-size/8 30 → 32 48 → 42
    font-size/9 36 → 43 60 → 56
    font-size/10 48 → 53 72 → 70
  • Size: Some sizes in the Large size mode are 1px larger, as intended and as in code. A rounding error made them 1px too small. Small and Medium do not change. (#5648) (#5650)

    Variable Large
    size/3 13 → 14
    size/6 27 → 28
    size/9 41 → 42
    size/12 55 → 56
    size/15 69 → 70
    size/18 83 → 84
    size/30 139 → 140

@web/www@1.24.1

No changes in this release.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 13 times, most recently from bce3bab to 2e7a543 Compare November 19, 2026 13:28
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2e7a543 to 3c76685 Compare November 19, 2026 13:55
@mimarz
mimarz merged commit c1eb294 into main Nov 19, 2026
3 checks passed
@mimarz
mimarz deleted the changeset-release/main branch November 19, 2026 14:12
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