CheckoutAppearanceRules to override single elements.
Initializers
init(fontFamily:fontSizeUnit:colors:)
Creates the variable set.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 CheckoutAppearanceVariables
CheckoutAppearanceRules to override single elements.
init(fontFamily: String? = nil, fontSizeUnit: CheckoutFontSize? = nil, colors: CheckoutVariablesColorStyle? = nil)
Decodable.init(from:).
init(from decoder: any Decoder) throws
| Property | Type | Description |
|---|---|---|
colors | CheckoutVariablesColorStyle? | The global colors. |
fontFamily | String? | The CSS font-family value of all the checkout text, for example "Inter, sans-serif". |
fontSizeUnit | CheckoutFontSize? | The base unit of all the checkout font sizes, for example .px(4). |
Was this page helpful?
