Use the prebuilt themes of the MDC-based Angular Material components

Proprietary

Material 17 removed the legacy-prebuilt-themes of the legacy components, which the Material 15 ng update pointed projects to. Replaces each one, such as @angular/material/legacy-prebuilt-themes/legacy-indigo-pink.css, with the matching theme in @angular/material/prebuilt-themes, in angular.json and other JSON files, stylesheets, templates and TypeScript strings.

org.openrewrite.angular.material.RenameLegacyPrebuiltThemes
mod run . --recipe=org.openrewrite.angular.material.RenameLegacyPrebuiltThemes

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.