Steven Yang
03/11/2025, 7:46 AMLocalContentColor
in app development is a good practice?
I know that Compose/Material3 is heavily using this, but because of its implicitness from CompositionLocal
I don't think it's a good idea to overriding it a lot in app.
Just had a conversation with my college and I think except the global or high level (like a screen) theme, or there’s a clear need to change the existing theme in certain scope, we should avoid using it and instead explicitly specify the component’s properties to improve the readability of the app code.
What's your opinion?Stylianos Gakis
03/11/2025, 7:55 AMZoltan Demant
03/11/2025, 9:12 AMAlbert Chang
03/11/2025, 9:42 AM