We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8e998 commit 11f02eeCopy full SHA for 11f02ee
src/material/core/option/option.scss
@@ -42,14 +42,13 @@ $_side-padding: 16px;
42
}
43
44
&.mdc-list-item--selected:not(.mdc-list-item--disabled) {
45
- .mdc-list-item__primary-text {
46
- @include token-utils.create-token-slot(color, selected-state-label-text-color);
47
- }
48
-
49
- // We don't change the background in multiple mode since
+ // We don't change the background & text color in multiple mode since
50
// it has the checkbox to show the selected state.
51
&:not(.mat-mdc-option-multiple) {
52
@include token-utils.create-token-slot(background-color, selected-state-layer-color);
+ .mdc-list-item__primary-text {
+ @include token-utils.create-token-slot(color, selected-state-label-text-color);
+ }
53
54
55
0 commit comments