From b521927865d0efa6fd17d5fc8731c743badc7f67 Mon Sep 17 00:00:00 2001 From: Simon Kovtyk Date: Thu, 21 Nov 2024 15:49:06 +0100 Subject: [PATCH 1/3] fix(tokens): surface container highest hue ref --- src/material/core/tokens/m3/definitions/_md-sys-color.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/core/tokens/m3/definitions/_md-sys-color.scss b/src/material/core/tokens/m3/definitions/_md-sys-color.scss index 81d3638ec619..824159475d2d 100644 --- a/src/material/core/tokens/m3/definitions/_md-sys-color.scss +++ b/src/material/core/tokens/m3/definitions/_md-sys-color.scss @@ -53,7 +53,7 @@ $_default-dark: ( 'surface-bright': map.get($deps, 'md-ref-palette', 'neutral24'), 'surface-container': map.get($deps, 'md-ref-palette', 'neutral12'), 'surface-container-high': map.get($deps, 'md-ref-palette', 'neutral17'), - 'surface-container-highest': map.get($deps, 'md-ref-palette', 'neutral24'), + 'surface-container-highest': map.get($deps, 'md-ref-palette', 'neutral22'), 'surface-container-low': map.get($deps, 'md-ref-palette', 'neutral10'), 'surface-container-lowest': map.get($deps, 'md-ref-palette', 'neutral4'), 'surface-dim': map.get($deps, 'md-ref-palette', 'neutral6'), From 7e3e1897985ed12e16756f5c47427009b19511eb Mon Sep 17 00:00:00 2001 From: Simon Kovtyk Date: Tue, 29 Oct 2024 15:50:47 +0100 Subject: [PATCH 2/3] fix(tokens): hue to palette reference --- src/material/core/tokens/m3/definitions/_md-sys-color.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/core/tokens/m3/definitions/_md-sys-color.scss b/src/material/core/tokens/m3/definitions/_md-sys-color.scss index 824159475d2d..c67bed88c3a8 100644 --- a/src/material/core/tokens/m3/definitions/_md-sys-color.scss +++ b/src/material/core/tokens/m3/definitions/_md-sys-color.scss @@ -80,7 +80,7 @@ $_default-light: ( 'inverse-surface': map.get($deps, 'md-ref-palette', 'neutral20'), 'on-background': map.get($deps, 'md-ref-palette', 'neutral10'), 'on-error': map.get($deps, 'md-ref-palette', 'error100'), - 'on-error-container': map.get($deps, 'md-ref-palette', 'error10'), + 'on-error-container': map.get($deps, 'md-ref-palette', 'error30'), 'on-primary': map.get($deps, 'md-ref-palette', 'primary100'), 'on-primary-container': map.get($deps, 'md-ref-palette', 'primary10'), 'on-primary-fixed': map.get($deps, 'md-ref-palette', 'primary10'), From 407622c493396226ea54fa21b16da531afcbce64 Mon Sep 17 00:00:00 2001 From: Simon Kovtyk Date: Mon, 21 Oct 2024 13:43:43 +0200 Subject: [PATCH 3/3] fix(m3-tokens): wrong hue reference --- src/material/core/tokens/m3/definitions/_md-sys-color.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/material/core/tokens/m3/definitions/_md-sys-color.scss b/src/material/core/tokens/m3/definitions/_md-sys-color.scss index c67bed88c3a8..f4668551305f 100644 --- a/src/material/core/tokens/m3/definitions/_md-sys-color.scss +++ b/src/material/core/tokens/m3/definitions/_md-sys-color.scss @@ -82,18 +82,18 @@ $_default-light: ( 'on-error': map.get($deps, 'md-ref-palette', 'error100'), 'on-error-container': map.get($deps, 'md-ref-palette', 'error30'), 'on-primary': map.get($deps, 'md-ref-palette', 'primary100'), - 'on-primary-container': map.get($deps, 'md-ref-palette', 'primary10'), + 'on-primary-container': map.get($deps, 'md-ref-palette', 'primary30'), 'on-primary-fixed': map.get($deps, 'md-ref-palette', 'primary10'), 'on-primary-fixed-variant': map.get($deps, 'md-ref-palette', 'primary30'), 'on-secondary': map.get($deps, 'md-ref-palette', 'secondary100'), - 'on-secondary-container': map.get($deps, 'md-ref-palette', 'secondary10'), + 'on-secondary-container': map.get($deps, 'md-ref-palette', 'secondary30'), 'on-secondary-fixed': map.get($deps, 'md-ref-palette', 'secondary10'), 'on-secondary-fixed-variant': map.get($deps, 'md-ref-palette', 'secondary30'), 'on-surface': map.get($deps, 'md-ref-palette', 'neutral10'), 'on-surface-variant': map.get($deps, 'md-ref-palette', 'neutral-variant30'), 'on-tertiary': map.get($deps, 'md-ref-palette', 'tertiary100'), - 'on-tertiary-container': map.get($deps, 'md-ref-palette', 'tertiary10'), + 'on-tertiary-container': map.get($deps, 'md-ref-palette', 'tertiary30'), 'on-tertiary-fixed': map.get($deps, 'md-ref-palette', 'tertiary10'), 'on-tertiary-fixed-variant': map.get($deps, 'md-ref-palette', 'tertiary30'), 'outline': map.get($deps, 'md-ref-palette', 'neutral-variant50'),