We built a white-label P2P money app on send21: here's how to rebrand it with one file
Description and use
Rebrand the dewby P2P app in one file: edit web/brand.js, run npm run brand and npm test to ensure UI, manifest, and wallet memo consistency.
Problem
Rebranding a P2P money app while keeping brand data in a single file and ensuring consistency across UI, manifest, and wallet memo.
Outcome
Rebranding is achieved with a single file edit and two npm commands, while automated tests ensure visual and functional consistency.
Workflow
- Edit web/brand.js to set name, tagline, colors, storagePrefix, siteUrl, and icons.
- Run
npm run brandto rewrite manifest, title, theme color, share‑card meta, and redraw icons. - Run
npm testto check WCAG AA contrast, manifest/HTML match, share‑card size, and absence of leftover send21 branding.
Evidence
Everything brand‑specific is in web/brand.js
Run npm run brand. It rewrites the manifest, title, theme color and share‑card meta, and redraws the icons from your mark.
Run npm test. It checks every text color for WCAG AA contrast, that the manifest and HTML match the brand file, the share card size, and that no stray send21 branding is left in the UI.
- Record date: 2026-10-16T10:41:02.165Z