Variant

Themes for Dynamic Color.

Entries

Link copied to clipboard

A monochrome theme, colors are purely black / white / gray.

Link copied to clipboard

A theme that's slightly more chromatic than monochrome, which is purely black / white / gray.

Link copied to clipboard

A calm theme, sedated colors that aren't particularly chromatic.

Link copied to clipboard

A loud theme, colorfulness is maximum for Primary palette, increased for others.

Link copied to clipboard

A playful theme - the source color's hue does not appear in the theme.

Link copied to clipboard

A scheme that places the source color in Scheme.primaryContainer.

Link copied to clipboard

A scheme that places the source color in Scheme.primaryContainer.

Link copied to clipboard

A playful theme - the source color's hue does not appear in the theme.

Link copied to clipboard

A playful theme - the source color's hue does not appear in the theme.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Variant

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.