File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,10 @@ $_side-padding: 16px;
41
41
}
42
42
43
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 ) {
44
+ // Overide selected colors for non disabled list items except:
45
+ // - when active, focused, or hovered so still indicates that state to the user.
46
+ // - multiple mode since it already has the checkbox to show the selected state.
47
+ & :not (.mat-mdc-option-active ,.mat-mdc-option-multiple ,:focus ,:hover ) {
47
48
background-color : token-utils .slot (option-selected-state-layer-color , $fallbacks );
48
49
.mdc-list-item__primary-text {
49
50
color : token-utils .slot (option-selected-state-label-text-color , $fallbacks );
You can’t perform that action at this time.
0 commit comments