ColorTheme
public protocol ColorTheme
                Create a new ColorTheme by creating a struct that conforms to this protocol. By default variant of the primary and text color is automatically computed based on the primary color. If a color of a view does not goes well, just override the paint function that correspond to its view (Use the apperance method for thet view or just leave the overriden method blank)
- 
                  
                  
Color that will displayed most frequently across the app.
Declaration
Swift
var primaryColor: UIColor { get } - 
                  
                  
Accent color that will be used for other components in the app.
Declaration
Swift
var secondaryColor: UIColor { get } - 
                  
primaryVariantColorDefault implementationLight or dark variant of the primary color.
Default Implementation
Declaration
Swift
var primaryVariantColor: UIColor { get } - 
                  
                  
Color to use for buttons that are disabled.
Declaration
Swift
var disabledButtonColor: UIColor? { get } - 
                  
                  
Color to use for buttons that are highlighted.
Declaration
Swift
var highlightedButtonColor: UIColor? { get } - 
                  
errorColorDefault implementationColor to use for indicating errors.
Default Implementation
Declaration
Swift
var errorColor: UIColor { get } - 
                  
textColorDefault implementationColor to use for the texts.
Default Implementation
Declaration
Swift
var textColor: UIColor { get } - 
                  
textInputColorDefault implementationColor to use for color of text of text input views.
Default Implementation
Declaration
Swift
var textInputColor: UIColor { get } - 
                  
barItemColorDefault implementationColor to use for items in a navigation bar, tab bar, and tool bar.
Default Implementation
Declaration
Swift
var barItemColor: UIColor { get } 
View on GitHub
        ColorTheme Protocol Reference