Fixed
Status Update
Comments
cl...@google.com <cl...@google.com>
ja...@google.com <ja...@google.com> #3
Thanks for the report!
lp...@google.com <lp...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
ap...@google.com <ap...@google.com> #5
deleted
Description
Column {
ProvideEmphasis(emphasis = EmphasisAmbient.current.medium) {
Log.d("jalc", ContentColorAmbient.current.alpha.toString())
Text("This should be medium")
ProvideEmphasis(emphasis = EmphasisAmbient.current.high) {
Log.d("jalc", ContentColorAmbient.current.alpha.toString())
Text("This should be high")
ProvideEmphasis(emphasis = EmphasisAmbient.current.disabled) {
Log.d("jalc", "Disabled " + ContentColorAmbient.current.alpha.toString())
Text("This should be disabled")
}
}
}
}
They all print the same value, 0.6
Expected: receive the parent's value each time.