Background goal
[2023-01-31 13:50:19 PST] catrope:~/git/codex/packages/codex-icons/src/images (main)$ wc -c logo-* 828 logo-CC.svg 4819 logo-MediaWiki.svg 3258 logo-MetaWiki.svg 1091 logo-Wikibooks.svg 423 logo-Wikidata.svg 2217 logo-Wikifunctions.svg 851 logo-Wikimedia-Commons.svg 370 logo-Wikimedia-Discovery.svg 628 logo-Wikimedia.svg 206738 logo-Wikinews.svg 762 logo-Wikipedia.svg 798 logo-Wikiquote.svg 4614 logo-Wikisource.svg 1992 logo-Wikispecies.svg 1581 logo-Wikiversity.svg 444 logo-Wikivoyage.svg 20630 logo-Wiktionary.svg
Most icon SVGs are a couple hundred bytes. Some of the logos are bit bigger, a couple of kilobytes, which is fine. But the Wiktionary logo is 20KB, and the Wikinews logo is 204KB. These icons also contain way too much detail to be useful as 20x20px icons.
We should make the Wikinews logo SVG smaller. It makes up 0.37% of all icons by number (1 of 273), but 59.7% by volume (206KB out of 346KB). In other words, adding this one icon made the icons package 2.5x bigger. We should also try to make the Wiktionary logo smaller, but that one isn't quite as absurdly large as the Wikinews icon.
Current Wikinews logo | Current Wikitionary logo |
Proposal
Simplify the logos and make them 20x20px. Proposals captured in this Figma exploration file.
Wikinews | Wikitionary |
SVG icons
They will be added here once they are done.
Acceptance criteria (or done)
- Design a simplified version of the logo in 20x20px
- Wikinews
- Wikitionary
- Replace the logo in code