FeatureColors

class FeatureColors(val normal: Color, val normalAlt: Color, val subtle: Color, val subtleAlt: Color, val strong: Color, val strongAlt: Color, val onNormal: Color)

Feature color set.

Represents multiple similar shades for particular color. The color set is exposed through OrbitTheme.colors semantic properties (accessors) on Colors class.

Constructors

Link copied to clipboard
constructor(normal: Color, normalAlt: Color, subtle: Color, subtleAlt: Color, strong: Color, strongAlt: Color, onNormal: Color)

Properties

Link copied to clipboard

Main full color of particular feature color set.

Link copied to clipboard

Alternative (darker) full color of particular feature color set.

Link copied to clipboard

Color for content on normal, strong shades.

Link copied to clipboard

Dark color of particular feature color set.

Link copied to clipboard

Darker color of particular feature color set.

Link copied to clipboard

Light color of particular feature color set.

Link copied to clipboard

Alternative (darker) light color of particular feature color set.

Functions

Link copied to clipboard
fun copy(normal: Color = this.normal, normalAlt: Color = this.normalAlt, subtle: Color = this.subtle, subtleAlt: Color = this.subtleAlt, strong: Color = this.strong, strongAlt: Color = this.strongAlt, onNormal: Color = this.onNormal): FeatureColors