Skip to content
A symbolic weather icon set
Shell
Branch: master
Clone or download
Latest commit 464e542 Mar 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SVG fix breeze.svg Feb 20, 2016
.editorconfig add .editorconfig file Jul 10, 2016
CREDITS.md initial release Sep 3, 2015
LICENSE Update LICENSE Mar 3, 2019
README.md Update README.md May 2, 2018
icons.svg tweak preview Jul 10, 2016
index.txt replace snowflake icon with breeze Feb 16, 2016
preview.png tweak preview Jul 10, 2016
render-pngs cleanup rendering script Sep 4, 2016

README.md


A set of 120 weather based svg icons.


Rendering png's

The render-pngs.sh script will render png's from the icons.svg file by looping over the content of the index.txt file. Only objects whoes id's are inside the index.txt file will be rendered.

  • The script requires Inkscape and sed.

  • You can provide an icon size (single number). If you skip it, the icons default dimensions will be used.

  • You can provide an icon color. If you skip it, the default color will be used.

  • The script doesn't overwrite files. Delete the file you want to overwrite before executing the script.

NOTE:
If you change the icon color swatch in the icons.svg file, update the default_color variable inside the render-pngs script, otherwise the script won't be able to change the png color during rendering.


Pseudo-artboards

Since inkscape doesn't have artboards, the icon.svg file provides pseudo-artboard support by grouping each icon with a rectangle, which represents the icon's canvas (32x32 in this set.)

The groups are given id's which represent the name of the exported png.

NOTE:
Color swatches are provided in the icons.svg file for easily changing the icon and grid colors as well as for hiding the icon-canvas rectangles before exporting.

You can’t perform that action at this time.