Typography

public struct Typography

Structure describing fonts that are configurable on the SDK’s UI elements

  • The font to use for headings

    Declaration

    Swift

    public let heading: UIFont
  • cta

    The font to use for CTAs (buttons)

    Declaration

    Swift

    public let cta: UIFont
  • Initializes the typography with specified fonts

    Declaration

    Swift

    public init(heading: UIFont, cta: UIFont)