3 colors
="blue yellow brown grey green violet red purple navy sea_blue emerald hot_orange white"
7 for color
in $colors; do
9 echo "Generating PNGs for the color: $color"
12 mkdir
-p ..
/pngs
/$color;
13 cp $color/*.svg ..
/pngs
/$color/
16 #cleanup from previous pngs
19 for icon
in $
(ls *.svg
); do
20 if [ "$icon" != "half-busy.svg" ] && [ "$icon" != "fleur.svg" ];
22 inkscape
--without-gui --export-png=$
( echo $icon |
sed s
/.svg
// ).png
--export-dpi=72 --export-background-opacity=0 --export-width=$SIZE --export-height=$SIZE $icon 2> /dev
/null
;
24 inkscape
--without-gui --export-png=$
( echo $icon |
sed s
/.svg
// ).png
--export-background-opacity=0 --export-width=32 --export-height=32 $icon 2> /dev
/null
;