About #
This module returns the Dark Mode aware color values as defined by the Material UI framework.
Methods #
Definition | Value |
---|---|
Background() as Color | Color value corresponding to name and Dark/Light mode |
Error() as Color | |
OnBackground() as Color | |
OnError() as Color | |
OnPrimary() as Color | |
OnSecondary() as Color | |
OnSurface() as Color | |
Primary() as Color | |
PrimaryVibrant() as Color | |
Secondary() as Color | |
SecondaryVibrant() as Color | |
Surface() as Color | |
Overlay(surfaceColor as Color, contentColor as Color, OverlayPercent as Double = 4.0) as Color | Overlays two specified colors according to the Materials UI guidelines. |
toDictionary() as Dictionary | Returns a dictionary containing the return values of all palette methods. |