bug(Theming): When creating a theme using mat.theme(
there is no way to configure typography like how we have with mat.define-theme
#30444
Labels
needs triage
This issue needs to be triaged by the team
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When applying a theme like below:
Without the commented code in body tag, the
h1 to h6
tags do not have the default font-family.Stackblitz mat.theme
In the old method we had the
typography-hierarchy
, set this up and it works great:Stackblitz Demo
So the question is how to define the typography for
h1-h6
withmat.theme(
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
way to configure typography with define-theme
Actual Behavior
no way to configure typography with define-theme
Environment
The text was updated successfully, but these errors were encountered: