Paddle adds separate light and dark mode checkout styling
Brief
Paddle now supports separate light and dark mode colors for inline and hosted checkouts, plus new API endpoints to read and update checkout styles.
What changed
- Separate light and dark colors for inline and hosted checkouts, previewable in the Paddle dashboard
- Checkout styles split into shared settings (font, sizes, borders, button width, label position, padding) and mode-specific colors
- Overlay checkout still uses your brand color
API and implementation
- New GET /checkout-styles and PATCH /checkout-styles operations; updates are partial
- API key needs checkout_settings.read to get styles, checkout_settings.write to get and update
- Pass theme to Paddle.Checkout.open() or Paddle.Initialize(); defaults to light
Compatibility
- Non-breaking change available in version 1 of the Paddle API
- Existing custom colors now apply to both light and dark mode; unstyled checkouts get dark mode defaults
Generated by AI from the original article. Check the source for full details.