Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt

Use this file to discover all available pages before exploring further.

Final Class UI customization for the hosted checkout page.
final class CrossmintCheckoutAppearance
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

const CrossmintCheckoutAppearance({this.variables, this.rules, this.fonts})

Properties

variables

final Map<String, Object?>? variables
CSS custom properties for theming (e.g. {'colorPrimary': '#0F172A'}).

rules

final Map<String, Object?>? rules
CSS rules for specific checkout elements (e.g. {'.Input': {'borderColor': '#CBD5E1'}}).

fonts

final List<Map<String, String>>? fonts
Custom font definitions (e.g. [{'cssSrc': 'https://fonts.googleapis.com/...'}]).

Methods

toJson

Map<String, Object?> toJson()
Serializes the appearance configuration to a JSON-compatible map.