Kyant
04/29/2023, 12:34 PMcontentColorFor()
, when there are two same background colors in a color scheme, it will always return the first content color in both even if we use the second color.
I use contentColorFor(MaterialTheme.colorScheme.surface)
but it gives me onBackground
.Stylianos Gakis
04/29/2023, 2:22 PMbackground
and surface
are the exact same color, wouldn’t it make sense that onBackground
and onSurface
are also the same color?Kyant
04/29/2023, 2:39 PMStylianos Gakis
04/29/2023, 2:44 PMromainguy
04/29/2023, 6:15 PMKyant
04/30/2023, 3:38 AMcontentColor
for all Surface
.background
.