hey, what is the recommended approach (if any) to ...
# compose
f
hey, what is the recommended approach (if any) to model the color of enabled/disabled states for a specific
Typography
? in the previous theming system we relied in
color selectors
. I guess there is nothing equivalent in Compose.
n
Copy code
val emphasis = AmbientEmphasisLevels.current
ProvideEmphasis(if (enabled) emphasis.high else emphasis.disabled) {
  Text(…)
}
n
@nickbutcher is this the same?
Copy code
val emphasis = EmphasisAmbient.current
n
f
thanks!