theme object to the RampWidget constructor.
Applying a theme
Pass thetheme property when initializing the widget:
Theme interface
The full TypeScript interface for thetheme object is:
Customize SpherePay’s Ramp Widget colors, border radius, and logo to match your application’s brand. Pass a theme object to the RampWidget constructor.
theme object to the RampWidget constructor.
theme property when initializing the widget:
theme object is: