ColorType
enum ColorType
extension ColorType : Equatable, Hashable
The ColorType enum allows methods that configure the various default components such as labels and the like throughout the codebase to easily reference groupings of colors for foregrounds and background.
-
Black Text color that defaults to
UIColor.black
for both dark and light modeDeclaration
Swift
case blackText
-
The typical color used to denote the label of a button, usually this is white.
Declaration
Swift
case buttonNormalText
-
Button background color that denotes a call to action
Declaration
Swift
case callToActionBlueButton
-
A
UIColor
representation of the enum case type.Declaration
Swift
var color: UIColor { get }
-
Dark gray color with a hex value of 687173
Declaration
Swift
case darkGray1
-
Dark gray color with a hex value of 979797
Declaration
Swift
case darkGray2
-
Dark orange color with hex value of FF9600
Declaration
Swift
case darkOrange
-
Usually a red coloring that indicates failure or undesired outcome
Declaration
Swift
case error
-
Color for paysheet highlight when long pressed
Declaration
Swift
case highlightedBlueBackground
-
Standard Label color that defaults to
UIColor.label
Declaration
Swift
case label
-
If card background color is Dark, then label will be light grey
Declaration
Swift
case labelOnDarkBackground
-
If card background color is Light, then label will be dark grey
Declaration
Swift
case labelOnLightBackground
-
Light gray color with a hex value of CBD2D6
Declaration
Swift
case lightGray1
-
Light gray color with a hex value of EAECED
Declaration
Swift
case lightGray2
-
Light gray color with a hex value of DBD8D0
Declaration
Swift
case lightGray3
-
Light orange color with hex value of FFFBF5
Declaration
Swift
case lightOrange
-
Color for Cart details line items label
Declaration
Swift
case lineItemLabel
-
Color for Cart details line items detail label
Declaration
Swift
case lineItemSecondaryLabel
-
Link color that defaults to
UIColor.link
Declaration
Swift
case link
-
Opaque Separator color that defaults to
UIColor.opaqueSeparator
Declaration
Swift
case opaqueSeparator
-
Black color for payment button
Declaration
Swift
case paymentButtonBlack
-
Highlighted black color for payment button
Declaration
Swift
case paymentButtonBlackHighlighted
-
Blue color for payment button
Declaration
Swift
case paymentButtonBlue
-
Highlighted blue color for payment button
Declaration
Swift
case paymentButtonBlueHighlighted
-
Dark blue color for payment button
Declaration
Swift
case paymentButtonDarkBlue
-
Highlighted dark blue color for payment button
Declaration
Swift
case paymentButtonDarkBlueHighlighted
-
Gold color for payment button
Declaration
Swift
case paymentButtonGold
-
Highlighted gold color for payment button
Declaration
Swift
case paymentButtonGoldHighlighted
-
Color for payment button’s loading indicator
Declaration
Swift
case paymentButtonLoadingIndicator
-
Silver color for payment button
Declaration
Swift
case paymentButtonSilver
-
Highlighted silver color for payment button
Declaration
Swift
case paymentButtonSilverHighlighted
-
White color for payment button
Declaration
Swift
case paymentButtonWhite
-
Highlighted white color for payment button
Declaration
Swift
case paymentButtonWhiteHighlighted
-
Placeholder Text color that defaults to
UIColor.placeholderText
Declaration
Swift
case placeholderText
-
Dark gray color for placeholder text
Declaration
Swift
case placeholderTextDarkGray
-
An indicator as to which coloring should apply to primary or active controls
Declaration
Swift
case primary
-
Quaternary Label color that defaults to
UIColor.quaternaryLabel
Declaration
Swift
case quaternaryLabel
-
Quaternary System Fill color that defaults to
UIColor.quaternarySystemFill
Declaration
Swift
case quaternarySystemFill
-
Secondary Label color that defaults to
UIColor.secondaryLabel
Declaration
Swift
case secondaryLabel
-
Secondary System Background color that defaults to
UIColor.secondarySystemBackground
Declaration
Swift
case secondarySystemBackground
-
Secondary System Fill color that defaults to
UIColor.secondarySystemFill
Declaration
Swift
case secondarySystemFill
-
Secondary System Grouped Background color that defaults to
UIColor.secondarySystemGroupedBackground
Declaration
Swift
case secondarySystemGroupedBackground
-
Color for paysheet selection background
Declaration
Swift
case selectedBlueBackground
-
Color for paysheet selection border
Declaration
Swift
case selectedBlueBorder
-
Color for label when the row is highlighted
Declaration
Swift
case selectedBlueLabelColor
-
Separator color that defaults to
UIColor.separator
Declaration
Swift
case separator
-
Shadow color that defaults to
UIColor.systemBlack
Declaration
Swift
case shadow
-
Usually a green color that indicates success or positive output
Declaration
Swift
case success
-
System Background color that defaults to
UIColor.systemBackground
Declaration
Swift
case systemBackground
-
System Blue color that defaults to
UIColor.systemBlue
Declaration
Swift
case systemBlue
-
System Fill color that defaults to
UIColor.systemFill
Declaration
Swift
case systemFill
-
System Gray color that defaults to
UIColor.systemGray
Declaration
Swift
case systemGray
-
System Gray2 color that defaults to
UIColor.systemGray2
Declaration
Swift
case systemGray2
-
System Gray3 color that defaults to
UIColor.systemGray3
Declaration
Swift
case systemGray3
-
System Gray4 color that defaults to
UIColor.systemGray4
Declaration
Swift
case systemGray4
-
System Gray5 color that defaults to
UIColor.systemGray5
Declaration
Swift
case systemGray5
-
System Gray6 color that defaults to
UIColor.systemGray6
Declaration
Swift
case systemGray6
-
System Green color that defaults to
UIColor.systemGreen
Declaration
Swift
case systemGreen
-
System Grouped Background color that defaults to
UIColor.systemGroupedBackground
Declaration
Swift
case systemGroupedBackground
-
System Indigo color that defaults to
UIColor.systemIndigo
Declaration
Swift
case systemIndigo
-
System Red color that defaults to
UIColor.systemOrange
Declaration
Swift
case systemOrange
-
System Pink color that defaults to
UIColor.systemPink
Declaration
Swift
case systemPink
-
System Purple color that defaults to
UIColor.systemPurple
Declaration
Swift
case systemPurple
-
System Red color that defaults to
UIColor.systemRed
Declaration
Swift
case systemRed
-
System Teal color that defaults to
UIColor.systemTeal
Declaration
Swift
case systemTeal
-
System Yellow color that defaults to
UIColor.systemYellow
Declaration
Swift
case systemYellow
-
Tertiary Label color that defaults to
UIColor.tertiaryLabel
Declaration
Swift
case tertiaryLabel
-
Tertiary System Background color that defaults to
UIColor.tertiarySystemBackground
Declaration
Swift
case tertiarySystemBackground
-
Tertiary System Fill color that defaults to
UIColor.tertiarySystemFill
Declaration
Swift
case tertiarySystemFill
-
Tertiary System Grouped Background color that defaults to
UIColor.tertiarySystemGroupedBackground
Declaration
Swift
case tertiarySystemGroupedBackground
-
Default color for input in a
UITextField
.Declaration
Swift
case textField
-
The color of the left icon on the
TextInput
view.Declaration
Swift
case textInputLeftIconColor
-
Green color with hex value of 00CF92
Declaration
Swift
case toggleGreen
-
Color for taxes and fees labels
Declaration
Swift
case totalTaxesAndFeesLabel
-
Usually a semi-transparent gray
Declaration
Swift
case translucent
-
Completely invisible
Declaration
Swift
case transparent
-
Usually a yellow or yellow orange color indicating caution or warning
Declaration
Swift
case warning