Describe the bugon-surface in dark mode is mapped to the same color as on-surface-variant. This means that, in dark mode, there is no longer a difference in emphasis between the two, leading to inaccurate mockups.
To reproduce
Steps to reproduce the behavior:
Apply on-surface and on-surface-variant side by side in light mode. Observe that they have different colors.
Switch the theme to dark mode.
Observe that they are now the same color.
Expected behavioron-surface and on-surface-variant would be visually different. We can see how that would look by applying on-background to the first star, which is mapped to the proper color.
Screenshots of the error
Additional context
This is solely a plugin issue. On the latest alpha release of Jetpack Compose M3, the tokens are mapped correctly and in dark mode, on-surface and on-surface-variant do differ.
Describe the bug
on-surface
in dark mode is mapped to the same color ason-surface-variant
. This means that, in dark mode, there is no longer a difference in emphasis between the two, leading to inaccurate mockups.To reproduce Steps to reproduce the behavior:
on-surface
andon-surface-variant
side by side in light mode. Observe that they have different colors.Expected behavior
on-surface
andon-surface-variant
would be visually different. We can see how that would look by applyingon-background
to the first star, which is mapped to the proper color.Screenshots of the error![image](https://github.com/material-foundation/material-theme-builder/assets/17130024/b6967cbe-96fa-4359-afeb-a1a2937df35a)
Additional context This is solely a plugin issue. On the latest alpha release of Jetpack Compose M3, the tokens are mapped correctly and in dark mode,
on-surface
andon-surface-variant
do differ.