I have just upgraded an Angular project to latest version as of today (version 18.0.0) including material library using material 3 design. From the documentation here, I am trying to generate a custom theme using the below schematic:
<code>ng generate @angular/material:m3-theme
</code>
<code>ng generate @angular/material:m3-theme
</code>
ng generate @angular/material:m3-theme
However I get the bellow error message and I cannot seem to find how to pass the base color as a parameter.
<code>Cannot parse the specified color undefined. Please verify it is a hex color (ex. #ffffff or ffffff).
</code>
<code>Cannot parse the specified color undefined. Please verify it is a hex color (ex. #ffffff or ffffff).
</code>
Cannot parse the specified color undefined. Please verify it is a hex color (ex. #ffffff or ffffff).
Have tried different values like –color –c –colour but cannot seem to get it to work and there is no examples on the Angular documentation.