Skip to main content
Structure The colors that every element of the checkout inherits.
To change the colors of one element, use CheckoutColorStyle in a rule.

Initializers

init(from:)

Inherited from Decodable.init(from:).

init(textPrimary:textSecondary:backgroundPrimary:borderPrimary:danger:warning:accent:)

Creates the global colors.

init(textPrimary:textSecondary:backgroundPrimary:borderPrimary:danger:warning:accent:)

Creates the global colors from CSS color strings.
Use init(textPrimary:textSecondary:backgroundPrimary:borderPrimary:danger:warning:accent:) instead.

Instance Properties