Colors
@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
public enum Colors
Color palette helper accessing colors and it’s variations.
-
red and it’s associated variations
Declaration
Swift
case red(RedSubType)
-
green and it’s associated variations
Declaration
Swift
case green(GreenSubType)
-
blue and it’s associated variations
Declaration
Swift
case blue(BlueSubType)
-
gray and it’s associated variations
Declaration
Swift
case gray(GraySubType)
-
teal color
Declaration
Swift
case teal
-
lavender color
Declaration
Swift
case lavendar
-
orange color
Declaration
Swift
case orange
-
black color
Declaration
Swift
case black
-
yellow and it’s associated variations
Declaration
Swift
case yellow(YellowSubType)
-
cyan color
Declaration
Swift
case cyan
-
ploar color
Declaration
Swift
case polar
-
Color palette for all gray variations
See moreDeclaration
Swift
public enum GraySubType
-
Color palette for all green variations
See moreDeclaration
Swift
public enum GreenSubType
-
Color palette for all blue variations
See moreDeclaration
Swift
public enum BlueSubType
-
Color palette for all yellow variations
See moreDeclaration
Swift
public enum YellowSubType
-
Color palette for all red variations
See moreDeclaration
Swift
public enum RedSubType
-
alias to
Color
Declaration
Swift
public typealias RawValue = Color
-
returns the desired color based on the switch case matching criteria
Declaration
Swift
public var rawValue: RawValue { get }