i just started using angular and angular material theming, created new theme with custom palettes.
to generate custom palette i used this tool http://mcg.mbitson.com/#!?mcgpalette0=%233f51b5
it works great https://stackblitz.com/edit/angular-material-custom-theme-button-contrast?file=styles.scss but only problem is how i can have button text color white over green background ? i tried different numbers but nothing worked
$my-primary: mat-palette($mat-my-green, 500, 50, 50);
$my-accent: mat-palette($mat-my-black, 500, 900, 400);
using
.mat-raised-button{
line-height: 29px;
margin-right: 8px;
&.mat-primary{
color: mat-contrast($mat-keldano-green,900); // get the contrast color
}}
this works but i don't think this is good solution
another problem is stepper component step numbers also have contrast issue

