Color

public protocol Color: Equatable

Color protocol

  • The hex value of the color.

    Declaration

    Swift

    var resourceId: String
  • The id of the color.

    Declaration

    Swift

    var label: String
  • hex

    For pattern style colors that can\‘t be defined with a hex code (e.g. plaid, stripes)

    Declaration

    Swift

    var hex: String?
  • The display name of the color.

    Declaration

    Swift

    var imagePattern: ImageResourceType?