Skip to content

Commit 69294e4

Browse files
iamgreenintrommalerba
authored andcommitted
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. (cherry picked from commit da80fda)
1 parent cbfdc06 commit 69294e4

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)