Package-level declarations

The color sets the components and screens accept. A component left alone reads its set from the current CgsTheme; to re-colour one, build a set with its constructor. Every color is required: the SDK's defaults are not exposed to start from.

Types

Link copied to clipboard
class DocumentColors(backgroundColor: Color, borderColor: Color, borderPreviewImageColor: Color, titleColor: Color, textColor: Color, iconColor: Color, coverPlaceholderBackgroundColor: Color, coverPlaceholderIconColor: Color)

The colors a document row draws with.

Link copied to clipboard
class ErrorMessageColors(titleColor: Color, descriptionColor: Color)

The colors the inline error message shown when a section fails to load draws with.

Link copied to clipboard
class MediaCellColors(backgroundColor: Color, borderColor: Color, titleColor: Color, fallbackTitleColor: Color)

The colors a media cell draws with.

Link copied to clipboard
class PlaceholderColors(backgroundColor: Color, titleColor: Color, descriptionColor: Color, borderColor: Color)

The colors the empty-state placeholder shown when a section has nothing to display draws with.

Link copied to clipboard
class VideoColors(borderColor: Color, titleColor: Color, textColor: Color, iconColor: Color)

Defines the color palette used to style video preview components.