3.0.0-beta.3 • Published 6 years ago
@kano/kwc-icons v3.0.0-beta.3
\<kwc-icons>
All Kano icons, broken up by category Edit
Installation
Clone this repository.
Run bower i
Install the Polymer-CLI
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
Viewing Your Element
$ polymer serve
Running Tests
$ polymer test --skip-plugin junit-reporter
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Adding new icons
- Go to SVG-edit
- Click on top left "SVG-edit" icon and then on "document properties"
- Set canvas dimensions to 64x64px
- Import your SVG
- Resize and center align (if you click on the svg shape you will have an alignment tool on the toolbar)
- Get the
<path>
or the entire<g>
by clicking on the icon next to the "SVG-edit" (the one that will show you the svg source code) - Add you your icon list stripping any
stroke
,id
or anything else that is not needed.