app/assets/stylesheets/material_design/navigation.css in material_design-0.2.0 vs app/assets/stylesheets/material_design/navigation.css in material_design-0.2.1
- old
+ new
@@ -1,12 +1,18 @@
.navigation-drawer {
display: flex;
width: 360px;
+ min-height: 100vh;
padding: 12px;
flex-direction: column;
align-items: flex-start;
border-radius: 16px;
- background: var(--md-sys-light-surface-container-low);
+ @media (prefers-color-scheme: light) {
+ background: var(--md-sys-light-surface-container-low);
+ }
+ @media (prefers-color-scheme: dark) {
+ background: var(--md-sys-dark-surface-container-low);
+ }
}
.navigation-drawer__headline {
display: flex;
height: 56px;