Skip to content

Commit

Permalink
fix(chips): incorrect shape custom property names
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 530422478
  • Loading branch information
asyncLiz authored and Copybara-Service committed May 8, 2023
1 parent de2e48d commit 7ce0e25
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions chips/lib/_assist-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down
10 changes: 5 additions & 5 deletions chips/lib/_filter-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down
8 changes: 4 additions & 4 deletions chips/lib/_suggestion-chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down

0 comments on commit 7ce0e25

Please sign in to comment.