-
Notifications
You must be signed in to change notification settings - Fork 0
Theme Customization
kristiyan-petrov edited this page Feb 29, 2024
·
3 revisions
Since every client had to provide a Theme implementation in order to customize the client call and chat UIs, has now been integrated a new convenient and centralized way to achieve the same result.
A KaleyraVideo theme object can be updated at any time specifying following parameters:
- font family
- default style // (Day/Night/System)
- day colors and logo configuration
- night colors and logo configuration
Be aware that if the theme is not customized, the call will display as watermar the logo that has been provided to the company rest registration.
KaleyraVideo.theme = CompanyUI.Theme(
fontFamily = androidx.compose.ui.text.font.FontFamily.SansSerif,
defaultStyle = CompanyUI.Theme.DefaultStyle.System,
day = CompanyUI.Theme.Style(
logo = Uri.parse("https.//example.com/your-logo.png"),
colors = CompanyUI.Theme.Colors(secondary = Color(0xFF0087E2))),
night = CompanyUI.Theme.Style(
logo = Uri.parse("https.//example.com/your-logo.png"),
colors = CompanyUI.Theme.Colors(secondary = Color.Yellow))
)