Skip to main content
Structure The colors of one checkout element.
Each element reads only the keys that apply to it. A key the element does not use has no effect.

Initializers

init(from:)

Inherited from Decodable.init(from:).

init(text:background:backgroundPrimary:border:boxShadow:placeholder:)

Creates a color style from CSS color strings.
Use init(text:background:backgroundPrimary:border:boxShadow:placeholder:) instead.

init(text:background:backgroundPrimary:border:boxShadow:placeholder:)

Creates a color style.

Instance Properties