docs/guides/THEMES_IMPL_NOTES.md
You configure themes with $mdThemingProvider. The CSS is then generated at run-time by
the $mdTheming service and appended to the document's <head>.
xxx-theme.scss.-theme.scss files and globs them up into one enormous
string. angular.module('material.core').constant('$MD_THEME_CSS', 'HUGE_THEME_STRING');
angular-material.js.$mdThemingProvider during the module config phase.$MD_THEME_CSS and, for each theme, evaluates the
mini-DSL, applies the colors for the theme, and appends the resulting CSS into the document head.'{{palette-hue-contrast-opacity}}', where hue, contrast,
and opacity are optional.'{{primary-500}}'.primary, accent, warn, background.hue to 500 except for background.opacity value can be a decimal between 0 and 1 or one of the following values based on the
hue's contrast type (dark, light, or strongLight):
icon: icon (0.54 / 0.87 / 1.0)secondary: secondary text (0.54 / 0.87)disabled: disabled text or icon (0.38 / 0.54)hint: hint text (0.38 / 0.50)divider: divider (0.12)contrast will give a contrast color (for text) and can be mixed with opacity.
For example, accent-contrast will be a contrast color for the accent color, for use as a text
color on an accent-colored background. Adding an opacity value as in accent-contrast-icon will
apply the Material Design icon opacity. Using a decimal opacity value as in accent-contrast-0.25
will apply the contrast color for the accent color at 25% opacity.