Color Theme Builder
data class ColorThemeBuilder(name: String, primaryForegroundColor: TileColor, secondaryForegroundColor: TileColor, primaryBackgroundColor: TileColor, secondaryBackgroundColor: TileColor, accentColor: TileColor) : Builder<ColorTheme>
Content copied to clipboard
Types
Functions
build
Link copied to clipboard
copy
Link copied to clipboard
fun copy(name: String = "anonymous", primaryForegroundColor: TileColor = TileColor.defaultForegroundColor(), secondaryForegroundColor: TileColor = TileColor.defaultForegroundColor(), primaryBackgroundColor: TileColor = TileColor.defaultBackgroundColor(), secondaryBackgroundColor: TileColor = TileColor.defaultBackgroundColor(), accentColor: TileColor = TileColor.defaultForegroundColor()): ColorThemeBuilder
Content copied to clipboard
createCopy
Link copied to clipboard
withAccentColor
Link copied to clipboard
withName
Link copied to clipboard
withPrimaryBackgroundColor
Link copied to clipboard
fun withPrimaryBackgroundColor(primaryBackgroundColor: TileColor): ColorThemeBuilder
Content copied to clipboard
withPrimaryForegroundColor
Link copied to clipboard
fun withPrimaryForegroundColor(primaryForegroundColor: TileColor): ColorThemeBuilder
Content copied to clipboard
withSecondaryBackgroundColor
Link copied to clipboard
fun withSecondaryBackgroundColor(secondaryBackgroundColor: TileColor): ColorThemeBuilder
Content copied to clipboard
withSecondaryForegroundColor
Link copied to clipboard
fun withSecondaryForegroundColor(secondaryForegroundColor: TileColor): ColorThemeBuilder
Content copied to clipboard
Sources
(source)
Link copied to clipboard