PaletteStyle
Represents different styles for generating color palettes, aligned with Variant in the Material Design guidelines.
Each style defines a unique approach to how colors are chosen and combined, ranging from subtle to vibrant, playful, or monochromatic themes.
Entries
A playful theme where the source color's hue is intentionally omitted from the palette. This creates a unique and unexpected color scheme, adding an element of surprise to the design. Suitable for creative and non-traditional color schemes.
A playful and colorful theme similar to Expressive, where the source color's hue is excluded, leading to a diverse and lively palette. Ideal for designs that aim to be bold and eye-catching.
Another playful theme where the source color's hue is excluded, resulting in a palette reminiscent of a colorful fruit salad. This theme is perfect for fun, vibrant designs that want to evoke a sense of joy and energy.
A monochrome theme where colors are purely black, white, and shades of gray. This style is ideal for designs that require a classic, timeless look with no chromatic distractions.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.