Skip to main content
The UI Kit ships with a complete color palette for light and dark modes. This page documents the default values and how to override them.

Color Categories

The palette is organized into these groups:

Default Light Mode Palette

Defined in chatuikit-kotlin/src/main/res/values/color.xml:
color.xml

Default Dark Mode Palette

Defined in chatuikit-kotlin/src/main/res/values-night/color.xml. Note how neutral values are inverted:
values-night/color.xml
Android automatically uses values-night resources when the system is in dark mode.

Override Colors

Override via XML theme attributes in themes.xml:
themes.xml
Or programmatically via CometChatTheme:

Derived Colors

Background, stroke, text, and icon colors are derived from the neutral scale by default: This means overriding a neutral color automatically updates all tokens that reference it.