Skip to content

Commit

Permalink
fix(material/toolbar): Update icon button color to match label text c…
Browse files Browse the repository at this point in the history
…olor token
  • Loading branch information
amysorto committed Jan 7, 2025
1 parent 980f9ba commit c0be42b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material/toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ $height-mobile-portrait: 56px !default;
@include token-utils.use-tokens(
tokens-mat-toolbar.$prefix, tokens-mat-toolbar.get-token-slots()) {
$color-token: token-utils.get-token-variable(container-text-color);
// Update icon button color to match label text color for consistency while overriding.
--mdc-icon-button-icon-color: $color-token;
}

@include token-utils.use-tokens(
Expand Down

0 comments on commit c0be42b

Please sign in to comment.