Skip to content

Commit 32d31c7

Browse files
authored
docs(material/theming): document typography-hierarchy (#24838)
The `typography-hierarchy` mixin was missing from the documentation. This adds a couple of sentences mentioning that it exists.
1 parent 6f9c996 commit 32d31c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guides/typography.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ typography level. The `.mat-h5` style uses the `body-1` level with the font-size
212212

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

215+
You can also manually emit the CSS rules for these CSS classes and native elements by calling the `typography-hierarchy`
216+
mixin. This mixin accepts a typography config and a CSS selector under which the styles are scopes (defaulting to
217+
`.mat-typography`).
218+
215219
The following example demonstrates usage of the typography styles emitted by the `core` mixin.
216220

217221
```html

0 commit comments

Comments
 (0)