We have surfaceVariant color in m3 compose theme i...
# compose
v
We have surfaceVariant color in m3 compose theme implementation:
Copy code
surfaceVariant: Color = ColorLightTokens.SurfaceVariant
But such color doesn't exist in M3 color theme specs?
j
Wrap MaterialTheme with your own and extend. Or create a new extension on MaterialTheme.colorTheme.surfaceVariant = Color.something 🙂
v
Well that doesn't resolve an issue that the designers use the schema from the specs and they have no clue such color exists
s
I think it's from an older version of the spec. It seems to have been replaced by surface container highest. So you can use whatever the designers gave you for surface container highest.