Angular does not recognize button apperance specification color="warn"
21:07 10 Dec 2025

I am currently working on a learning project with Angular CLI 21.0.2. I added the following line of code but the button still appears in its default color.


I have not made many changes to the project since I created it with ng new customer-web and ng add @angular/material . What could be causing this problem?

angular angular-material