Angular Material - All acceptable arguments for `mat-palette()`

1.3k Views Asked by At

In the Angular Material custom theming documentation, we are setting the primary color as indigo like this:

$candy-app-primary: mat-palette($mat-indigo);

Where can i refer all acceptable arguments for the mat-palette() function? I wanted to know all possible color names like we have $mat-indigoin the above example. Couldn't find it in the documentation.

Thanks.

1

There are 1 best solutions below

1
On BEST ANSWER

You can find in the source file of angular material, all the predefined colors.

And

If you want a custom theme, you can use color generator such as mcg.mbitson.com