Commit d0cb077
fix(menu): Set menu-item icon color only when not set on mat-icon (#8614)
* fix(menu): Set menu-item icon color if not set on mat-icon
Set the theme icon color only if the `color` input property was not set on the `mat-icon` component.
Fixes #8594
* mat-menu-item with mat-icon[color] unit tests
Add unit tests for setting the mat-icon[color] attribute on a menu item
* Make ItemIconColorsMenu more clear
Related to #8594
* Fix linting issues
* Fix linting
* Removed "CSS engine tests"1 parent e939ea7 commit d0cb077
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments