What text color property from the MaterialTheme can I use on this background color? I don't want to hardcode Black.
(That's the default background of a LinearProgressIndicator)
Does
onBackground
make sense?
a
Anastasia Rozovskaya
08/18/2021, 4:40 PM
If it suits your design, yes.
Additionally, you can implement your custom theme based on material theme, if you’ll encounter many places where a custom color (or typography) should be applied.
f
Florian
08/18/2021, 4:43 PM
@Anastasia Rozovskaya Thanks! I guess
onBackground
makes sense considering that the progressbar background is very transparent