Material Design implementation with AngularJS by V. Keerti Kotaru

Material Design implementation with AngularJS by V. Keerti Kotaru

Author:V. Keerti Kotaru
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


$mdThemingProvider.setDefaultTheme('aCustomTheme');

Hue Configuration

Consider the image in Figure 6-1. Each palette has fifteen hue values. By default, in the theme: 1.For primary and warn, 500, 300, 800, and A100 are default, hue-1, hue-2, and hue-3, respectively.

2.For accent, A200, A100, A400, and A700 are default, hue-1, hue-2, and hue-3, respectively.

We configure different values on the palette as default, hue-1, hue-2, and hue-3. Consider the following code. It is the same API used to configure theme. See Figure 6-9 for the result rendered.

Figure 6-9.Multiple hue values



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.