Skip to content

Commit 3f37137

Browse files
authored
fix(core): update incorrect hue reference tokens (angular#29902)
* fix(tokens): surface container highest hue ref * fix(tokens): hue to palette reference * fix(m3-tokens): wrong hue reference
1 parent 7abd0eb commit 3f37137

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $_default-dark: (
5353
'surface-bright': map.get($deps, 'md-ref-palette', 'neutral24'),
5454
'surface-container': map.get($deps, 'md-ref-palette', 'neutral12'),
5555
'surface-container-high': map.get($deps, 'md-ref-palette', 'neutral17'),
56-
'surface-container-highest': map.get($deps, 'md-ref-palette', 'neutral24'),
56+
'surface-container-highest': map.get($deps, 'md-ref-palette', 'neutral22'),
5757
'surface-container-low': map.get($deps, 'md-ref-palette', 'neutral10'),
5858
'surface-container-lowest': map.get($deps, 'md-ref-palette', 'neutral4'),
5959
'surface-dim': map.get($deps, 'md-ref-palette', 'neutral6'),
@@ -80,20 +80,20 @@ $_default-light: (
8080
'inverse-surface': map.get($deps, 'md-ref-palette', 'neutral20'),
8181
'on-background': map.get($deps, 'md-ref-palette', 'neutral10'),
8282
'on-error': map.get($deps, 'md-ref-palette', 'error100'),
83-
'on-error-container': map.get($deps, 'md-ref-palette', 'error10'),
83+
'on-error-container': map.get($deps, 'md-ref-palette', 'error30'),
8484
'on-primary': map.get($deps, 'md-ref-palette', 'primary100'),
85-
'on-primary-container': map.get($deps, 'md-ref-palette', 'primary10'),
85+
'on-primary-container': map.get($deps, 'md-ref-palette', 'primary30'),
8686
'on-primary-fixed': map.get($deps, 'md-ref-palette', 'primary10'),
8787
'on-primary-fixed-variant': map.get($deps, 'md-ref-palette', 'primary30'),
8888
'on-secondary': map.get($deps, 'md-ref-palette', 'secondary100'),
89-
'on-secondary-container': map.get($deps, 'md-ref-palette', 'secondary10'),
89+
'on-secondary-container': map.get($deps, 'md-ref-palette', 'secondary30'),
9090
'on-secondary-fixed': map.get($deps, 'md-ref-palette', 'secondary10'),
9191
'on-secondary-fixed-variant':
9292
map.get($deps, 'md-ref-palette', 'secondary30'),
9393
'on-surface': map.get($deps, 'md-ref-palette', 'neutral10'),
9494
'on-surface-variant': map.get($deps, 'md-ref-palette', 'neutral-variant30'),
9595
'on-tertiary': map.get($deps, 'md-ref-palette', 'tertiary100'),
96-
'on-tertiary-container': map.get($deps, 'md-ref-palette', 'tertiary10'),
96+
'on-tertiary-container': map.get($deps, 'md-ref-palette', 'tertiary30'),
9797
'on-tertiary-fixed': map.get($deps, 'md-ref-palette', 'tertiary10'),
9898
'on-tertiary-fixed-variant': map.get($deps, 'md-ref-palette', 'tertiary30'),
9999
'outline': map.get($deps, 'md-ref-palette', 'neutral-variant50'),

0 commit comments

Comments
 (0)