Skip to content

Commit 504b5df

Browse files
crisbetommalerba
authored andcommitted
fix(select,autocomplete): darken selected option (#6302)
Darkens the selected option background in order to distinguish it from the ones that are focused or hovered. Fixes #6229.
1 parent 7626c51 commit 504b5df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core/option/_option-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
// In multiple mode there is a checkbox to show that the option is selected.
3232
&.mat-selected:not(.mat-option-multiple) {
33-
background: mat-color($background, hover);
33+
background: mat-color($background, hover, 0.12);
3434
}
3535

3636
&.mat-active {

0 commit comments

Comments
 (0)