What text color property from the MaterialTheme ca...
# compose
f
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
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
@Anastasia Rozovskaya Thanks! I guess
onBackground
makes sense considering that the progressbar background is very transparent
🙂 1