DefaultColors

public class DefaultColors

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

This object contains predefined color schemes for light and dark modes, as well as individual color categories such as primary, secondary, neutral, positive, warning, and negative. It also includes deprecated properties for backward compatibility.

Properties

Link copied to clipboard
@Deprecated(message = "No longer used")
private final Color accentHeaderEndDark

Default dark ending Color of the Brush.linearGradient for the accent header.

Link copied to clipboard
@Deprecated(message = "No longer used")
private final Color accentHeaderEndLight

Default light ending Color of the Brush.linearGradient for the accent header.

Link copied to clipboard
@Deprecated(message = "No longer used")
private final Color accentHeaderStartDark

Default dark starting Color of the Brush.linearGradient for the accent header.

Link copied to clipboard
@Deprecated(message = "No longer used")
private final Color accentHeaderStartLight

Default light starting Color of the Brush.linearGradient for the accent header.

Link copied to clipboard
private final Base Base

The base color palette (white and black).

Link copied to clipboard
private final BrandPrimary BrandPrimary

The primary brand color palette.

Link copied to clipboard

The secondary brand color palette.

Link copied to clipboard
@Deprecated(message = "Use ThemeColorTokens and ThemeColorTokens-based palettes instead.")
private final ThemeColors dark

Default color palette used by the chat for the dark mode.

Link copied to clipboard

Default ThemeColorTokens for dark mode, based on Figma design system.

Link copied to clipboard
public final static DefaultColors INSTANCE
Link copied to clipboard
@Deprecated(message = "Use ThemeColorTokens and ThemeColorTokens-based palettes instead.")
private final ThemeColors light

Default color palette used by the chat for the light mode.

Link copied to clipboard

Default ThemeColorTokens for light mode, based on Figma design system.

Link copied to clipboard
private final Negative Negative

The negative color palette.

Link copied to clipboard
private final Neutral Neutral

The neutral color palette.

Link copied to clipboard
private final Positive Positive

The positive color palette.

Link copied to clipboard
private final Warning Warning

The warning color palette.

Functions

Link copied to clipboard

Default dark ending Color of the Brush.linearGradient for the accent header.

Link copied to clipboard

Default light ending Color of the Brush.linearGradient for the accent header.

Link copied to clipboard

Default dark starting Color of the Brush.linearGradient for the accent header.

Link copied to clipboard

Default light starting Color of the Brush.linearGradient for the accent header.

Link copied to clipboard
public final Base getBase()

The base color palette (white and black).

Link copied to clipboard

The primary brand color palette.

Link copied to clipboard

The secondary brand color palette.

Link copied to clipboard
public final ThemeColors getDark()

Default color palette used by the chat for the dark mode.

Link copied to clipboard

Default ThemeColorTokens for dark mode, based on Figma design system.

Link copied to clipboard
public final ThemeColors getLight()

Default color palette used by the chat for the light mode.

Link copied to clipboard

Default ThemeColorTokens for light mode, based on Figma design system.

Link copied to clipboard
public final Negative getNegative()

The negative color palette.

Link copied to clipboard
public final Neutral getNeutral()

The neutral color palette.

Link copied to clipboard
public final Positive getPositive()

The positive color palette.

Link copied to clipboard
public final Warning getWarning()

The warning color palette.