From 7ce0e256b2432f3a5f696d75fa64010786bd79d7 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Mon, 8 May 2023 15:23:17 -0700 Subject: [PATCH] fix(chips): incorrect shape custom property names PiperOrigin-RevId: 530422478 --- chips/lib/_assist-chip.scss | 8 ++++---- chips/lib/_filter-chip.scss | 10 +++++----- chips/lib/_suggestion-chip.scss | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/chips/lib/_assist-chip.scss b/chips/lib/_assist-chip.scss index d6a5217e0e..e510906750 100644 --- a/chips/lib/_assist-chip.scss +++ b/chips/lib/_assist-chip.scss @@ -42,19 +42,19 @@ // Support logical shape properties --_container-shape-start-start: var( - --md-checkbox-shape-start-start, + --md-assist-chip-container-shape-start-start, var(--_container-shape) ); --_container-shape-start-end: var( - --md-checkbox-shape-start-end, + --md-assist-chip-container-shape-start-end, var(--_container-shape) ); --_container-shape-end-end: var( - --md-checkbox-shape-end-end, + --md-assist-chip-container-shape-end-end, var(--_container-shape) ); --_container-shape-end-start: var( - --md-checkbox-shape-end-start, + --md-assist-chip-container-shape-end-start, var(--_container-shape) ); } diff --git a/chips/lib/_filter-chip.scss b/chips/lib/_filter-chip.scss index 27a1faff35..ccc79377d9 100644 --- a/chips/lib/_filter-chip.scss +++ b/chips/lib/_filter-chip.scss @@ -38,24 +38,24 @@ :host { @each $token, $value in $tokens { - --_#{$token}: #{$value}; + --_#{$token}: var(--md-filter-chip-#{$token}, #{$value}); } // Support logical shape properties --_container-shape-start-start: var( - --md-checkbox-shape-start-start, + --md-filter-chip-container-shape-start-start, var(--_container-shape) ); --_container-shape-start-end: var( - --md-checkbox-shape-start-end, + --md-filter-chip-container-shape-start-end, var(--_container-shape) ); --_container-shape-end-end: var( - --md-checkbox-shape-end-end, + --md-filter-chip-container-shape-end-end, var(--_container-shape) ); --_container-shape-end-start: var( - --md-checkbox-shape-end-start, + --md-filter-chip-container-shape-end-start, var(--_container-shape) ); } diff --git a/chips/lib/_suggestion-chip.scss b/chips/lib/_suggestion-chip.scss index b53c432f26..68618920a3 100644 --- a/chips/lib/_suggestion-chip.scss +++ b/chips/lib/_suggestion-chip.scss @@ -42,19 +42,19 @@ // Support logical shape properties --_container-shape-start-start: var( - --md-checkbox-shape-start-start, + --md-suggestion-chip-container-shape-start-start, var(--_container-shape) ); --_container-shape-start-end: var( - --md-checkbox-shape-start-end, + --md-suggestion-chip-container-shape-start-end, var(--_container-shape) ); --_container-shape-end-end: var( - --md-checkbox-shape-end-end, + --md-suggestion-chip-container-shape-end-end, var(--_container-shape) ); --_container-shape-end-start: var( - --md-checkbox-shape-end-start, + --md-suggestion-chip-container-shape-end-start, var(--_container-shape) ); }