Skip to content

Commit 7e56c55

Browse files
titosxwagnermaciel
authored andcommitted
docs(material/theming): fix typo in theming guide (#25685)
In theming guide the mat.get-color-from-palette is shown with a number identifier in quotes, unlike the theming-your-components guide which shows it without quotes. Fixes #25598 (cherry picked from commit 4d9e797)
1 parent 9909f2a commit 7e56c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/theming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ hue's number identifier with `-contrast`.
356356
$my-palette: mat.define-palette(mat.$indigo-palette);
357357

358358
.my-custom-style {
359-
background: mat.get-color-from-palette($my-palette, '500');
359+
background: mat.get-color-from-palette($my-palette, 500);
360360
color: mat.get-color-from-palette($my-palette, '500-contrast');
361361
}
362362
```

0 commit comments

Comments
 (0)