Theme
public struct Theme
A theme structure encompassing colors, fonts and anything else that’s configurable on the SDK’s UI elements
-
Initializes the theme with specified palette and typography
Declaration
Swift
public init(palette: Palette, typography: Typography, metrics: UIMetrics)
Parameters
palette
Palette of colors to apply
typography
Set of fonts to apply
metrics
Set of UI metrics to apply