0.28.0
Button colors from Figma, a link variant, and icon sizes that apply
Button and ActionIcon take their colors from the Figma V3 Button set, with the same hover on every palette and disabled states drawn in the palette's tints. Button gains a link variant. Icon size classes now apply inside ActionIcon, Button and ThemeIcon, and ActionIcon's icons follow Button's scale. Badges get even padding with their caps centred.
Spotlight
Buttons from Figma
Every variant in every palette now follows the Figma V3 Button set at rest, and every palette's hover steps up the way neutral's does. Disabled buttons use the palette's tints instead of fading to 50%. The new link variant is underlined text with no height or padding, so it sits in a line of prose.
Changes
1 breaking change
- Button, ActionIcon:
Button and ActionIcon read their own
--btn-*slots incolors.css; overriding--c-*no longer restyles them
1added
3changed
2fixed
- breaking1
- ButtonActionIcon#458
Button and ActionIcon read their own
--btn-*slots incolors.css; overriding--c-*no longer restyles them - added1
- Button#458
variant="link": underlined text with no height or padding, so it sits in a line of prose - changed3
- ButtonActionIcon#458
Colors follow the Figma V3 Button set, and every palette's hover steps up the way neutral's does
- ButtonActionIcon#458
Disabled uses the palette's tints instead of 50% opacity
- ActionIcon#460
Default icons follow Button's scale, 12–24px (was 20–32px)
- fixed2
- ActionIconButtonThemeIcon#460
A size class on the icon (
className="size-5") now wins over the component's default - Badge#459
The same visible padding on all four sides, and caps centred vertically