I am using a custom material-color palette. defined the primary and accent palettes with its default-shade,darker-shade,lighter-shade as below:
$my-app-primary: mat-palette($md-lightprimary ,500,900,A700 );
$my-app-accent: mat-palette($md-lightaccent, 500,900,A100);
$my-app-warn: mat-palette($md-warn);
/*finalize by creating a $my-app-theme variable that combines our color definitions with the mat-light-theme function,*/
$my-app-theme: mat-light-theme($my-app-primary, $my-app-accent, $my-app-warn);
/* and finally include the result of calling the angular-material-theme function with our $my-app-theme.*/
@include angular-material-theme($my-app-theme);
Questions:
1. If i use in code color="primary"
or color="accent"
than it sets the default
color shade, Question is, how to use the lighter
and darker
-shades that we have used as part of initial setting of the theme.
2. How to use any other shades from the palette for the primary
or accent
shades.