material
material copied to clipboard
The grey color palette has a shade '0' which isn't a valid hue value.
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.
Good catch. You can get #fff by using A100 if you need it.