Skip to content

Commit

Permalink
fix(material/select): match disabled placeholder color with label
Browse files Browse the repository at this point in the history
this commit ensures select with disabled placeholder matches the color with label

fixes angular#29807
  • Loading branch information
naaajii committed Oct 12, 2024
1 parent 371446a commit b125ebc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/material/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ $scale: 0.75 !default;
tokens-mat-select.$prefix, tokens-mat-select.get-token-slots()) {
@include token-utils.create-token-slot(color, disabled-trigger-text-color);
}

.mat-mdc-select-placeholder {
@include token-utils.use-tokens(
tokens-mat-select.$prefix, tokens-mat-select.get-token-slots()) {
@include token-utils.create-token-slot(color, disabled-trigger-text-color);
}
}
}

.mat-mdc-select-trigger {
Expand Down

0 comments on commit b125ebc

Please sign in to comment.