mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
docs: fix typo on theming docs
~`--md-sys--typography`~ -> `--md-sys--typescale`
This commit is contained in:
parent
47b4f67c8f
commit
68820fb373
@ -88,14 +88,14 @@ to components. See the [color guide](color.md) for more details.
|
|||||||
|
|
||||||
#### Typography
|
#### Typography
|
||||||
|
|
||||||
[`--md-sys-typography` tokens](typography.md#typescale) define typescale roles
|
[`--md-sys-typescale` tokens](typography.md#typescale) define typescale roles
|
||||||
that map to components. See the [typography guide](typography.md) for more
|
that map to components. See the [typography guide](typography.md) for more
|
||||||
details.
|
details.
|
||||||
|
|
||||||
```css
|
```css
|
||||||
:root {
|
:root {
|
||||||
--md-sys-typography-body-medium-size: 1rem;
|
--md-sys-typescale-body-medium-size: 1rem;
|
||||||
--md-sys-typography-body-medium-line-height: 1.5rem;
|
--md-sys-typescale-body-medium-line-height: 1.5rem;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user