material icon indicating copy to clipboard operation
material copied to clipboard

The grey color palette has a shade '0' which isn't a valid hue value.

Open TylerDixon opened this issue 11 years ago • 1 comments

In theme.palette.js there is a grey theme listed with a shade of value '0', which isn't defined as a valid value here. So the following code:

$mdThemingProvider.theme('default')
            .backgroundPalette('grey', {
              'default': '0',
              'hue-1': '50'
            });

Yields the error: Invalid hue value '0' in theme default's background color grey. Available hue values: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700.

TylerDixon avatar May 07 '15 17:05 TylerDixon

Good catch. You can get #fff by using A100 if you need it.

rschmukler avatar May 19 '15 21:05 rschmukler