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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
In Angular Material 18, developers could use Angular Material's theme's density scale, so that their custom components aligns with other Angular Material components.
In v18, developers could use mat.get-theme-density($theme); to get the scale. Link to docs.
In v19, it's not clear how to get density scale from theme.
Reproduction
Not needed.
Expected Behavior
Developers should be able to read density scale in Angular Material 19.
Actual Behavior
Developers are not able to read density scale in Angular Material 19.
Environment
Angular: 19
CDK/Material: 19
Browser(s): Edge
Operating System (e.g. Windows, macOS, Ubuntu): Windows
The text was updated successfully, but these errors were encountered:
Is this a regression?
The previous version in which this bug was not present was
18
Description
In Angular Material 18, developers could use Angular Material's theme's density scale, so that their custom components aligns with other Angular Material components.
In v18, developers could use
mat.get-theme-density($theme);
to get the scale. Link to docs.In v19, it's not clear how to get density scale from theme.
Reproduction
Not needed.
Expected Behavior
Developers should be able to read density scale in Angular Material 19.
Actual Behavior
Developers are not able to read density scale in Angular Material 19.
Environment
The text was updated successfully, but these errors were encountered: