data class CheckoutAppearanceVariables(val fontFamily: String? = null, val spacingUnitLength: CheckoutLength? = null, val fontSizeUnitLength: CheckoutLength? = null, val cornerRadius: CheckoutLength? = null, val colors: CheckoutVariablesColorStyle? = null)
Constructors
constructor(fontFamily: String? = null, spacingUnitLength: CheckoutLength? = null, fontSizeUnitLength: CheckoutLength? = null, cornerRadius: CheckoutLength? = null, colors: CheckoutVariablesColorStyle? = null)
Properties
| Property | Type | Description |
|---|---|---|
colors | CheckoutVariablesColorStyle? | The global colors. |
cornerRadius | CheckoutLength? | The corner radius of the checkout elements, for example CheckoutLength.px(8). The corner radius of a rule, such as CheckoutInputRule.cornerRadius, has priority over it. |
fontFamily | String? | The CSS font-family value for all the checkout text, for example "Inter, sans-serif". If the device does not have the font, load the font with CheckoutAppearance.fonts. |
fontSizeUnitLength | CheckoutLength? | The base unit of all the checkout font sizes, for example CheckoutLength.px(4). The checkout sets each font size as a multiple of this unit. A CheckoutFontStyle.fontSize in a rule has priority over this unit. |
spacingUnitLength | CheckoutLength? | The base unit of all the checkout spacing, for example CheckoutLength.px(4). The checkout sets the space around and inside each element as a multiple of this unit. |
Deprecated
borderRadius
Deprecated. Use cornerRadius instead.
val borderRadius: String?
fontSizeUnit
Deprecated. Use fontSizeUnitLength instead.
val fontSizeUnit: String?
spacingUnit
Deprecated. Use spacingUnitLength instead.
val spacingUnit: String?

