Repository navigation
Nothing to change in your code unless you use tone="brand", which arrived in 2.9.1. Outside that tone every new prop and token is opt-in, and unset everything looks as in 2.9.1.
Basic users: 2.9.1 was not published on npm, so this is the first Basic version with the 2.9.1 changes. They are listed at the end.
Changed (tone="brand" only)
- MSurface and MCard: no frame by default,
outlinedrestores it. MCardFinance on brand has no border.
Fixed
- Form fields on
tone="brand"follow the on-colour in both themes, so inputs no longer show white on white. The scope overrides--mineral-input-bg,--mineral-option-*-bgand--mineral-neutral-rgb. Portaled popovers keep the theme. - Badges in the brand scope always use the on-colour and ignore
--mineral-badge-text-*.
Added
- MCardHeader: new
actionslot at the end of the header, with theMCardHeaderPropstype. --mineral-surface-brand-action-bgand--mineral-surface-brand-action-textset the filled buttons in the brand scope.--mineral-table-body-bgon MDataTable, also for tables on brand in the light theme.--mineral-tabs-accent-rgbon MTabs sets the active tab, hover and focus.--mineral-sidebar-item-hover-bgand--mineral-sidebar-item-hover-texton MSidebar.
Note: padded outranks px and py on every tone, so use padded={false} with them.
Also in this version for Basic (from 2.9.1)
- MReveal: elements taller than five viewports never showed. They now also reveal once they cross the viewport centre.
- MBottomNav: new fixed app navigation bar for phones, with MAppShell support through a direct child or the
bottomNavslot. - MSurface, MCard and MCardFinance:
tone="brand", set with--mineral-surface-brand-bgand--mineral-surface-brand-on-rgb. --mineral-card-finance-bg,--mineral-card-widget-bg,--mineral-card-tile-bgand--mineral-stat-value-color.
Full list with defaults: https://mineralui.io/docs/theming