Skip to content

Commit

Permalink
docs(material/theming): document typography-hierarchy (#24838)
Browse files Browse the repository at this point in the history
The `typography-hierarchy` mixin was missing from the documentation. This adds a couple of sentences mentioning that it exists.
  • Loading branch information
jelbourn authored Apr 28, 2022
1 parent 6f9c996 commit 32d31c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guides/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ typography level. The `.mat-h5` style uses the `body-1` level with the font-size

The `button` and `input` typography levels do not map to CSS classes.

You can also manually emit the CSS rules for these CSS classes and native elements by calling the `typography-hierarchy`
mixin. This mixin accepts a typography config and a CSS selector under which the styles are scopes (defaulting to
`.mat-typography`).

The following example demonstrates usage of the typography styles emitted by the `core` mixin.

```html
Expand Down

0 comments on commit 32d31c7

Please sign in to comment.