Find themes built from palette maps without define-palette
ProprietaryFinds stylesheets whose define-light-theme or define-dark-theme takes a map of palette hues, such as primary: $orange-palette, rather than the result of define-palette, in projects that are not on Material 15 yet. The legacy components accepted such a map, while the MDC-based components of Angular Material 15 read hues that only define-palette adds, such as default, and fail the build with $color: null is not a color.
org. openrewrite. angular. material. FindRawPaletteThemesmod run . --recipe= org. openrewrite. angular. material. FindRawPaletteThemesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.