DEV Community

Discussion on: Extending Angular Material Theme System: Additional Palettes

Collapse
pedy711 profile image
pedy711

nice article, I want to change the color of "mat-icon" by overriding "$mat-light-theme-foreground" variable inside "_theming.scss", but after changing the value for "icon" or "icons" nothing happen. But when I change the "text" value, then all texts and icons colors change which is not intended. I just need to change the icon color. Like below:

$mat-light-theme-foreground {
icon: green,
icons: green,
}