AuroraColorScheme

interface AuroraColorScheme : SchemeBaseColors, SchemeDerivedColors, AuroraTrait

Functions

blendWith
Link copied to clipboard
abstract 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
abstract fun hueShift(hueShiftFactor: Float): AuroraColorScheme

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

invert
Link copied to clipboard
abstract fun invert(): AuroraColorScheme

Creates an inverted version of this scheme.

negate
Link copied to clipboard
abstract fun negate(): AuroraColorScheme

Creates a negated version of this scheme.

saturate
Link copied to clipboard
abstract 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
abstract fun shade(shadeFactor: Float): AuroraColorScheme

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

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

Creates a shift version of this scheme.

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

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

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

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

Properties

accentedBackgroundFillColor
Link copied to clipboard
abstract val accentedBackgroundFillColor: Color

Returns the accented background fill color for this scheme.

backgroundFillColor
Link copied to clipboard
abstract val backgroundFillColor: Color

Returns the background fill color for this scheme.

darkColor
Link copied to clipboard
abstract val darkColor: Color
displayName
Link copied to clipboard
abstract val displayName: String

The display name of this trait.

echoColor
Link copied to clipboard
abstract 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.

extraLightColor
Link copied to clipboard
abstract val extraLightColor: Color
focusRingColor
Link copied to clipboard
abstract val focusRingColor: Color

Returns the focus ring color for this scheme.

foregroundColor
Link copied to clipboard
abstract val foregroundColor: Color
isDark
Link copied to clipboard
abstract val 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.

lightColor
Link copied to clipboard
abstract val lightColor: Color
lineColor
Link copied to clipboard
abstract val lineColor: Color

Returns the line color for this scheme.

markColor
Link copied to clipboard
abstract 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.

midColor
Link copied to clipboard
abstract val midColor: Color
selectionBackgroundColor
Link copied to clipboard
abstract val selectionBackgroundColor: Color

Returns the selection background color for this scheme.

selectionForegroundColor
Link copied to clipboard
abstract val selectionForegroundColor: Color

Returns the selection foreground color for this scheme.

separatorPrimaryColor
Link copied to clipboard
abstract val separatorPrimaryColor: Color

Returns the primary separator color for this scheme.

separatorSecondaryColor
Link copied to clipboard
abstract val separatorSecondaryColor: Color

Returns the secondary separator color for this scheme.

textBackgroundFillColor
Link copied to clipboard
abstract val textBackgroundFillColor: Color

Returns the text background fill color for this scheme.

ultraDarkColor
Link copied to clipboard
abstract val ultraDarkColor: Color
ultraLightColor
Link copied to clipboard
abstract val ultraLightColor: Color

Inheritors

BaseColorScheme
Link copied to clipboard
MutableColorScheme
Link copied to clipboard