I'm a bit confused with the magic of compose regarding LocalContentAlpha. Generally our development workflow is that the designers build screens and define colors for each text.
But now lots of prebuild composables change the LocalContentAlpha which leads to the situation that text colors are always different from what our designers intended. This usually leads to QA reviews like: "Can you check the text color of component a, b and c? It's different from what's in the ardboard".
The only way around that I found so far is to always wrap everything in another
. But that's a lot of overhead and it feels like working against the system.
l
Louis Pullen-Freilich [G]
06/12/2021, 9:23 PM
Does your design system not use alpha for text / icons? It seems strange that you would always want the value to be
high
- different components by design / by specification use different levels of alpha to represent relative emphasis. For example a disabled component with
ContentAlpha.high
text could easily be mistaken for an enabled component
p
Paul Woitaschek
06/12/2021, 9:48 PM
Upon further debugging this I think I don't understand what compose is doing with colors at all.