# @nl-rvo/design-tokens

## 2.5.2

### Patch Changes

- 38d8844: feat(form-fieldset): clean up fieldset styling and add border-radius utilities

  Removes background colour, padding, and border radius from `rvo-form-fieldset`.
  Those visual responsibilities now belong to the wrapping element, composable via
  existing utilities (`rvo-bg--grijs-100`, `rvo-padding--xl`, `rvo-layout-column`,
  `rvo-layout-gap--xl`, `rvo-border-start-end-radius--2xl`). Also resets browser
  defaults (`min-inline-size`, `padding`, `margin`) and adds a `legend-gap` token
  to control the spacing between the legend and the first field independently of the
  field-to-field gap.

  Adds `rvo-border-radius--{sm|md|lg|xl|2xl}` for uniform border radius and
  `rvo-border-{start-start|start-end|end-start|end-end}-radius--{size}` for
  per-corner logical-property variants to `utility-border`.

  Also fixes a bug where the form-field description element was always rendered as
  an empty `<div>` even when no `helperText` or `expandableHelperText` was provided.

- be7d61a: refactor(tabs): use component tokens for sizes and remove var fallbacks

  The tabs SCSS referenced common tokens directly for the sm, md and lg sizes and used invalid fallback values in `var()`. Added the component tokens `--rvo-tabs-sm-*`, `--rvo-tabs-md-*` and `--rvo-tabs-lg-*` for font size and gap, which reference the common tokens, and removed all fallbacks. Visual output is unchanged.

- 8a4ae9a: fix(button, link): reduce icon-text gap from 12px to 8px

  The gap between icon and adjacent text in the button and link components has been reduced from `--rvo-space-sm` (12px) to `--rvo-space-xs` (8px). This applies to all button variants with icons and to link elements using `.rvo-link__text` or `.rvo-link--with-icon`.

## 2.5.1

### Patch Changes

- d0debaf: fix(button, link): replace focus ring with underline, align hover/focus styles

  All button variants now show a 4px underline on focus instead of the Utrecht focus ring. Solid variants (primary, secondary, quaternary, warning) use their existing text color for the underline. Subtle, tertiary, and warning-subtle keep their base colors (donkerblauw, hemelblauw, rood) on focus and when hovering a focused button. Hover also adds a 2px underline for all variants without changing background or text color.

  The link component now uses a text-underline-offset of 25% at all states (base, hover, active, focus). This ensures the underline remains visible even with descender-heavy text — without sufficient offset the line was hidden behind characters like g, j, and y.

- 5fc9b29: fix(link): update call-to-action style and token values

  Add font-size (18px) and bold font-weight to the call-to-action variant. Remove Utrecht focus outline in favour of text-decoration underline. Fix outline variant hover colors to use `rvo.color.violet` instead of `rvo.color.violet-750`.

## 2.5.0

### Minor Changes

- b4c00c9: Add outline call-to-action variant to Link component

  - New `call-to-action-outline` variant with white background and violet text/border, for use alongside the existing `call-to-action` variant
  - Tokens follow the `--rvo-link-call-to-action-outline-*` naming pattern

### Patch Changes

- ac29549: Improve focus visibility and add focus trap to mobile menu

  - Add focus state to mobile menu toggle button
  - Add focus state to mobile menu links
  - Add focus state to dialog close button
  - Add focus trap to dialog component
  - Add `--rvo-mobile-menu-toggle-focus-color` design token
  - Add `--rvo-mobile-menu-item-link-focus-color` design token
  - Add `--rvo-focus-color` common design token

- 084a230: Ensure package is published with provenance

## 2.4.2

### Patch Changes

- 65d3db8: Semibold font-weight changed from 500 to 625
- 77a7bb4: Fix alert background colours to use the correct tint (level 150): info to hemelblauw-150, warning to donkergeel-150 and success to groen-150 according to Rijkshuisstijl guidelines.

## 2.4.1

### Patch Changes

- e326332: Added focus states to mobile menu toggle button and links.

## 2.4.0

### Minor Changes

- 8c0a7f8: Update related utrecht css packages.

### Patch Changes

- 34bcb9f: Change the alert background color from rood-300 to rood-150

## 2.3.0

### Minor Changes

- 2ed4a39: Add new color "Violet".

## 2.2.0

### Minor Changes

- 8f77b41: New option for image (overlay) lines.
- a8c9e6f: Hero tokens expanded with kind option and lined design

### Patch Changes

- cc69b9b: Fixed padding for items in menubar and submenu to be equal and be inline

## 2.1.0

### Minor Changes

- 5442d67: Update Button Design tokens

## 2.0.1

### Patch Changes

- cde2fed: Update Label design tokens

## 2.0.0

### Major Changes

- dae7f09: design token and css name changes from logoblauw to lintblauw

## 1.12.0

### Minor Changes

- da7c279: Add a new StyleDictionary formatter to split RVO color variables into a single file colors.js and colors.scss.

## 1.11.0

### Minor Changes

- de17b9d: Added 48px option to sizes
- bd606c5: Added 48px as an options for spacing
- 68464fd: Added a new Quote Component

### Patch Changes

- c3a7f35: Update design-tokens

## 1.10.0

### Minor Changes

- cf7f2bb: Change the color of the --utrecht-heading variable when the inverted mode is active.
- f12ce99: isPill property added to tag component

### Patch Changes

- d1f32d9: Update design token for tag
- 23ea461: button css fixes

## 1.9.1

### Patch Changes

- fec3bba: Updated Feedback components design tokens and CSS

## 1.9.0

### Minor Changes

- 0cffc4f: New experimental expandable table component

## 1.8.0

### Minor Changes

- d9727b9: Table columns now have a optional size field allowing for default set widths

## 1.7.4

### Patch Changes

- 8ebb0f5: Added a designtoken for footer mobile gap

## 1.7.3

### Patch Changes

- 122e26a: Added themes and metadata to figmatokens files

## 1.7.2

### Patch Changes

- d3ab80f: Fix designtoken figma generator

## 1.7.1

### Patch Changes

- 97006ea: Updated the design tokens for subtle warning buttons

## 1.7.0

### Minor Changes

- defcc74: Implemented design tokens for counter badge

### Patch Changes

- 063f199: Changed the header border color from grijs-500 to grijs-300

## 1.6.3

### Patch Changes

- ba6a672: Fixed table header issues and design tokens updated

## 1.6.2

### Patch Changes

- 6299e11: Made Hero subtitle normal instead of italic

## 1.6.1

### Patch Changes

- a498e7d: Made Hero subtitle normal instead of italic

## 1.6.0

### Minor Changes

- 6c75ec9: Improved Table styling

## 1.5.2

### Patch Changes

- 6451d00: Fixed quaternary color for button

## 1.5.1

### Patch Changes

- 7b74d2d: Reverted Dialog padding to md

## 1.5.0

### Minor Changes

- c56b5ac: Used a Dialog component in mobile Menubar (so include dialog css when updating)

### Patch Changes

- 8a742a2: Reverted Dialog padding to md
- c56b5ac: Set default padding of Dialog to 2xl, and only flex content if there is an action group

## 1.4.6

### Patch Changes

- 8fccd6c: Fixed subitem rendering in mobile Menubar

## 1.4.5

### Patch Changes

- f966df8: Fixed subitem rendering in mobile Menubar

## 1.4.4

### Patch Changes

- 19e94e5: Add max-width design token for Dialog component (drawer variants)

## 1.4.3

### Patch Changes

- e86c11d: Added proper textbox size (xs/sm/md/lg/max)

## 1.4.2

### Patch Changes

- 083aef3: Made warning button hover text color black
- 083aef3: Fixed switchup between 'hemelblauw' and 'logoblauw' colors

## 1.4.1

### Patch Changes

- c6c0a45: Added Accordion item title color as a design token

## 1.4.0

### Minor Changes

- aa230ad: Added paragraph component

## 1.3.2

### Patch Changes

- 043106d: Changed 'optioneel' to 'niet verplicht'

## 1.3.1

### Patch Changes

- 0a14f60: Added Hero content box as a separate div and class (not h1)

## 1.3.0

### Minor Changes

- fc69881: Renamed expandable-text to expandable-content

## 1.2.1

### Patch Changes

- 9305de7: Removed accordion teaser padding block start

## 1.2.0

### Minor Changes

- edb1cab: Added design tokens for Tab component
