Skip to main content

appearance.color-palette-properties

text

General textColor, should be something that contrasts great with your background Color

public var text: UIColor = .streamBlack

textInverted

public var textInverted: UIColor = .streamWhite

textLowEmphasis

public var textLowEmphasis: UIColor = .streamGrayDisabledText

staticColorText

Static color which should stay the same in dark and light mode, because it's only used as text on small UI Elements such as ChatUnreadCountView, GiphyBadge or Commands icon.

public var staticColorText: UIColor = .streamWhiteStatic

subtitleText

public var subtitleText: UIColor = .streamGray

highlightedColorForColor

public var highlightedColorForColor: (UIColor) -> UIColor 

disabledColorForColor

public var disabledColorForColor: (UIColor) -> UIColor 

unselectedColorForColor

public var unselectedColorForColor: (UIColor) -> UIColor 

background

General background of the application. Should be something that is in contrast with text color.

public var background: UIColor = .streamWhiteSnow

background1

public var background1: UIColor = .streamWhiteSmoke

background2

public var background2: UIColor = .streamGrayGainsboro

background3

public var background3: UIColor = .streamOverlay

background4

public var background4: UIColor = .streamOverlayDark

background5

public var background5: UIColor = .streamOverlayDarkStatic

background6

public var background6: UIColor = .streamGrayWhisper

background7

public var background7: UIColor = .streamDarkGray

background8

public var background8: UIColor = .streamWhite

overlayBackground

public var overlayBackground: UIColor = .streamOverlayLight

popoverBackground

public var popoverBackground: UIColor = .streamWhite

highlightedBackground

public var highlightedBackground: UIColor = .streamGrayGainsboro

highlightedAccentBackground

public var highlightedAccentBackground: UIColor = .streamAccentBlue

highlightedAccentBackground1

public var highlightedAccentBackground1: UIColor = .streamBlueAlice

shadow

public var shadow: UIColor = .streamModalShadow

lightBorder

public var lightBorder: UIColor = .streamWhiteSnow

border

public var border: UIColor = .streamGrayGainsboro

border2

public var border2: UIColor = .streamGray

border3

public var border3: UIColor = .streamGrayWhisper

alert

public var alert: UIColor = .streamAccentRed

alternativeActiveTint

public var alternativeActiveTint: UIColor = .streamAccentGreen

inactiveTint

public var inactiveTint: UIColor = .streamGray

alternativeInactiveTint

public var alternativeInactiveTint: UIColor = .streamGrayGainsboro

Did you find this page helpful?