Skip to content

docs(material/theming): document typography-hierarchy #24838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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