Migrate the typography of Angular Material 15
ProprietaryMaterial 15 removed the typography config parameter of mat.core(), stopped emitting component typography from it, and moved typography configs to the 2018 Material Design type scale. Replaces @include mat.core($config) with @include mat.all-component-typographies($config) followed by @include mat.core(), adds mat.all-component-typographies() before a plain mat.core() unless the stylesheet includes it already, and renames the levels of mat.define-typography-config and of the level arguments of the typography functions, such as title to headline-6, with input merged into body-1, in stylesheets and inline styles of projects that are not on Material 15 yet.
org. openrewrite. angular. material. MigrateMaterial15Typographymod run . --recipe= org. openrewrite. angular. material. MigrateMaterial15TypographyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.