ThemeConfiguration
public class ThemeConfiguration: NSObjectThis class gives you options to customize the theme of the library.
The library offers by default a theme for light and dark mode. If your app supports
both themes too, make sure to use UIColor.init(dynamicProvider:)
when creating custom themes.
We recommend you to start by customizing linkColor before anything else,
as this is often used as a fallback color.
- 
                  
                  Background color of the navigation bars. If this is not specified, the navigation bars will be transparent. DeclarationSwift public var barBackgroundColor: UIColor?
- 
                  
                  Color of the buttons in the navigation bars. If this is not specified, the color will be the color set in linkColor.DeclarationSwift public var barLinkColor: UIColor?
- 
                  
                  Color of the title within the navigation bars. If this is not specified, the color will be the text color. The text color is either white or black and cannot be customized. DeclarationSwift public var barTitleColor: UIColor?
- 
                  
                  Background color of large buttons, such as the ‘Pay’ button. If this is not specified, the color will be the color set in linkColor.DeclarationSwift public var buttonColor: UIColor?
- 
                  
                  Text color of large buttons, such as the ‘Pay’ button. If this is not specified, the color will be set to white. DeclarationSwift public var buttonTextColor: UIColor?
- 
                  
                  Color of text-only buttons or links and the text cursor. If this is not specified, the color will be in a blue tone that fits the standard iOS design. DeclarationSwift public var linkColor: UIColor?
 View on GitHub
View on GitHub