"#1A1A1A" or "rgb(26, 26, 26)". Each element reads only the keys that apply to it. A key the element does not use has no effect.
Initializers
init(from:)
Inherited fromDecodable.init(from:).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutColorStyle
"#1A1A1A" or "rgb(26, 26, 26)". Each element reads only the keys that apply to it. A key the element does not use has no effect.
Decodable.init(from:).
init(from decoder: any Decoder) throws
init(text: String? = nil, background: String? = nil, backgroundPrimary: String? = nil, border: String? = nil, boxShadow: String? = nil, placeholder: String? = nil)
| Property | Type | Description |
|---|---|---|
background | String? | The background color. |
backgroundPrimary | String? | The primary background color. |
border | String? | The border color. |
boxShadow | String? | The CSS box-shadow value, for example "0 0 0 2px #0066FF". |
placeholder | String? | The placeholder text color. |
text | String? | The text color. |
Was this page helpful?
