DefaultColorTheme

data class DefaultColorTheme(name: String, primaryForegroundColor: TileColor, secondaryForegroundColor: TileColor, primaryBackgroundColor: TileColor, secondaryBackgroundColor: TileColor, accentColor: TileColor) : ColorTheme

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): TileColor
component3
Link copied to clipboard
common
operator fun component3(): TileColor
component4
Link copied to clipboard
common
operator fun component4(): TileColor
component5
Link copied to clipboard
common
operator fun component5(): TileColor
component6
Link copied to clipboard
common
operator fun component6(): TileColor
copy
Link copied to clipboard
common
fun copy(name: String, primaryForegroundColor: TileColor, secondaryForegroundColor: TileColor, primaryBackgroundColor: TileColor, secondaryBackgroundColor: TileColor, accentColor: TileColor): DefaultColorTheme
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toContainerStyle
Link copied to clipboard
common
open fun toContainerStyle(): ComponentStyleSet
Creates a ComponentStyleSet which is intended to be used as a default for containers (eg: Panels, HBoxes, VBoxes.
toInteractableStyle
Link copied to clipboard
common
open fun toInteractableStyle(): ComponentStyleSet
toInteractiveStyle
Link copied to clipboard
common
open fun toInteractiveStyle(): ComponentStyleSet
Creates a ComponentStyleSet which is intended to be used as a default for interactive components (eg: Buttons, ToggleButtons and so on).
toPrimaryContentStyle
Link copied to clipboard
common
open fun toPrimaryContentStyle(): ComponentStyleSet
Creates a ComponentStyleSet which is intended to be used as a default for emphasized content (eg: Headers).
toSecondaryContentStyle
Link copied to clipboard
common
open fun toSecondaryContentStyle(): ComponentStyleSet
Creates a ComponentStyleSet which is intended to be used as a default for non-emphasized content (eg: Labels, Paragraphs, and so on).
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

accentColor
Link copied to clipboard
common
open override val accentColor: TileColor
This color is typically used for the text and decorations of interactive components.
name
Link copied to clipboard
common
open override val name: String
A unique name for this ColorTheme.
primaryBackgroundColor
Link copied to clipboard
common
open override val primaryBackgroundColor: TileColor
This color is typically used for the background of Containers.
primaryForegroundColor
Link copied to clipboard
common
open override val primaryForegroundColor: TileColor
This color is typically used for the text of non-interactive components that have emphasis on them (like Headers).
secondaryBackgroundColor
Link copied to clipboard
common
open override val secondaryBackgroundColor: TileColor
This color is typically used for the root container.
secondaryForegroundColor
Link copied to clipboard
common
open override val secondaryForegroundColor: TileColor
This color is typically used for the text of non-interactive components that don't have emphasis on them (like Paragraphs).

Sources

(source)
Link copied to clipboard