StreamColors

constructor(textHighEmphasis: Color, textHighEmphasisInverse: Color, textLowEmphasis: Color, disabled: Color, borders: Color, inputBackground: Color, appBackground: Color, barsBackground: Color, linkBackground: Color, overlay: Color, overlayDark: Color, primaryAccent: Color, errorAccent: Color, infoAccent: Color, highlight: Color, ownMessagesBackground: Color, otherMessagesBackground: Color, deletedMessagesBackground: Color, giphyMessageBackground: Color, threadSeparatorGradientStart: Color, threadSeparatorGradientEnd: Color, mediaShimmerBase: Color, mediaShimmerHighlights: Color, ownMessageText: Color = textHighEmphasis, otherMessageText: Color = textHighEmphasis, imageBackgroundMessageList: Color, imageBackgroundMediaGalleryPicker: Color, videoBackgroundMessageList: Color, videoBackgroundMediaGalleryPicker: Color, showMoreOverlay: Color, showMoreCountText: Color, ownMessageQuotedBackground: Color = otherMessagesBackground, otherMessageQuotedBackground: Color = ownMessagesBackground, ownMessageQuotedText: Color = textHighEmphasis, otherMessageQuotedText: Color = textHighEmphasis)

Parameters

textHighEmphasis

Used for main text and active icon status.

textHighEmphasisInverse

Used for contrasting backgrounds or elements against the main text and active icon status, providing better visibility and readability.

textLowEmphasis

Used for secondary text, default icon state, deleted messages text and datestamp background.

disabled

Used for disabled icons and empty states.

borders

Used for borders, the background of self messages, selected items, pressed state, button dividers.

inputBackground

Used for the input background, deleted messages, section headings.

appBackground

Used for the default app background and channel list item background.

barsBackground

Used for button text, top and bottom bar background and other user messages.

linkBackground

Used for the message link card background.

overlay

Used for general overlays and background when opening modals.

overlayDark

Used for the date separator background color.

primaryAccent

Used for selected icon state, call to actions, white buttons text and links.

errorAccent

Used for error text labels, notification badges and disruptive action text and icons.

infoAccent

Used for the online status.

highlight

Used for message highlights.

ownMessagesBackground

Used as a background color for the messages sent by the current user.

otherMessagesBackground

Used as a background color for the messages sent by other users.

deletedMessagesBackground

Used as a background for deleted messages.

giphyMessageBackground

Used as a background for the ephemeral giphy messages.

threadSeparatorGradientStart

Used as a start color for vertical gradient background in a thread separator.

threadSeparatorGradientEnd

Used as an end color for vertical gradient background in a thread separator.

ownMessageText

Used for message text color for the current user. textHighEmphasis by default.

otherMessageText

Used for message text color for other users. textHighEmphasis by default.

imageBackgroundMessageList

Used to set the background colour of videos inside the message list. Most visible in placeholders before the video previews are loaded.

imageBackgroundMediaGalleryPicker

Used to set the background colour of videos inside the media gallery picker in the media gallery preview screen. Most visible in placeholders before the videos previews are loaded.

showMoreOverlay

The color of the overlay displaying how many more media attachments the message contains, given it contains more than can be displayed in the message list media attachment preview.

showMoreCountText

The color of the text displaying how many more media attachments the message contains, given it contains more than can be displayed in the message list media attachment preview.

ownMessageQuotedBackground

Changes the background color of the quoted message contained in a reply sent by the current user.

otherMessageQuotedBackground

Changes the background color of the quoted message contained in a reply sent by other users.

ownMessageQuotedText

Changes the text color of the quoted message contained in a reply sent by the current user. textHighEmphasis by default.

otherMessageQuotedText

Changes the text color of the quoted message contained in a reply sent by other users. textHighEmphasis by default.