Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
#30321 added options to customize colors for neutral variant and error color.
These options are not available on the command line, e.g.
ng generate @angular/material:theme-color ... --error-color=#ff0022 --neutral-variant-color=#a09890
fails as neither 'error-color' or 'neutral-variant-color' are known.
The options are missing in @angular\material\schematics\ng-generate\theme-color\schema.json
.
Reproduction
The issue is related to the usage on the command line, see statement above.
Expected Behavior
Add the options to the schema.json.
Actual Behavior
The command line statements returns with
Error: Unknown arguments: error-color, neutral-variant-color
Environment
- CDK/Material: 19.2.1
- Node: v22.14.0