Selected surfaces and cell radius
Add selected surface colors, use opacity in semantic tokens, and migrate the item border radius to cell.
New features
- Added
surface.selectedandprimary.selectedbackground tokens. - Added opacity support for semantic color tokens through
color-mix().
Improvements
- Made surface hover translucent, lightened neutral 100, and aligned the dark tertiary button hover color.
Breaking changes
- Renamed the
itemborder radius token tocell. ReplaceborderRadius.itemwithborderRadius.cellin custom theme configuration,--vortex-border-radius-itemwith--vortex-border-radius-cellin CSS, and Tailwind's--radius-itemtheme variable with--radius-cell(rounded-itembecomesrounded-cell). Regenerate custom themes after upgrading.
Before → After
// Before
borderRadius: { item: { borderRadius: "2xs" } }
// After
borderRadius: { cell: { borderRadius: "2xs" } }
