This is the Z-Lab wide Styleguide project, to be used by all the ventures. It can be previewed here: https://klickrent.github.io/zlab-style-guide/
Install it via npm:
npm install github:Klickrent/zlab-style-guide
- create a branch from master
- collect your svg images, one or more (please use the naming conventions: minus (-) to split the words and only lowercase letters, called kebab-case)
- copy svg images (one or more) into folder: src/images/zamicons/
- open
package.json
file and update the version number by incrementing the last number, i.e. 1.3.27, will become 1.3.28 - open
docs/index.html
. At the end of file, in the icons section, add a<li>
element putting the new icon in the right place (alphabetically sorted). The name of the icon has to be prefixed withzamicon-
, e.g.scan-asset
will becomezamicon-scan-asset
- run the build process:
./runtask.sh build
- test it (open
docs/index.html
in a browser) - Create a new tag in git with
git tag v1.x.x
to match the version in the package.json to indicate that the module has a new version to NPM - create a pull request
Some of the included icons are made by Gregor Cresnar and Freepik - distributed via www.flaticon.com. All are available under the CC 3.0 BY license.