Open AnkitaSood opened 2 weeks ago
No response
As of v18.2, a theme can be generated with a custom color with the following schematic: ng generate @angular/material:m3-theme
ng generate @angular/material:m3-theme
The schematic then prompts for hex codes for primary, secondary, tertiary, neutral colors.
It auto generates an error code palette based on the primary hex provided. It doesn't prompt the user to enter their own error color.
StackBlitz link: Steps to reproduce:
The schematic should prompt user to enter hex code that is used to represent the error color palette.
Schematic doesn't prompt to enter hex color to be used to represent the error color palette.
@mmalerba Is this working as intended?
It also does not offer the crucial "exact color match" option that the actual theme generation utility includes.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
As of v18.2, a theme can be generated with a custom color with the following schematic:
ng generate @angular/material:m3-theme
The schematic then prompts for hex codes for primary, secondary, tertiary, neutral colors.
It auto generates an error code palette based on the primary hex provided. It doesn't prompt the user to enter their own error color.
Reproduction
StackBlitz link: Steps to reproduce:
Expected Behavior
The schematic should prompt user to enter hex code that is used to represent the error color palette.
Actual Behavior
Schematic doesn't prompt to enter hex color to be used to represent the error color palette.
Environment