From 504b5df88d232d8fd85418e077aa2f22c9bfc1f0 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Tue, 8 Aug 2017 22:20:23 +0200 Subject: [PATCH] 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. --- src/lib/core/option/_option-theme.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/option/_option-theme.scss b/src/lib/core/option/_option-theme.scss index 6a2a0fdb258..527406222d2 100644 --- a/src/lib/core/option/_option-theme.scss +++ b/src/lib/core/option/_option-theme.scss @@ -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 {