bug(theme-generator): errorColor and neutralVariantColor missing in schema #30571
Labels
area: ng-generate
Schematics that generate code in user projects
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
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
The text was updated successfully, but these errors were encountered: