MutableColorScheme

data class MutableColorScheme(displayName: String, isDark: Boolean, ultraLight: Color, extraLight: Color, light: Color, mid: Color, dark: Color, ultraDark: Color, foreground: Color, backgroundFill: Color, accentedBackgroundFill: Color, focusRing: Color, line: Color, selectionForeground: Color, selectionBackground: Color, textBackgroundFill: Color, separatorPrimary: Color, separatorSecondary: Color, mark: Color, echo: Color) : AuroraColorScheme

Functions

blendWith
Link copied to clipboard
open override fun blendWith(otherScheme: AuroraColorScheme, likenessToThisScheme: Float): AuroraColorScheme

Creates a blended version of this color scheme based on another color scheme.

hueShift
Link copied to clipboard
open override fun hueShift(hueShiftFactor: Float): AuroraColorScheme

Creates a hue-shifted (in HSB space) version of this color scheme.

invert
Link copied to clipboard
open override fun invert(): AuroraColorScheme

Creates an inverted version of this scheme.

negate
Link copied to clipboard
open override fun negate(): AuroraColorScheme

Creates a negated version of this scheme.

saturate
Link copied to clipboard
open override fun saturate(saturateFactor: Float): AuroraColorScheme

Creates a saturated or desaturated version of this scheme. The value and brightness stay the same.

shade
Link copied to clipboard
open override fun shade(shadeFactor: Float): AuroraColorScheme

Creates a shaded (shifted towards black) version of this color scheme.

shift
Link copied to clipboard
open override fun shift(backgroundShiftColor: Color, backgroundShiftFactor: Float, foregroundShiftColor: Color, foregroundShiftFactor: Float): AuroraColorScheme

Creates a shift version of this scheme.

tint
Link copied to clipboard
open override fun tint(tintFactor: Float): AuroraColorScheme

Creates a tinted (shifted towards white) version of this color scheme.

tone
Link copied to clipboard
open override fun tone(toneFactor: Float): AuroraColorScheme

Creates a toned (shifted towards gray) version of this color scheme.

Properties

accentedBackgroundFill
Link copied to clipboard
var accentedBackgroundFill: Color
accentedBackgroundFillColor
Link copied to clipboard
open override val accentedBackgroundFillColor: Color

Returns the accented background fill color for this scheme.

backgroundFill
Link copied to clipboard
var backgroundFill: Color
backgroundFillColor
Link copied to clipboard
open override val backgroundFillColor: Color

Returns the background fill color for this scheme.

dark
Link copied to clipboard
var dark: Color
darkColor
Link copied to clipboard
open override val darkColor: Color
displayName
Link copied to clipboard
open override val displayName: String

The display name of this trait.

echo
Link copied to clipboard
var echo: Color
echoColor
Link copied to clipboard
open override val echoColor: Color

Returns the echo color for this scheme. Echo color is used for drawing slight echo / drop shadow around title pane texts and similar "primary" elements.

extraLight
Link copied to clipboard
var extraLight: Color
extraLightColor
Link copied to clipboard
open override val extraLightColor: Color
focusRing
Link copied to clipboard
var focusRing: Color
focusRingColor
Link copied to clipboard
open override val focusRingColor: Color

Returns the focus ring color for this scheme.

foreground
Link copied to clipboard
var foreground: Color
foregroundColor
Link copied to clipboard
open override val foregroundColor: Color
isDark
Link copied to clipboard
open override var isDark: Boolean

Returns indication whether this color scheme uses dark colors. Note that this method may be removed in the future. It is highly recommended to use one of the colors from the parent SchemeBaseColors and SchemeDerivedColors interfaces instead.

light
Link copied to clipboard
var light: Color
lightColor
Link copied to clipboard
open override val lightColor: Color
line
Link copied to clipboard
var line: Color
lineColor
Link copied to clipboard
open override val lineColor: Color

Returns the line color for this scheme.

mark
Link copied to clipboard
var mark: Color
markColor
Link copied to clipboard
open override val markColor: Color

Returns the mark color for this scheme. Mark color is used on checkboxes, radio buttons, scrollbar arrows, combo arrows, menu arrows, etc.

mid
Link copied to clipboard
var mid: Color
midColor
Link copied to clipboard
open override val midColor: Color
selectionBackground
Link copied to clipboard
var selectionBackground: Color
selectionBackgroundColor
Link copied to clipboard
open override val selectionBackgroundColor: Color

Returns the selection background color for this scheme.

selectionForeground
Link copied to clipboard
var selectionForeground: Color
selectionForegroundColor
Link copied to clipboard
open override val selectionForegroundColor: Color

Returns the selection foreground color for this scheme.

separatorPrimary
Link copied to clipboard
var separatorPrimary: Color
separatorPrimaryColor
Link copied to clipboard
open override val separatorPrimaryColor: Color

Returns the primary separator color for this scheme.

separatorSecondary
Link copied to clipboard
var separatorSecondary: Color
separatorSecondaryColor
Link copied to clipboard
open override val separatorSecondaryColor: Color

Returns the secondary separator color for this scheme.

textBackgroundFill
Link copied to clipboard
var textBackgroundFill: Color
textBackgroundFillColor
Link copied to clipboard
open override val textBackgroundFillColor: Color

Returns the text background fill color for this scheme.

ultraDark
Link copied to clipboard
var ultraDark: Color
ultraDarkColor
Link copied to clipboard
open override val ultraDarkColor: Color
ultraLight
Link copied to clipboard
var ultraLight: Color
ultraLightColor
Link copied to clipboard
open override val ultraLightColor: Color