Skip to content

Commit 93b859a

Browse files
cinjaclaude
andcommitted
fix(material/core): use neutral-variant 80 for dark on-surface-variant
The Material color spec maps on-surface-variant in the dark scheme to neutral-variant tone 80. #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. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fcec647 commit 93b859a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/material/core/tokens/m3/_md-sys-color.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
on-secondary-fixed: map.get($palettes, secondary, 10),
2222
on-secondary-fixed-variant: map.get($palettes, secondary, 30),
2323
on-surface: map.get($palettes, neutral, 90),
24-
on-surface-variant: map.get($palettes, neutral-variant, 90),
24+
on-surface-variant: map.get($palettes, neutral-variant, 80),
2525
on-tertiary: map.get($palettes, tertiary, 20),
2626
on-tertiary-container: map.get($palettes, tertiary, 90),
2727
on-tertiary-fixed: map.get($palettes, tertiary, 10),

0 commit comments

Comments
 (0)