Skip to main content
Structure Global color variables. These use different keys than the per-element CheckoutColorStyle used in rules: the checkout reads textPrimary/textSecondary/borderPrimary/etc. at the variables level.

Initializers

init(from:)

Inherited from Decodable.init(from:).

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

Creates the global colors.

Instance Properties