Skip to main content
Final Class UI customization for the hosted checkout page.
Supports three levels of customization:
  • variables — CSS custom properties (e.g. colorPrimary, borderRadius)
  • rules — CSS rules targeting specific elements (e.g. .Input, .Tab)
  • fonts — custom web fonts via cssSrc

Constructors

CrossmintCheckoutAppearance

Properties

variables

CSS custom properties for theming (e.g. {'colorPrimary': '#0F172A'}).

rules

CSS rules for specific checkout elements (e.g. {'.Input': {'borderColor': '#CBD5E1'}}).

fonts

Custom font definitions (e.g. [{'cssSrc': 'https://fonts.googleapis.com/...'}]).

Methods

toJson

Serializes the appearance configuration to a JSON-compatible map.