Search code examples
angularangular-material2

How to change color of radio button in angular material 2


I'm struggling with the next problem. I'm trying to change the color of the angular material 2 radio button on PROPER way, without overriding css. By default, it uses accent color of the material theme, but I want to use the primary.

Other components have color property like checkbox, button, etc...

Thanks in advance.


Solution

  • In case anyone else stumbles across this issue, you can now use the color property on MatRadioButton components. Here is the link to the GitHub issue where I was corrected: