Parameters | Description |
---|---|
mode | Light or dark mode, default is light. |
backGroundColor | List of gradient for background color. |
primary | Primary color component with light and dark theme. |
secondary | Secondary color component with light and dark theme. |
error | Error color component with light and dark theme. |
success | Success color component with light and dark theme. |
accent | Accent color component used. |
option | Primary color component with light and dark theme. |
accent50 | Optional parameter with accent color, light and dark theme, range 50. |
accent100 | Optional parameter with accent color, light and dark theme, range 100. |
accent200 | Optional parameter with accent color, light and dark theme, range 200. |
accent300 | Optional parameter with accent color, light and dark theme, range 300. |
accent400 | Optional parameter with accent color, light and dark theme, range 400. |
accent500 | Optional parameter with accent color, light and dark theme, range 500. |
accent600 | Optional parameter with accent color, light and dark theme, range 600. |
accent700 | Optional parameter with accent color, light and dark theme, range 700. |
accent800 | Optional parameter with accent color, light and dark theme, range 800. |
primary200 | Optional parameter with primary color, light and dark theme, range 200. |
secondary900 | Optional parameter with secondary color, light and dark theme, range 900. |
tertiary | Tertiary color component with light and dark theme. |
CometChatTheme
constructor.Parameters | Type | Description |
---|---|---|
heading | FontStyle | Use to set Heading text Appearance. |
name | FontStyle | Use to set Name text Appearance. |
title1 | FontStyle | Use to set Title 1 text Appearance. |
title2 | FontStyle | Use to set Title 2 text Appearance. |
subtitle1 | FontStyle | Use to set Subtitle 1 text Appearance. |
subtitle2 | FontStyle | Use to set Subtitle 2 text Appearance. |
text1 | FontStyle | Use to set Text 1 text Appearance. |
text2 | FontStyle | Use to set Text 2 text Appearance. |
caption1 | FontStyle | Use to set Caption 1 text Appearance. |
caption2 | FontStyle | Use to set Caption 2 text Appearance. |
body | FontStyle | Use to set Body text Appearance. |