Customization: fonts

A set of base theme fonts. Text styles are built on them — see "Customization: text styles".

Set through the fonts field of the UsedeskKnowledgeBaseTheme class. Each field is of type FontFamily.

Field Description
sfProDisplay SF Pro Display font
sfUiDisplay SF UI Display font
roboto Roboto font


Example:

UsedeskKnowledgeBaseTheme.provider = {
    UsedeskKnowledgeBaseTheme(
        fonts = UsedeskKnowledgeBaseTheme.Fonts(
            roboto = FontFamily(Font(R.font.my_font))
        )
    )
}