Pablichjenkov
07/18/2025, 8:11 PMval colorModifier = Modifier.background(CustomColor)
in a Surface
Surface(modifier = colorModifier) {...}
Show a different color than in a Box
Box(modifier = colorModifier) {...}
Not sure what could be the reason behind it but I am having this behavior where the color on the surface looks a bit more whitish. For a bit more context. It is a Composable very deep in the Composable tree, a leaf in the tree basically.Sergey Y.
07/18/2025, 8:20 PMPablichjenkov
07/18/2025, 8:30 PMZach Klippenstein (he/him) [MOD]
07/19/2025, 2:11 PMZach Klippenstein (he/him) [MOD]
07/19/2025, 2:11 PMJobby
07/20/2025, 1:54 PMNitesh Singh
07/21/2025, 11:31 AMPablichjenkov
07/21/2025, 1:44 PMNitesh Singh
07/22/2025, 8:22 AM