ADR

ADR: why THYKO doesn't use real store logos

The obvious way to make a loyalty card recognizable is to show the store’s real logo. It’s what your physical card already does, it’s what most competing wallet apps do, and it’s what THYKO did too — for about a week, in August.

What I actually built first

shared/merchants/ started as a real catalog: 29 merchants with a color, a category, and — for 20 of them — a real logo. Nothing was scraped carelessly: every single logo came from Wikimedia Commons, and every license tag was confirmed by hand on that file’s actual Commons page, not assumed from a search result. A sources.json file tracked the provenance of each one. Android bundled them as assets and rendered them through Coil; the display priority was the user’s own card photo first, then a verified bundled logo, then a generated monogram as the fallback.

It didn’t stay subtle, either. A follow-up gave verified logos (and user photos) a large, centered “hero” placement on the card — deliberately modeled on how Klarna’s loyalty wallet does it, rather than inventing a new layout from scratch.

Where it broke

Nine of the merchants I checked — Esselunga, Conad, Carrefour, IKEA, Unieuro, Trony, Leroy Merlin among them — had no freely-redistributable logo anywhere on Commons. These aren’t obscure edge cases; they’re some of the most common cards anyone in Italy would actually add first. The catalog could only ever cover a fraction of real merchants, and which fraction was pure luck of what happened to be properly licensed on Commons that week — nothing to do with how big or recognizable the store actually is.

That’s a worse experience than no logos at all: some cards would look “real,” most wouldn’t, for reasons no user could guess or control. A coverage problem dressed up as a feature.

The reversal

That same week, I retired the whole catalog — the logo files, sources.json, the Coil/SVG plumbing — and replaced it with something that scales to every merchant instead of the lucky ~20: each merchant’s real brand color, plus a pattern drawn procedurally over it. No image asset, so no redistribution question to begin with — it’s shapes over a color, not a reproduction of anyone’s actual design. Unrecognized merchants get a pattern derived deterministically from their name, so the fallback looks just as intentional as the curated cases. A user’s own photo of their card still always wins, exactly like before — that part never changed.

iOS Android
Pattern on a real card THYKO card detail on iOS, showing a generative pattern THYKO card detail on Android, showing a generative pattern

It kept evolving after the pivot

The first pattern set was 5 shapes (diagonal, dots, waves, grid, plus none), each drawn the same way for everyone. A later pass rebuilt it into a proper engine: 19 patterns, each a deterministic function of the merchant name and pattern id, so the same merchant always renders the same way on any device — without storing anything extra, and without it ever entering the shared card-sharing payload. It took two rounds of visual iteration to get there: the first version used a few bold filled shapes that read as “graphic” rather than premium; what actually worked was many thin, low-alpha elements fading smoothly across the card, tuned against a saturated red test card until it held up.

Growing the pattern library also surfaced a real bug: the validator on both platforms that checks whether an imported card is a valid THYKO card had a hardcoded 5-pattern allow-list left over from the original set. A card using any of the 14 new patterns would fail validation and get rejected as corrupt on a receiving device during sharing — a quiet trap that only showed up once the pattern library actually grew. Both validators now derive their allow-list from the pattern definitions themselves, so that category of bug can’t come back.

A design-review pass after that fixed two more things worth noting: neighboring merchants in the curated list were still assigned patterns from the old 5-shape era, so several unrelated stores looked like “the same texture, recolored” even with 19 patterns available — re-curated so no two adjacent merchants share one. And two cards from the same merchant (a duplicate club card, a second membership tier) were rendering pixel-identical, which read as a bug the moment you actually had two of them — the per-card variation now seeds on the card’s own id instead of the merchant name, so same-merchant cards look like a visual family without being indistinguishable.

Where it landed

No real logos, by design — not a legal workaround, but the only version of “recognizable at a glance” that actually covers every merchant equally, scales to merchants I’ve never heard of, and carries zero copyright exposure. The screenshots above are what that looks like today, on a real card, on both platforms.