KitChatColorScheme
Class that represents the chat color scheme configuration.
Constructors
KitChatColorScheme(brand: Int
, onBrand: Int
, brandContainer: Int
, onBrandContainer: Int
, negative: Int
, negativeContainer: Int
, notification: Int
, positive: Int
, positiveContainer: Int
, avatarPlaceholder: Int
)Parameters
brand:
Int
OptionalBrand or accent color. Default color is 0xFF662EFF.
onBrand:
Int
OptionalColor that appears on top of a brand color. Default color is 0xFFFFFFFF.
brandContainer:
Int
OptionalBrand or accent color that applies to containers. Default color is 0xFFF2EEFF.
onBrandContainer:
Int
OptionalColor that appears on top of a brandContainer color. Default color is 0xFF311678.
negative:
Int
OptionalColor to highlight errors. Default color is 0xFFF74E57.
negativeContainer:
Int
OptionalColor that applies to containers to highlight errors. Default color is 0xFFFFF1F1.
notification:
Int
OptionalColor for the new message indicator that displays on the "go to the latest" button. Default color is 0xFFF5222D.
positive:
Int
OptionalColor to highlight success states. Default color is 0xFF5AD677.
positiveContainer:
Int
OptionalColor that applies to containers to highlight success states. Default color is 0xFFEDFBF0.
avatarPlaceholder:
Int
OptionalColor that applies to the avatar placeholder. Default color is 0xFFABACC0.
When set to Color.TRANSPARENT, no color is applied.
Props
val avatarPlaceholder: Int
Color that applies to the avatar placeholder. Default color is 0xFFABACC0.
When set to Color.TRANSPARENT, no color is applied.
Returns
type:
Int
val brand: Int
Brand or accent color. Default color is 0xFF662EFF.
Returns
type:
Int
val brandContainer: Int
Brand or accent color that applies to containers. Default color is 0xFFF2EEFF.
Returns
type:
Int
val negative: Int
Color to highlight errors. Default color is 0xFFF74E57.
Returns
type:
Int
val negativeContainer: Int
Color that applies to containers to highlight errors. Default color is 0xFFFFF1F1.
Returns
type:
Int
val notification: Int
Color for the new message indicator that displays on the "go to the latest" button. Default color is 0xFFF5222D.
Returns
type:
Int
val onBrand: Int
Color that appears on top of a brand color. Default color is 0xFFFFFFFF.
Returns
type:
Int
val onBrandContainer: Int
Color that appears on top of a brandContainer color. Default color is 0xFF311678.
Returns
type:
Int
val positive: Int
Color to highlight success states. Default color is 0xFF5AD677.
Returns
type:
Int
val positiveContainer: Int
Color that applies to containers to highlight success states. Default color is 0xFFEDFBF0.
Returns
type:
Int