You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(mat-typography): theme overrides are not being applied to typography CSS classes #33920
Because body-medium and body-small line-heights are not accessible by default, we are using overrides to make them accessible, but these overrides are not being applied to mat-body-medium or mat-body-small CSS classes.
Reproduction
Steps to reproduce:
Apply theme-overrides to typography such as body-medium or body-small
Apply a mat-body-medium or mat-body-small CSS class to an element
Notice how the override is not applied to the element
Expected Behavior
Overrides works for typography classes
Actual Behavior
Overrides do not work for typography classes
Environment
Angular: v22
CDK/Material: v22
Browser(s): Any
Operating System (e.g. Windows, macOS, Ubuntu): Any
Activity
parvnirmal57 commentedon Oct 11, 2026
I've opened a PR for this: #33949