Initializers
init(family:size:weight:)
Creates a font style.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: String? = nil, weight: String? = nil)
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 | String? | The CSS font-size value, for example "14px". |
weight | String? | The CSS font-weight value, for example "600". |
Was this page helpful?
