Raising Dark Mode Elevation
Raising Dark Mode Elevation
This release is targeted towards creating a better dark mode theme by implementing the full dark theme specs from material design. Just in case this page disappears in the future, basically the idea is to use a base dark background color (#121212
) and apply a white overlay with specific opacities depending on the current elevation.
To ensure backwards compatibility, the new dark theme will need to be opted-in by setting the new variable $rmd-theme-dark-elevation: true;
. You can also check out the all elevations demo with the dark theme enabled on the documentation site to see how this all works.
Current Dark Theme
Improved Dark Theme with Elevation
Bug Fixes
AppBar
text color now defaults tormd-theme-var(text-primary-on-background)
(2c3ea5e)- Booleans in dist/scssVariables (f6d43a3)
- ListItem disabled states (7b37292)
- Scroll active element into view while focusing (a9a0902)
- Tree focused index after expanding all with asterisk (8547629)
- Tree keyboard movement for child items that are expanded (fadddc7)
- Tree scrolling elements into view (eef48dc)