Package-level declarations

The color sets each component accepts. Every one comes with a …Default object that reads the current CgsTheme — start there and override only what you need.

Types

Link copied to clipboard
class ArticleColors(backgroundColor: Color, borderColor: Color, textColor: Color, iconColor: Color)

The colors an article block draws with.

Link copied to clipboard
class ArticleMediumCellColors(containerColor: Color, titleColor: Color, secondaryTextColor: Color, settingsIconColor: Color, bookmarkIconColor: Color, audioBackgroundColor: Color, audioIconColor: Color, audioTextColor: Color)

The colors the medium article cell draws with.

Link copied to clipboard
class ArticleOverlayCellColors(containerColor: Color, textColor: Color, iconColor: Color, topScrimColor: Color, bottomScrimColor: Color)

The colors the overlay article cell — the variant whose text sits on top of the cover draws with.

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.