fix(chips): invert focus overlay on dark theme (#14204)

Similarly to `mat-button`, inverts the focus overlay color on a dark theme. Currently we always use an opaque black which can be mistaken for the disabled color on dark themes.
This commit is contained in:
Kristiyan Kostadinov
2018-11-27 16:25:38 +01:00
committed by Jeremy Elbourn
parent 66b6c97bf7
commit 89a4c9cbe1
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -50,10 +50,13 @@ $mat-chip-remove-font-size: 18px;
&.mat-chip-disabled {
opacity: 0.4;
}
&::after {
background: map_get($foreground, base);
}
}
.mat-chip.mat-standard-chip.mat-chip-selected {
&.mat-primary {
@include mat-chips-theme-color($primary);
}
-1
View File
@@ -57,7 +57,6 @@ $mat-chip-remove-size: 18px;
&::after {
@include mat-fill;
border-radius: inherit;
background-color: black;
opacity: 0;
content: '';
pointer-events: none;