79457234

Date: 2025-02-21 11:32:16
Score: 1.5
Natty:
Report link

I've found solution in their migration guide https://angular-material.dev/articles/updating-to-angular-material-19#13-changes-for-typography. Don't know why it's not described in documentation

@include mat.typography-hierarchy(
      mat.define-theme(
        (
          typography: (
            use-system-variables: true,
            system-variables-prefix: mat-sys,
          ),
        )
      )
    );

This will also generate css classes https://angular-material.dev/articles/angular-material-18-typography#generated-css-classes

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Demchik