Skip to content

fix(material/core): use neutral-variant 80 for dark on-surface-variant - #34135

Open
cinja wants to merge 1 commit into
angular:mainfrom
cinja:fix/dark-on-surface-variant
Open

cinja wants to merge 1 commit into
angular:mainfrom
cinja:fix/dark-on-surface-variant

Conversation

@cinja

@cinja cinja commented Nov 13, 2026

Copy link
Copy Markdown

Maps on-surface-variant in the dark scheme back to neutral-variant tone 80, matching material-color-utilities, the material-web tokens and the output of the theme-color schematic.

#29655 changed this value to tone 90 based on a Theme Builder label that did not match the rendered color (material-foundation/material-theme-builder#301). #29902 already reverted another change from that PR, which was based on a mislabeled swatch as well.

Fixes #34134

🤖 Generated with Claude Code

@pullapprove
pullapprove Bot requested review from andrewseguin and ok7sai November 13, 2026 13:44
@google-cla

google-cla Bot commented Nov 13, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

The Material color spec maps on-surface-variant in the dark scheme to
neutral-variant tone 80. angular#29655 changed it to tone 90 based on a Theme
Builder screenshot whose label was wrong (material-theme-builder#301),
which makes on-surface-variant identical in tone to on-surface.
@cinja
cinja force-pushed the fix/dark-on-surface-variant branch from 93b859a to 2eeed4e Compare November 13, 2026 13:57

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(material/core): dark on-surface-variant uses neutral-variant 90 instead of 80

1 participant