blob: 4df0fb91b1aa7d84a6b8033f39a853ce6aff113f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Raster logo exports
Every approved SVG in the parent `logos/` directory is exported as lossless PNG and WebP on square transparent canvases at 16, 32, 48, 64, 128, 256, 512 and 1024 pixels.
- Use 16, 32 or 48 pixels for browser and compact UI contexts.
- Use 64 or 128 pixels for navigation, launchers and dense application surfaces.
- Use 256 or 512 pixels for avatars, profile images and app tiles.
- Use 1024 pixels for high-density profiles and large application artwork.
- Prefer the Carbon-backed `*-icon` assets for favicons, avatars and app tiles. Flat and monochrome assets retain transparent backgrounds.
Packet Warriors source symbols use a 5:4 viewBox. The exports center them without distortion on the square canvas; no path geometry or internal negative space is changed.
Run `python3 tools/build_logo_assets.py` from the repository root after an approved SVG is added or changed. ImageMagick 7 is required. The generator also updates `manifest.json` and `logos/logo-library.js`, which supplies the style-guide catalogue.
|