Skip to content

feat(react,elements): white-label theming API for the checkout widget #45

Description

@aguilar1x

Context

The checkout widget shipped in the first campaign (#15, #16) is visually generic. Merchants integrating a payment widget into their own product expect to match their brand — without that, adoption stalls at the demo stage.

Scope

  • A theming API (CSS custom properties / design tokens) covering colors, typography, border-radius, and spacing, consumable by both connect-react and connect-elements.
  • Logo/brand-mark injection into the checkout header.
  • Locale/i18n support for widget copy (starting with en/es, matching Pacto's SINPE/SPEI regional focus).

Acceptance criteria

  • A merchant can restyle the widget to match their brand using only documented CSS variables, no fork required.
  • The same theme config works identically in the React component and the web-component build.
  • Widget copy renders correctly in both supported locales, with a documented path to add more.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26area:widgetReact widget / elements

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions