Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
v14
Description
Upgrading from angular 14 to 15 one of the templates we used had the mixin function
mat.define-typography-config( $font-family: $treo-font-sans, $title: mat.define-typography-level(1.25rem, 2rem, 600), $body-2: mat.define-typography-level(0.875rem, 1.5rem, 600), $button: mat.define-typography-level(0.875rem, 0.875rem, 500), $input: mat.define-typography-level(0.875rem, 1.2857142857, 400) // line-height: 20px )
Since angular material 15 the $input and $title arguements have been removed.
SassError: No argument named $input.
Is there a replacement for this? as the buttons and form fields on the website complete change when I remove these arguments
Reproduction
Steps to reproduce:
- Upgrade to Angular 15 from 14 having $title and $input defined in typography
Expected Behavior
Actual Behavior
Environment
@angular-devkit/architect 0.1500.4
@angular-devkit/build-angular 15.0.4
@angular-devkit/core 15.0.4
@angular-devkit/schematics 15.0.4
@angular/cdk 15.0.3
@angular/material 15.0.3
@angular/material-moment-adapter 15.0.3
@schematics/angular 15.0.4
rxjs 7.8.0
typescript 4.8.2