Protocol
ColorProviding
public protocol ColorProviding
A type that can provide colors for Tink views.
Relationships
Types Conforming to ColorProviding
ColorProvider
A type that can provide custom colors for Tink views.
Requirements
background
var background: UIColor
Color for the main background of the interface.
secondaryBackground
var secondaryBackground: UIColor
Color for content layered on top of the main background.
label
var label: UIColor
Primary text color.
secondaryLabel
var secondaryLabel: UIColor
Secondary text color.
separator
var separator: UIColor
Color for separators.
accent
var accent: UIColor
Colors for buttons, indicators and other similar elements.
accentBackground
var accentBackground: UIColor
Colors for background of buttons, indicators and other similar elements.
button
var button: UIColor
Color for primary buttons.
buttonLabel
var buttonLabel: UIColor
Color for the primary buttons label.
secondaryButton
var secondaryButton: UIColor?
Color for secondary buttons. Defaults to accent color.
tertiaryButton
var tertiaryButton: UIColor?
Color for tertiary buttons. Defaults to accent color.
tertiaryButtonBackground
var tertiaryButtonBackground: UIColor?
Color for the background of smaller buttons. Defaults to accentBackground color.
chevronButton
var chevronButton: UIColor?
Color for chevron buttons. Defaults to accent color.
chevronButtonDisabled
var chevronButtonDisabled: UIColor?
Color for disabled chevron buttons. Defaults to a disabled chevronButton color with 20% alpha.
groupedBackground
var groupedBackground: UIColor?
Color for the main background of grouped interface components. Defaults to background
if nil
.
secondaryGroupedBackground
var secondaryGroupedBackground: UIColor?
Color for content layered on top of the main background of grouped interface components. . Defaults to secondaryBackground
if nil
.
expenses
var expenses: UIColor
Color to represent expenses.
income
var income: UIColor
Color to represent incomes.
transfers
var transfers: UIColor
Color to represent transfers.
uncategorized
var uncategorized: UIColor
Color representing uncategorized transactions.
warning
var warning: UIColor
Color representing a warning.
critical
var critical: UIColor
Color representing a critical error.
leftToSpend
var leftToSpend: UIColor
Color to represent left to spend.
expensesIconColor
var expensesIconColor: UIColor?
Color representing a expenses icon.
incomeIconColor
var incomeIconColor: UIColor?
Color representing a income icon.
transfersIconColor
var transfersIconColor: UIColor?
Color representing a transfer icon.
uncategorizedIconColor
var uncategorizedIconColor: UIColor?
Color representing a ucnategorized icon.
expensesIconBackgroundColor
var expensesIconBackgroundColor: UIColor?
Color representing a expenses icon background.
incomeIconBackgroundColor
var incomeIconBackgroundColor: UIColor?
Color representing a income icon background.
transfersIconBackgroundColor
var transfersIconBackgroundColor: UIColor?
Color representing a transfer icon background.
uncategorizedIconBackgroundColor
var uncategorizedIconBackgroundColor: UIColor?
Color representing a uncategorized icon background.