Rename the CSS tokens of Angular Material 20
ProprietaryMaterial 20 replaced the --mdc- prefix of its CSS tokens with --mat- and renamed the component prefixes after the component, such as --mat-switch to --mat-slide-toggle and --mdc-snackbar to --mat-snack-bar. Renames them in stylesheets, templates and TypeScript strings, matching the longest prefix first so that --mat-tab-header-with-background-* becomes --mat-tab-*.
org. openrewrite. angular. material. RenameMaterial20Tokensmod run . --recipe= org. openrewrite. angular. material. RenameMaterial20TokensInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.