Data Classes
CheckoutColorStyle
Kotlin Data Class
Data Class
The background color as a CSS string.
The border color as a CSS string.
The placeholder text color as a CSS string.
The text color as a CSS string.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kotlin Data Class
data class CheckoutColorStyle(val textColor: CheckoutColor? = null, val backgroundColor: CheckoutColor? = null, val backgroundPrimaryColor: CheckoutColor? = null, val borderColor: CheckoutColor? = null, val boxShadow: String? = null, val placeholderColor: CheckoutColor? = null)
constructor(textColor: CheckoutColor? = null, backgroundColor: CheckoutColor? = null, backgroundPrimaryColor: CheckoutColor? = null, borderColor: CheckoutColor? = null, boxShadow: String? = null, placeholderColor: CheckoutColor? = null)
| Property | Type | Description |
|---|---|---|
backgroundColor | CheckoutColor? | The background color. |
backgroundPrimaryColor | CheckoutColor? | The primary background color of the element. For the checkout as a whole, use CheckoutVariablesColorStyle.backgroundPrimaryColor instead. |
borderColor | CheckoutColor? | The border color. |
boxShadow | String? | The CSS box-shadow value. |
placeholderColor | CheckoutColor? | The color of the placeholder text. |
textColor | CheckoutColor? | The text color. |
val background: String?
val border: String?
val placeholder: String?
val text: String?
Was this page helpful?
