Skip to content

Commit

Permalink
fix(select,autocomplete): darken selected option
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 angular#6229.
  • Loading branch information
crisbeto committed Aug 7, 2017
1 parent 0850981 commit bef4e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core/option/_option-theme.scss
Original file line number Diff line number Diff line change
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 bef4e76

Please sign in to comment.