Theme

public struct Theme

Template theme generating UI components for your layout

Font colors

  • Font color associated with text displaying primary font colour, like inputs, titles and other important text

    Declaration

    Swift

    public var primaryFontColor: UIColor
  • Font color associated with text displaying secondary information, like subtitles and other non core text

    Declaration

    Swift

    public var secondaryFontColor: UIColor
  • Font color associated with text displayed inside actionable buttons

    Declaration

    Swift

    public var buttonFontColor: UIColor
  • Font color associated with text

    Declaration

    Swift

    public var errorFontColor: UIColor

Font

  • Font used for page headers

    Declaration

    Swift

    public var headerFont: UIFont
  • Font used for input sections titles

    Declaration

    Swift

    public var titleFont: UIFont
  • Font used for text displaying secondary information, like subtitles and other non core text

    Declaration

    Swift

    public var subtitleFont: UIFont
  • Font used for input fields where user is inputting the values

    Declaration

    Swift

    public var inputFont: UIFont
  • Font used for buttons that the user will interact with

    Declaration

    Swift

    public var buttonFont: UIFont

UI Formatting colors

  • Color used as background on screens

    Declaration

    Swift

    public var backgroundColor: UIColor
  • Color used as background for text input fields

    Declaration

    Swift

    public var textInputBackgroundColor: UIColor
  • Color used for border on text input field when its focussed

    Declaration

    Swift

    public var focussedTextInputBorderColor: UIColor
  • Color used for border around data input sections. Will require a borderWidth to be provided for border to be shown

    Declaration

    Swift

    public var borderColor: UIColor
  • Color used for border around text inputs. Will require a textInputBorderRadius to be provided for the border to be shown

    Declaration

    Swift

    public var textInputBorderColor: UIColor
  • Color used for border when a validated field is receiving an error. Will be used by errorBorder or errorTextInputBorder as setup

    Declaration

    Swift

    public var errorBorderColor: UIColor

Border formatting