Palette
public struct Palette
Structure describing colors that are configurable
-
Initializes the palette with default colors
Declaration
Swift
public init()
-
Initializes the palette with specified colors
Declaration
Swift
public init(primaryBackgroundColor: UIColor, primaryForegroundColor: UIColor)
Parameters
primaryBackgroundColor
Color applied to background of primary UI elements - e.g. tint of bars/buttons
primaryForegroundColor
Color applied to foreground of primary UI elements - e.g. text on bars/buttons