In the final step we are passing my custom theme inside the angular material theme method.
Mat light theme.
At this point we will be be able to use this theme palette in our own components.
This means that all the other neutral colors of our theme will be various shades of black and white with mostly.
Create angular material dark theme at the moment we are using mat light theme mixin function.
These components can now easily be re themed.
In our style scss where we would include a custom theme using mat light theme or mat dark theme we now use my light theme and my dark theme.
In the code example above we created our theme using mat light theme function.
The warning color is optional and will default to red if none is provided.
Matt light theme from the rock original remix.
As you can see we ve added our custom theme s color definition in mat light theme function.