Package-level declarations

Types

Link copied to clipboard
interface Base

Represents the base colors used in the theme.

Link copied to clipboard

Primary colors are bold and eye-catching, perfect for drawing attention and making a strong visual statement. They are often used to highlight key elements and call-to-actions in a design.

Link copied to clipboard

Secondary colors provide additional visual interest and contrast when paired with primary colors. They are useful for accentuating features and breaking up monotony in a design.

Link copied to clipboard

Color values for the chat SDK.

Link copied to clipboard

Represents a color palette with shades ranging from light to dark. Each shade is represented by a color value, allowing for a consistent and harmonious color scheme. The palette includes shades from 50 (lightest) to 950 (darkest), with an additional base color.

Link copied to clipboard

Provides default color palettes and theme tokens for the chat UI.

Link copied to clipboard

Negative colors typically signify caution or restraint, conveying a sense of seriousness or formality. They are often used in designs where a sober or professional tone is required.

Link copied to clipboard

Neutral colors offer a subtle and sophisticated backdrop, complementing other hues without overwhelming them. They are ideal for creating balance and visual rest in a design.

Link copied to clipboard

Positive colors are associated with happiness and optimism, often used to convey a cheerful, uplifting mood. They are ideal for creating a friendly and welcoming atmosphere in a design.

Link copied to clipboard
interface ThemeColors

A set of colors to be applied in either dark or light mode.

Link copied to clipboard

Color tokens used as a basis to setup ChatTheme.

Link copied to clipboard

Warning colors are designed to grab attention quickly and convey urgency or importance. They are most effective for alerts, error messages, or important notices in a design.

Functions

Link copied to clipboard
fun BusySpinner(message: String, onCancel: () -> Unit? = null)

Display a busy spinner and a status message.

Link copied to clipboard

Expands contentColorFor pairs with content color for Color.Transparent.