Skip to content

Commit da371e9

Browse files
authored
fix(material/schematics): some options missing from schema (#30602)
Fixes that the `neutralVariantColor` and `errorColor` were missing from the schema which meant that users can't pass them in. Fixes #30571.
1 parent 1b721a0 commit da371e9

File tree

1 file changed

+10
-0
lines changed
  • src/material/schematics/ng-generate/theme-color

1 file changed

+10
-0
lines changed

src/material/schematics/ng-generate/theme-color/schema.json

+10
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@
2424
"description": "Color for neutral color palette",
2525
"x-prompt": "What HEX color should be used represent the neutral color palette? (Leave blank to use generated colors from Material)"
2626
},
27+
"neutralVariantColor": {
28+
"type": "string",
29+
"description": "Color for the neutral variant palette",
30+
"x-prompt": "What HEX color should be used represent the neutral variant palette? (Leave blank to use generated colors from Material)"
31+
},
32+
"errorColor": {
33+
"type": "string",
34+
"description": "Color for the error palette",
35+
"x-prompt": "What HEX color should be used represent the error palette? (Leave blank to use generated colors from Material)"
36+
},
2737
"includeHighContrast": {
2838
"type": "boolean",
2939
"default": false,

0 commit comments

Comments
 (0)