The interface that defines the styles available for customizing the appearance of the checkout. Refer to the guide on Styling Universal Checkout for more details and examples.
Properties
An array of FontFace
objects to specify custom fonts to be used in the checkout.
FontFace
An array of Stylesheet
objects to specify custom stylesheets to be used in the checkout.
Stylesheet
An object of type LoadingScreenStyle
to configure the loading screen that appears during checkout processing.
LoadingScreenStyle
An object of type InputStyles
to configure the appearance of input fields in the checkout.
InputStyles
An object of type InputStyle describing the base style of the input.
An object of type InputStyle describing the style of the input in an error state.
An object of type TextStyle
to configure the appearance of input field labels in the checkout.
TextStyle
An object of type TextStyle & TextAlignmentStyle
to configure the appearance of error text that appears below input fields.
TextStyle
TextAlignmentStyle
An object of type FormSpacings
to configure the spacing between form elements in the checkout.
FormSpacings
An object of type ShowMorePaymentMethodsButtonStyles
to configure the appearance of the "Show More Payment Methods" button in the checkout.
An object of type NetworkErrorStyles
to configure the appearance of the network error message that appears when the checkout cannot connect to the server.
NetworkErrorStyles
Properties
Properties
An object of type SubmitButtonStyles
to configure the appearance of the checkout's submit button.
SubmitButtonStyles
Defines the base style for the submit button. The value is an object of type SubmitButtonStyle.
Defines the style for the submit button when it's loading. The value is an object of type SubmitButtonStyle.
Defines the style for the submit button when it's loading. The value is an object of type SubmitButtonStyle.
An object of type TextStyle
to configure the appearance of the "Saved Payment Methods" title in the checkout.
TextStyle
An object of type SavedPaymentMethodButtonStyles
to configure the appearance of the buttons that represent saved payment methods in the checkout.
SavedPaymentMethodButtonStyles
An object of type SavedPaymentMethodButtonStyle that defines the style for the saved payment method button.
An object of type SavedPaymentMethodButtonStyle that defines the style for the saved payment method button when it's selected'.
An object of type PaymentMethodButtonStyle
to configure the appearance of the buttons that represent payment methods in the checkout.
PaymentMethodButtonStyle
An object of type Textstyle which describes the styling properties for the primary text in the payment method button.
An object of type ErrorMessageStyle
to configure the appearance of error messages that appear in the checkout.
ErrorMessageStyle
An object of type TextStyle
to configure the appearance of the small print that appears at the bottom of the checkout.