I'm currently learning how to create my own Angular Material 2 theme using the documentation (https://github.com/angular/material2/blob/master/guides/theming.md)
It seems the main bit is to just specify the colors here
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue.
$candy-app-primary: mat-palette($mat-indigo);
$candy-app-accent: mat-palette($mat-pink, A200, A100, A400);
I do not quite understand what the mat-palette does. I understand the first parameter which specifies the color - I do not understand why there is a default, lighter and darker color.
I thought these colors are to be displayed when you've got code like this
<md-toolbar color="primary">
text
</md-toolbar>
In that case, the toolbar should be in the primary color. I can't see anywhere that specifies I can make it darker or lighter too. So what are the default, lighter and darker colors that are used for?