Skip to content

Commit 306e437

Browse files
authored
fix(material/select): match disabled placeholder color with label (angular#29870)
this commit ensures select with disabled placeholder matches the color with label fixes angular#29807
1 parent 59a7985 commit 306e437

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/material/select/select.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ $scale: 0.75 !default;
4141
tokens-mat-select.$prefix, tokens-mat-select.get-token-slots()) {
4242
@include token-utils.create-token-slot(color, disabled-trigger-text-color);
4343
}
44+
45+
.mat-mdc-select-placeholder {
46+
@include token-utils.use-tokens(
47+
tokens-mat-select.$prefix, tokens-mat-select.get-token-slots()) {
48+
@include token-utils.create-token-slot(color, disabled-trigger-text-color);
49+
}
50+
}
4451
}
4552

4653
.mat-mdc-select-trigger {

0 commit comments

Comments
 (0)