Skip to content

Re-export every logo and give light variants a white background - #33

Merged
codecalm merged 1 commit into
mainfrom
feat/re-export-logos
Aug 26, 2026
Merged

codecalm merged 1 commit into
mainfrom
feat/re-export-logos

Conversation

@codecalm

Copy link
Copy Markdown
Member

Summary

  • Re-exported all 338 logos from the new Payment variant set in Figma, through import/ and pnpm run import-payments.
  • Every light logo now has a solid white background. The export frames wrap an instance of Payment, and contentsOnly only drops the frame's own fill, not the instance's, so the component background ends up in the SVG. Before this branch 162 of 169 light files were transparent and 7 were not; now all 169 are white and consistent. Anyone placing a light logo on a colored background will see the change.
  • SVGO cuts the payload from 1.78 MB to 814 KB (−54%) and prefixes gradient ids. 23 files used to ship generic names like paint0_linear_115_1009, which could collide when light and dark render in the same document — exactly what the preview page does.
  • Five logos are genuinely redrawn: Interac (also resized from 100x70 to 100x60), Oxxo, Eway, Blik and Ripple.

Preview

  • URL: preview link (behind Vercel login)
  • How to test: Check Interac, Oxxo, Eway, Blik and Ripple in both sections — those are the only ones that should look different. Everything else must look unchanged. In the light section the tiles are now opaque white, so watch for white corners poking out of the rounded borders.

Notes / rollout

  • Three patch changesets: the white background, the SVG optimization, and the redrawn logos. All four packages are in a fixed group, so they release together on one version.
  • No exports were removed or renamed, and no file was added or deleted — all 338 are modifications.
  • Verified by rendering every SVG before and after on a white background and comparing pixels: only those 5 providers exceed 0.5% RMSE (max 2.4% on Oxxo); the rest is rounding noise from the re-export.

Exports all 338 frames through import/ and pnpm run import-payments, so
SVGO runs over the whole set again. Two things change for consumers.

Light logos now carry a solid white background. The export frames hold
an instance of the Payment component, and contentsOnly only drops the
frame's own fill, not the instance's, so the component background lands
in the SVG. Before, 162 of 169 light files were transparent and 7 were
not; now all 169 are white, which at least makes them consistent.

SVGO cuts the payload from 1.78 MB to 814 KB and finally prefixes the
gradient ids: 23 files used to ship generic names like paint0_linear_115
that could collide when light and dark render in one document, as they
do on the preview page.

Rendering every file before and after on a white background and
comparing pixels, only 5 providers differ from origin/main by more than
0.5% RMSE: interac, oxxo, eway, blik and ripple. The rest is rounding
noise from the re-export.
@changeset-bot

changeset-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 21c1ed7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@tabler/payments-react Patch
@tabler/payments-vue Patch
@tabler/payments-preact Patch
@tabler/payments-astro Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tabler-payments Ready Ready Preview Aug 26, 2026 9:12pm

Request Review

@codecalm
codecalm merged commit 19092a7 into main Aug 26, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
Preview — 21c1ed7e Deployed Aug 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant