components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(theming): inconsistent use of blue-grey Sass variable

Open nicky-lenaers opened this issue 3 years ago • 0 comments

Documentation Feedback

There seems to be a mismatch between the name of a color palette in sections https://material.angular.io/guide/theming#using-a-pre-built-theme and https://material.angular.io/guide/theming#multiple-themes-in-one-file. In the first section, the name bluegrey is used in the table (third row, last column). In the second section, the name blue-grey is used (as a Sass variable $blue-grey-palette). The latter part is a code example, showing the correct variable name.

When looking up the available variables names in the table, using $bluegrey-palette would cause an error. This should therefore be changed to the correct blue-grey name.

Affected documentation page

https://material.angular.io/guide/theming

nicky-lenaers avatar Oct 06 '22 08:10 nicky-lenaers