Skip to content

v1.24.1

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:13
c1eb294

Patch Changes

  • 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)

    @digdir/designsystemet

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

    @digdir/designsystemet

  • 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

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

    @digdir/designsystemet-react

  • Size: Some sizes in the Large size mode are 1px larger, as intended. A rounding error made them 1px too small. Small and Medium do not change. (#5648)

    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

    @digdir/designsystemet · @digdir/designsystemet-css · figma-plugin · figma-ui-kit

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

    @digdir/designsystemet-react

  • 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. (#5609) (thanks @ssb-cgn) (#5647)

    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

    @digdir/designsystemet · figma-plugin · figma-ui-kit

  • Update npm non-major dependencies (#5613)

    @digdir/designsystemet · @digdir/designsystemet-css · @digdir/designsystemet-react · @digdir/designsystemet-web