S
S
silencer-spirit2017-08-31 15:24:35
Angular
silencer-spirit, 2017-08-31 15:24:35

How to add more arguments in angular material theme?

Hello! I started using https://material.angular.io/ and the question arose about customizing components in their colors. I did everything as they have in the documentation, everything works. BUT they only have three color variations available: $primary, $accent, $warn. And I need more variety. When adding additional variables prntscr.com/gfd5ro webpack swears at me that only three arguments are available in the function prntscr.com/gfd6dk
The question is where do I add new arguments for this function? I apologize in advance if I'm asking a stupid question.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question