ColorScheme

open class ColorScheme(base: ColorProperty, baseContrast: ColorProperty, highlight: ColorProperty, highlightContrast: ColorProperty)

Defines three colors for a color scheme. First is base which is the default color and baseContrast 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(base: ColorProperty, baseContrast: 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
toString
Link copied to clipboard
js
open fun toString(): String

Properties

base
Link copied to clipboard
js
val base: ColorProperty
baseContrast
Link copied to clipboard
js
val baseContrast: ColorProperty
highlight
Link copied to clipboard
js
val highlight: ColorProperty
highlightContrast
Link copied to clipboard
js
val highlightContrast: ColorProperty