KitChatColorScheme
Class that represents the chat color scheme configuration.
Constructors
KitChatColorScheme
fun KitChatColorScheme(brand: Int
, onBrand: Int
, brandContainer: Int
, onBrandContainer: Int
, negative: Int
, negativeContainer: Int
, notification: Int
, positive: Int
, positiveContainer: Int
):
Parameters
brand:
Int
Brand or accent color. Default color is 0xFF662EFF.
onBrand:
Int
Color that appears on top of a brand color. Default color is 0xFFFFFFFF.
brandContainer:
Int
Brand or accent color that applies to containers. Default color is 0xFFF2EEFF.
onBrandContainer:
Int
Color that appears on top of a brandContainer color. Default color is 0xFF311678.
negative:
Int
Color to highlight errors. Default color is 0xFFF74E57.
negativeContainer:
Int
Color that applies to containers to highlight errors. Default color is 0xFFFFF1F1.
notification:
Int
Color for the new message indicator that displays on the "go to the latest" button. Default color is 0xFFF5222D.
positive:
Int
Color to highlight success states. Default color is 0xFF5AD677.
positiveContainer:
Int
Color that applies to containers to highlight success states. Default color is 0xFFEDFBF0.
Props
brand
val brand: Int
Brand or accent color. Default color is 0xFF662EFF.
Returns
type:
Int
brandContainer
val brandContainer: Int
Brand or accent color that applies to containers. Default color is 0xFFF2EEFF.
Returns
type:
Int
negative
val negative: Int
Color to highlight errors. Default color is 0xFFF74E57.
Returns
type:
Int
negativeContainer
val negativeContainer: Int
Color that applies to containers to highlight errors. Default color is 0xFFFFF1F1.
Returns
type:
Int
notification
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
onBrand
val onBrand: Int
Color that appears on top of a brand color. Default color is 0xFFFFFFFF.
Returns
type:
Int
onBrandContainer
val onBrandContainer: Int
Color that appears on top of a brandContainer color. Default color is 0xFF311678.
Returns
type:
Int
positive
val positive: Int
Color to highlight success states. Default color is 0xFF5AD677.
Returns
type:
Int
positiveContainer
val positiveContainer: Int
Color that applies to containers to highlight success states. Default color is 0xFFEDFBF0.
Returns
type:
Int