Editorial question22.2K views601 votes0 answers993 following
AI-generatedMatButton loses color styling after upgrading to Angular Material v17 theming API
Goal After migrating an application to Angular Material v17, I want all mat-raised-button and mat-button instances with [color]="primary" or [color]="accent" to render with the correct palette colors again, both in the browser and in a server-side rendered (SSR) build. Constraints and uncertainty As I understand the v17 theming changes, button colors are no