Colors
Semantic color tokens for theming Chat SDK components. Customize via default / defaultDark factory parameters or copy.
Parameters are organized by domain: scales → accent → text → background → border → avatar → skeleton.
Parameters
The brand (accent) color scale. See ColorScale.
The chrome (neutral gray) color scale. See ChromeScale.
Main brand accent for interactive elements.
Destructive actions and error states.
Success states and positive actions.
Warning or caution messages.
Neutral accent for low-priority badges.
Main text color.
Secondary metadata text.
Lowest priority text.
Disabled text.
Text on dark or accent backgrounds.
Text on inverse backgrounds.
Hyperlinks and inline actions.
Flat surfaces.
Slightly elevated surfaces.
Card-like elements.
Popovers.
Standard section background.
Very light section background.
Stronger section background.
Card surfaces inside elevated containers like sheets and dialogs. In dark mode, resolves lighter than the container background to maintain separation.
Inverse background for elevated, transient, or high-attention UI surfaces that sit on top of the default app background.
Surfaces that must remain white across themes (e.g., media controls over video). Do not use for general UI surfaces.
Dimmed overlay for modals.
Selected overlay (dark variant).
Selected overlay (light variant).
Highlight background (e.g. message focus/pin).
Global application background.
Selected overlay.
Disabled backgrounds.
Standard surface border.
Stronger surface border.
Very light separators.
Image frame border treatment (subtle).
Image frame border treatment (strong).
Borders on accent backgrounds.
Border on inverse backgrounds.
Border for elements sitting on elevated surfaces.
Selected overlay border.
Focus ring or focus border.
Active state focus border.
Optional disabled border for inputs, buttons, or chips.
Border for disabled elements on elevated surfaces.
Error state border.
Warning state border.
Success state border.
Avatar placeholder background.
Avatar background (slot 1).
Avatar background (slot 2).
Avatar background (slot 3).
Avatar background (slot 4).
Avatar background (slot 5).
Avatar text (slot 1).
Avatar text (slot 2).
Avatar text (slot 3).
Avatar text (slot 4).
Avatar text (slot 5).
Avatar placeholder text.
The thin outline around the presence dot. Matches the local surface behind the avatar.
Base color for the skeleton loading gradient (placeholder surfaces).
Highlight for the skeleton loading gradient (moving shimmer).
System caret color.