Style

public enum Style : String, Codable, CaseIterable

MARK: Default colors The named category or style for a given color.

  • The color white.

    Declaration

    Swift

    case white
  • The primary color for the application.

    Declaration

    Swift

    case primary
  • The secondary color for the application.

    Declaration

    Swift

    case secondary
  • The accent color for the application.

    Declaration

    Swift

    case accent
  • The color to use on screens and icons that indicate success.

    Declaration

    Swift

    case successGreen
  • The color to use on screens and icons that indicate an error or alert.

    Declaration

    Swift

    case errorRed
  • A custom color should be defined for a given screen or icon. For example, a picture that shows someone running outside would have a sky blue background color that is defined independantly of the branding colors used by an app.

    Declaration

    Swift

    case custom