Skip to content

Commit da80fda

Browse files
docs(material/theming-your-component): Typo in code-block example (#28389)
Fixes a typo which is used in a code block as an example. The typo is "desity" instead of "density", and thus is a code block that does not work. No breaking changes, just a doc change.
1 parent 9162633 commit da80fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/theming-your-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ See the below example of reading the density scale from a theme:
136136
```scss
137137
$theme: mat.define-dark-theme(...);
138138

139-
$density-scale: mat.get-theme-desity($theme);
139+
$density-scale: mat.get-theme-density($theme);
140140
```
141141

142142
### Checking what dimensions are configured for a theme

0 commit comments

Comments
 (0)