Skip to content

Commit

Permalink
fix(material/select): match disabled placeholder color with label (#2…
Browse files Browse the repository at this point in the history
…9870)

this commit ensures select with disabled placeholder matches the color with label

fixes #29807

(cherry picked from commit 306e437)
  • Loading branch information
naaajii authored and wagnermaciel committed Jan 13, 2025
1 parent 6ca21fd commit a3d9e4b
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 a3d9e4b

Please sign in to comment.