From c7db4960e16d0f74b0764cfa5be752392e8c30f6 Mon Sep 17 00:00:00 2001 From: Amy Sorto <8575252+amysorto@users.noreply.github.com> Date: Tue, 19 Sep 2023 07:52:11 -0700 Subject: [PATCH] fix(material/list): Emit tokens under mixin root selector (#27711) --- src/material/list/_list-theme.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/material/list/_list-theme.scss b/src/material/list/_list-theme.scss index 0e12d9098e29..b8778dd8c706 100644 --- a/src/material/list/_list-theme.scss +++ b/src/material/list/_list-theme.scss @@ -23,7 +23,7 @@ $mdc-list-color-tokens: tokens-mdc-list.get-color-tokens($theme); // Add values for MDC list tokens. - .mat-mdc-list-base { + @include sass-utils.current-selector-or-root() { @include mdc-list-theme.theme($mdc-list-color-tokens); } @@ -79,7 +79,7 @@ $mdc-list-density-tokens: tokens-mdc-list.get-density-tokens($theme); // Add values for MDC list tokens. - .mat-mdc-list-base { + @include sass-utils.current-selector-or-root() { @include mdc-list-theme.theme($mdc-list-density-tokens); } @@ -119,7 +119,7 @@ $mdc-list-typography-tokens: tokens-mdc-list.get-typography-tokens($theme); // Add values for MDC list tokens. - .mat-mdc-list-base { + @include sass-utils.current-selector-or-root() { @include mdc-list-theme.theme($mdc-list-typography-tokens); }