Skip to content

Commit 2e84ab7

Browse files
authored
docs: mention letter-spacing helper (#23375)
Fixes that the `letter-spacing` helper function wasn't mentioned in the docs. Fixes #23297.
1 parent 4a32707 commit 2e84ab7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

guides/typography.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,13 @@ The following example demonstrates usage of the typography styles emitted by the
237237
You can read typography style values from a typography config via the following Sass functions. Each
238238
accepts a typography config and a level.
239239

240-
| Function | Example usage |
241-
|---------------|---------------------------------------|
242-
| `font-size` | `mat.font-size($config, 'body-1');` |
243-
| `font-family` | `mat.font-family($config, 'body-1');` |
244-
| `font-weight` | `mat.font-weight($config, 'body-1');` |
245-
| `line-height` | `mat.line-height($config, 'body-1');` |
240+
| Function | Example usage |
241+
|------------------|------------------------------------------|
242+
| `font-size` | `mat.font-size($config, 'body-1');` |
243+
| `font-family` | `mat.font-family($config, 'body-1');` |
244+
| `font-weight` | `mat.font-weight($config, 'body-1');` |
245+
| `line-height` | `mat.line-height($config, 'body-1');` |
246+
| `letter-spacing` | `mat.letter-spacing($config, 'body-1');` |
246247

247248
Additionally, you can use the `typography-level` Sass mixin to directly emit the CSS styles for a
248249
given typography level.

0 commit comments

Comments
 (0)