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 878700d commit aa3bb56Copy full SHA for aa3bb56
src/material/core/option/option.scss
@@ -43,7 +43,7 @@ $_side-padding: 16px;
43
&.mdc-list-item--selected:not(.mdc-list-item--disabled) {
44
// We don't change the background & text color in multiple mode since
45
// it has the checkbox to show the selected state.
46
- &:not(.mat-mdc-option-multiple) {
+ &:not(.mat-mdc-option-active,.mat-mdc-option-multiple,:focus,:hover) {
47
background-color: token-utils.slot(option-selected-state-layer-color, $fallbacks);
48
.mdc-list-item__primary-text {
49
color: token-utils.slot(option-selected-state-label-text-color, $fallbacks);
0 commit comments