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
js
fun ColorScheme(main: ColorProperty, mainContrast: ColorProperty, highlight: ColorProperty, highlightContrast: ColorProperty)

Functions

equals
Link copied to clipboard
js
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open fun hashCode(): Int
inverted
Link copied to clipboard
js
fun inverted(): ColorScheme
toString
Link copied to clipboard
js
open fun toString(): String

Properties

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