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 6, 2017
1 parent 0850981 commit 413bdc0
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: rgba(mat-color($background, hover), 0.12);
}

&.mat-active {
Expand Down

0 comments on commit 413bdc0

Please sign in to comment.