Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

We built a white-label P2P money app on send21: here's how to rebrand it with one file

Описание и применение

Переименование P2P‑приложения dewby в один файл: редактирование web/brand.js, запуск npm run brand и npm test обеспечивают согласованность UI, манифеста и кошелька.

Задача

Rebranding a P2P money app while keeping brand data in a single file and ensuring consistency across UI, manifest, and wallet memo.

Результат

Rebranding is achieved with a single file edit and two npm commands, while automated tests ensure visual and functional consistency.

Рабочий процесс

  • Edit web/brand.js to set name, tagline, colors, storagePrefix, siteUrl, and icons.
  • Run npm run brand to rewrite manifest, title, theme color, share‑card meta, and redraw icons.
  • Run npm test to check WCAG AA contrast, manifest/HTML match, share‑card size, and absence of leftover send21 branding.

Доказательства

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.

Источник

  • Дата записи: 2026-10-16T10:41:02.165Z