Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/material/core/option/option.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ $_side-padding: 16px;
}

&.mdc-list-item--selected:not(.mdc-list-item--disabled) {
.mdc-list-item__primary-text {
@include token-utils.create-token-slot(color, selected-state-label-text-color);
}

// We don't change the background in multiple mode since
// We don't change the background & text color in multiple mode since
// it has the checkbox to show the selected state.
&:not(.mat-mdc-option-multiple) {
@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);
}
}
}

Expand Down
Loading