This website collects cookies to deliver better user experience
Custom colour for angular material components
Custom colour for angular material components
Problem
So, you have an angular material component, say a chip or a button like so:
<button mat-flat-button> Done button>
The designs provided to you show that the background colour of the button should be green and the text should be white.
You frantically search the web for a solution. Look no further !
Solution
In your corresponding styling file (.css or .scss), include the following style selector: