Themes
TODO
How do themes work?
How are colors managed?
The common
Color
type is generally used throughout the framework. These may be organized into swatches with a single primaryaRGB
value and a mapping from arbitrary keys toColor
instances. Material provides a specialization calledMaterialColor
which uses an index value as key and limits the map to ten entries (50, 100, 200, ... 900), with larger indices being associated with darker shades. These are further organized into a standard set of colors and swatches within theColors
class.
Last updated