From 89857a9b5f5d7c35bb3a5880843bfc10d91bcb3b Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 27 Apr 2022 15:53:05 -0700 Subject: [PATCH] docs(material/theming): document `typography-hierarchy` The `typography-hierarchy` mixin was missing from the documentation. This adds a couple of sentences mentioning that it exists. --- guides/typography.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guides/typography.md b/guides/typography.md index 51dacd2b1677..30b167413fb1 100644 --- a/guides/typography.md +++ b/guides/typography.md @@ -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