NixOS / nixos-artwork

Nix related artwork

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minify logo svg in nix-snowflake.svg

milahu opened this issue · comments

The SVG files here are source documents, they include the "very verbose" inkscape stuff because it's used for authoring. E.g. there are elements to help align the logo with correct distances from text elements. Or hidden variants of the logo (flat colours vs. shaded).

If you need a minified SVG, either minify a copy where you need it, or use a build step that minifies as needed.

(more of a general note for other contributors, not aimed at you specifically) Merging similar changes would be a net loss for further authoring tasks. Not unlike deciding to minify comments and formatting out of a codebase.

I'd even go as far as saying inkscape really should save files as .svgi or something like that to better cement the fact that the documents are "special" :).

can we haz both in one repo?

similar to the srcdist folders

edit: not trivial ... running svgo on the nix-snowflake.svg file brings it from 26 KByte to 7 KByte, but should be only 1 KByte (yay micro optimizations)