Skip to content

Commit

Permalink
fix(select,autocomplete): darken selected option (#6302)
Browse files Browse the repository at this point in the history
Darkens the selected option background in order to distinguish it from the ones that are focused or hovered.

Fixes #6229.
  • Loading branch information
crisbeto authored and mmalerba committed Aug 8, 2017
1 parent 7626c51 commit 504b5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/option/_option-theme.scss
Expand Up @@ -30,7 +30,7 @@

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

&.mat-active {
Expand Down

0 comments on commit 504b5df

Please sign in to comment.