AiPalette

Built-in color palettes for AiElementsTheme, each a full Material 3 color scheme computed from one seed color by Google's material-color-utilities (tonal-spot; GRAPHITE is the neutral variant), in light and dark and at three contrast levels. Regenerate with tools/generate-schemes.mjs.

Used when dynamic color is off or unavailable (Android 11 and below).

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard
val seed: Color

Functions

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

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.