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
Joel Denke
02/14/2024, 10:25 AM
Wrap MaterialTheme with your own and extend. Or create a new extension on MaterialTheme.colorTheme.surfaceVariant = Color.something 🙂
v
Vlad
02/14/2024, 10:27 AM
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
Sean Proctor
02/15/2024, 7:20 PM
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.