diff --git a/guides/theming.md b/guides/theming.md index 8ff92a283951..63bdbeca638f 100644 --- a/guides/theming.md +++ b/guides/theming.md @@ -363,7 +363,7 @@ hue's number identifier with `-contrast`. $my-palette: mat.define-palette(mat.$indigo-palette); .my-custom-style { - background: mat.get-color-from-palette($my-palette, '500'); + background: mat.get-color-from-palette($my-palette, 500); color: mat.get-color-from-palette($my-palette, '500-contrast'); } ``` @@ -412,7 +412,7 @@ $dark-theme: mat.define-dark-theme(( .the-dense-zone { @include mat.button-density(-1); } -``` +``` ## Strong focus indicators