Angular Material - additional color palettes

I'm using Angular Material ( https://material.angular.io/ ) and have successfully changed my color palettes. Unfortunately, I need more palettes inside my theme than the three (primary, accent, warning) that I get by default.

I would like to create my components like this:

<md-checkbox color="warn"></md-checkbox>
<md-checkbox color="secondary"></md-checkbox>
<md-checkbox color="customName"></md-checkbox>

      

How can this be achieved?

+3


source to share





All Articles