there is now a new schematics. Use this to generate your schematics. I think only available under the v19 packages
ng generate @angular/material:theme-color