DocumentColors

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.

Every value defaults to the current CgsTheme, so a component left alone follows whatever theme it is composed under. Pass a customised instance where a component accepts one to re-colour it on its own.

Constructors

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