Skip to content

Commit af48db8

Browse files
authored
docs: fix reading hues from palettes (#27122)
1 parent 3cb369e commit af48db8

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
@@ -363,7 +363,7 @@ hue's number identifier with `-contrast`.
363363
$my-palette: mat.define-palette(mat.$indigo-palette);
364364

365365
.my-custom-style {
366-
background: mat.get-color-from-palette($my-palette, 500);
366+
background: mat.get-color-from-palette($my-palette, '500');
367367
color: mat.get-color-from-palette($my-palette, '500-contrast');
368368
}
369369
```

0 commit comments

Comments
 (0)