Custom Theme Style
Customize global theme#
Instead of using the provided Light and Dark themes, you can customize the global theme by configuring MFUITheme and passing it as an argument to a parameter in the MFUITheme.set(theme:) method.
Theme properties#
The Light theme appears by default when a view controller is initialized. The following table shows the customizable properties of the MFUITheme class.
| Property Name | Type | Where to use |
|---|---|---|
| MFUITheme.chatListTheme | MFChatListTheme | ChatList |
| MFUITheme.chatTheme | MFChatTheme | Chat |
| MFUITheme.contactListTheme | MFContactListTheme | Contacts list |