Rate this page:

KitChatColorScheme

Class that represents the chat color scheme configuration.

Constructors

KitChatColorScheme

Copy URL
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

Copy URL
val brand: 

Int

Brand or accent color. Default color is 0xFF662EFF.

Returns

  • type:

    Int

brandContainer

Copy URL
val brandContainer: 

Int

Brand or accent color that applies to containers. Default color is 0xFFF2EEFF.

Returns

  • type:

    Int

negative

Copy URL
val negative: 

Int

Color to highlight errors. Default color is 0xFFF74E57.

Returns

  • type:

    Int

negativeContainer

Copy URL
val negativeContainer: 

Int

Color that applies to containers to highlight errors. Default color is 0xFFFFF1F1.

Returns

  • type:

    Int

notification

Copy URL
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

Copy URL
val onBrand: 

Int

Color that appears on top of a brand color. Default color is 0xFFFFFFFF.

Returns

  • type:

    Int

onBrandContainer

Copy URL
val onBrandContainer: 

Int

Color that appears on top of a brandContainer color. Default color is 0xFF311678.

Returns

  • type:

    Int

positive

Copy URL
val positive: 

Int

Color to highlight success states. Default color is 0xFF5AD677.

Returns

  • type:

    Int

positiveContainer

Copy URL
val positiveContainer: 

Int

Color that applies to containers to highlight success states. Default color is 0xFFEDFBF0.

Returns

  • type:

    Int