Styling Approaches
- Kotlin (XML Views)
- Jetpack Compose
Font Customization
- Kotlin (XML Views)
- Jetpack Compose
Override fonts at the theme level:
themes.xml
CometChatTheme Color Tokens
These tokens are available for programmatic override (Kotlin XML) or viaCometChatColorScheme (Compose):
Colors
Icon Tints
Button Colors
Per-Component Style Properties
Each component has its own style data class with nested sub-component styles. Here’s the pattern for key components:CometChatConversations
CometChatMessageList
CometChatMessageComposer
CometChatMessageHeader
Related
- Theme Introduction — Global theming reference.
- Component Styling — Detailed per-component style examples with screenshots.
- Color Resources — Default color palette reference.
- Customization Overview — All customization categories.