Initializers
init(family:size:weight:)
Creates a font style.init(family:size:weight:)
Creates a font style from CSS strings.init(family:size:weight:) instead.
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 CheckoutFontStyle
init(family: String? = nil, size: CheckoutFontSize? = nil, weight: CheckoutFontWeight? = nil)
init(family: String? = nil, size: String? = nil, weight: String? = nil)
init(family:size:weight:) instead.
Decodable.init(from:).
init(from decoder: any Decoder) throws
| Property | Type | Description |
|---|---|---|
family | String? | The CSS font-family value, for example "Inter, sans-serif". |
size | CheckoutFontSize? | The font size. |
weight | CheckoutFontWeight? | The font weight. |
Was this page helpful?
