Contributing
vnlogos grows one logo at a time. If you saw a bank or shop on a statement and it is not here, it should be. You can suggest it in a minute, or add it yourself with a pull request.
Last updated 29 November 2026
Suggest a logo
The quickest way: open an issue with the name of the bank, brand or dish, how it is printed on your statement, and a link to an official logo if you have one. That is all the maintainer needs.
Add or update a logo
- Pick an id. Lower case, kebab-case, no diacritics:
phuc-long,bach-hoa-xanh. Banks use their short code:vcb,tcb. - Add the file. A brand is
logos/brands/<id>.png, square and at least 512 px. A bank islogos/banks/<id>.svg(preferred) or a PNG at most 240 px high; if a one-colour fill would cover a detail, add a mask as<id>-mono.svg. SVGs must not contain scripts. - Add the data to
data/brands.jsonordata/banks.json: name, colours, statement spellings, category and MCCs for a brand; colours and the credit-card page for a bank. - Run the checks. The build fails on a missing file, a bad colour, a duplicate id or a tile that is not square.
- Open a pull request with a link to where the logo came from.
npm test
npm run readmeSources we accept
- The brand's own website or press kit.
- Its official App Store or Google Play icon.
- Wikimedia Commons.
No redrawn, fan-made, AI-generated or seasonal versions. The legal notice explains why.
Draw a dish
Dishes are drawn for vnlogos, so the rules are about style rather than sources. Each dish has two SVGs on a 200 × 200 view box: logos/dishes/<id>.svg, the dish in three-quarter view on a clear ground, and <id>-seal.svg, the same drawing in a round stamp with the region's colour, the name on top and the hometown below. Prefix every internal id with <id>- so drawings can share a page, then add the entry to data/dishes.json.
Work on the code
The package has no runtime dependencies; keep it that way. scripts/build.mjs turns data/ and logos/ into dist/, and src/ holds the hand-written parts. The website lives in site/.
npm run site
python3 -m http.server -d _siteBy contributing you agree that your code and data are released under the MIT license.