Home > Back-end >  How to use Angular Material theme palettes
How to use Angular Material theme palettes

Time:12-11

I am shocked about how difficult it is to actually start using Angular Material pre-installed themes and how little tutorials there are on it. I am trying to use values from my theme using the function as explained in the official documentation:

enter image description here

Replace this with your theme:

enter image description here

Then restart your app (call ng serve again because we changed a angular.json). And it will work as well!

  • Related