v31.2.0
Minor Changes
-
vars: Add light variant foreground colors (#1042)
New foregrounds
The following foregrounds are now available on thevars.foregroundColortheme object:cautionLightinfoLightlinkLightlinkLightVisitedpositiveLightpromoteLight
-
Text: Improve contrast of
caution,positive,info,promoteandlinktones (#1042)When using any of the above tones in a dark container, a lighter colour will be used to improve the text contrast against the background.
Patch Changes
-
OverflowMenu: Use
neutraltone button style (#1042) -
Alert, Card, Toast: Improve highlight keyline (#1042)
Ensures that components using a highlight keyline have the correct border radius and mask their overflow correctly.
-
Alert, Autosuggest, Tag, TextField: Use
neutraltone button style for clear action (#1042) -
Box: Reset background color on
inputandselectelements (#1042)When specifying a
componentofinputorselectthe background color was not being reset, falling through to the user agent styles. Reseting it totransparentto ensure predicatble styles across browsers and colour modes. -
MenuItem, MenuItemLink, MenuItemCheckbox: Use
spanelements internally for more valid HTML. (#1042) -
Loader: Use current text color (#1042)