CSS custom properties for @morapay/react
MorapayErrorView will read these before applying built-in defaults.
Tailwind className slots
className on the outer wrapper.
Vanilla toast styling today
MorapayUi.toast() injects self-contained styles (no Tailwind required). Customize behavior via options:
top-right (default), top-center, bottom-right, bottom-center.
Checkout widget theming
Pass theme params when opening the hybrid modal:openPreviewModal) supports design iteration without live charges. See the SDK sample app.
What not to style
The inner checkout canvas iframe (checkout.morapay.io) controls PCI-sensitive fields. Style the outer native shell and error components; do not attempt to inject CSS into the secure canvas.
Next step
Error handling.displayMessage vs message and uiHint severity levels.
