fix(menu): unable to set icon color dynamically (#14161)

Fixes not being able to set the color of a `mat-icon` inside a `mat-menu-item` dynamically.

Fixes #14151.
This commit is contained in:
Kristiyan Kostadinov
2018-12-04 22:37:23 +01:00
committed by mmalerba
parent c5be8d32fc
commit 48e4f65187
+1 -1
View File
@@ -24,7 +24,7 @@
}
}
.mat-menu-item .mat-icon:not([color]),
.mat-menu-item .mat-icon:not(.mat-primary):not(.mat-accent):not(.mat-warn),
.mat-menu-item-submenu-trigger::after {
color: mat-color($foreground, 'icon');
}