Open nicbell opened 1 year ago
I actually suspect the spec is wrong because %40 will not provide enough contrast to the background, apparently.
I'll check with our designer if the design spec needs to be updated. Thanks for catching this!
Hi,
I checked with the designer and the original design was intended to be light (with 40% opacity). However with our new non-text-contrast requirements coming, our designers are working on a new design of the drag handle that conforms the new contrast requirement.
So the conclusion here is we will keep it as-is for now, until we have the updated design, maybe by the end of Q2 or so.
Thanks for noticing and reporting this. I'll leave this open until we update with the new design.
@drchen Thanks for the update!
Description
Bottom sheet drag handle appears far darker than the Material 3 design docs.
Docs
Specs
I looks like the 40% alpha is missing for the MDC Android implementation. Changing the default style fixes it.
Code
https://github.com/material-components/material-components-android/blob/4046525b20ff81c4f4fef654b9e8f09ffd7f5a81/lib/java/com/google/android/material/bottomsheet/res/values/styles.xml#L92