Repository navigation
Patch Changes
-
base-contrast-defaultis now chosen so it has enough contrast against bothbase-defaultandbase-hover, not onlybase-default. Some mid-tone colors get black instead of white, mostly in dark mode, andbase-contrast-subtlefollows the same direction. (#5623)@digdir/designsystemet -
config: A theme with exactly three colors named
main,supportandneutralis 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-andbrand--2are rejected;brand-2is still valid. (#5633)@digdir/designsystemet -
Re-export custom element types from
@digdir/designsystemet-web(DSErrorSummaryElement,DSFieldElementetc.) (#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/313 → 14 size/627 → 28 size/941 → 42 size/1255 → 56 size/1569 → 70 size/1883 → 84 size/30139 → 140 @digdir/designsystemet·@digdir/designsystemet-css·figma-plugin·figma-ui-kit -
Tabs: Use
DSTabsElementinstead ofDSTabElementas the type forrefand props on the rootTabscomponent. (#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/111 → 11 13 → 14 font-size/213 → 12 16 → 16 font-size/314 → 14 18 → 19 font-size/416 → 16 21 → 21 font-size/518 → 19 24 → 25 font-size/621 → 21 30 → 28 font-size/724 → 27 36 → 35 font-size/830 → 32 48 → 42 font-size/936 → 43 60 → 56 font-size/1048 → 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