Skip to main content

Theming

Customize the appearance of chat elements with a theme. On web, pass a theme through the Elements appearance options. On Swift, create a WhopTheme and apply it with .whopTheme().

Theme properties

Available colors

All color properties accept these tints. Use strings on web, such as "blue", and enum values on Swift, such as .blue. amber · blue · bronze · brown · crimson · cyan · gold · grass · gray · green · indigo · iris · jade · lemon · lime · magenta · mint · orange · pink · plum · purple · red · ruby · sky · teal · tomato · violet · yellow

Chat styles

Choose between Discord-style or iMessage-style chat. iMessage style (bubble chat) is the default if not provided.