ColorScheme

open class ColorScheme(main: ColorProperty, mainContrast: ColorProperty, highlight: ColorProperty, 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

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

Functions

inverted
Link copied to clipboard
fun inverted(): ColorScheme

Properties

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