This is a strange choice, considering that the guide has a very strong discouragement against emulating shadows…
This is a strange choice, considering that the guide has a very strong discouragement against emulating shadows…
> In a dark theme, components retain the same default elevation levels and shadows as components in lighter themes
It looks pretty good in the examples they give IMO. Considering that the default makes such heavy use of elevation it makes sense to keep that concept in the UI.
> Default themes use shadows to express elevation, while a dark theme also expresses elevation by adjusting the surface
What works for me in this case is a Sass mixin which accepts a layer as an integer in the range 1-N and casts a shadow based on that layer and the total depth N. Consistency is key.
[0] https://material.io/design/environment/light-shadows.html#sh...
[1] https://material.io/design/environment/elevation.html#depict...