Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Merge pull request #158 from material-components/sgomes-typography-mi…
Browse files Browse the repository at this point in the history
…xin-wrong-name

docs(typography): Fix `mdc-typography` mixin name in docs.
  • Loading branch information
sgomes authored Jan 5, 2017
2 parents 84c9319 + 4640728 commit 568f8c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/mdc-typography/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ property on UI elements such as buttons may cause them to be positioned incorrec
settings, without defining any particular font size or style.


### mdc-typography-style
### mdc-typography

```scss
@include mdc-typography-style(display4);
@include mdc-typography(display4);
```

Applies one of the typography styles. Note that this includes the font family and aliasing definitions; you don't need
Expand All @@ -120,7 +120,7 @@ The full list of styles:
### mdc-typography-adjust-margin

```scss
@include mdc-typography-style(display4);
@include mdc-typography(display4);
@include mdc-typography-adjust-margin(display4);
```

Expand All @@ -134,7 +134,7 @@ This means that while text will be correctly styled, it may not be correctly pos
applied to, in order to align text correctly. Because of this, it should only be used in a text context; using this
property on UI elements such as buttons may cause them to be positioned incorrectly.

The list of styles is the same as for `mdc-typography-style`:
The list of styles is the same as for the `mdc-typography` mixin:
- `display4`
- `display3`
- `display2`
Expand Down

0 comments on commit 568f8c9

Please sign in to comment.