Introduction
Customisation
Unflow is built around spaces and openers. Openers are how people access Unflow content, and spaces are where they live. You can learn how to use both below.
Integration
Custom fonts
Unflow supports custom fonts to ensure the experience matches that of your own app. Unflow uses your locally bundled font files so there is no increase in package size or network usage to fetch fonts. Different styles can be used for the various text types Unflow displays.
UnflowSDK.client.setCustomFonts(
fonts: .init(
title: .custom("MavenPro-Black", size: 24),
subtitle: .custom("MavenPro-Bold", size: 20),
bodyBold: .custom("MavenPro-Medium", size: 16),
body: .custom("MavenPro-Regular", size: 16),
button: .custom("MavenPro-Regular", size: 16),
openerTitle: .custom("MavenPro-Light", size: 14),
openerSubtitle: .custom("ShadowsIntoLight-Regular", size: 12),
)
)