ColorScheme

open class ColorScheme(    val main: ColorProperty,     val mainContrast: ColorProperty,     val highlight: ColorProperty,     val highlightContrast: ColorProperty)

Defines three colors for a color scheme. First is main which is the default color and mainContrast for showing things on top of highlight color. Besides from that there is a color highlight for highlighting things and a color highlightContrast for showing things on top of highlight color.

Constructors

Link copied to clipboard
fun ColorScheme(    main: ColorProperty,     mainContrast: ColorProperty,     highlight: ColorProperty,     highlightContrast: ColorProperty)

Functions

Link copied to clipboard
fun inverted(): ColorScheme

Properties

Link copied to clipboard
val highlight: ColorProperty
Link copied to clipboard
val highlightContrast: ColorProperty
Link copied to clipboard
val main: ColorProperty
Link copied to clipboard
val mainContrast: ColorProperty