@dicehub/icons
3.9.11 • Public • Published dicehub svg icons
# install dependencies
$ yarn install
# optimize icons
$ yarn optimize
# create sprite from icons
$ yarn create-sprite
#for optimize and create-sprite
$ yarn build
$ yarn release
Run results localy
How-to
Add icon
- Export from icons design whole frame in SVG format ('# name' - Frame in figma)
- Open new svg file
- Remove white rectangle - background need transparent
- If you want save original svg, add '-origin' to filename
- Run
yarn build
- Patch version in package.json
- Push new commit
- Add tag for new version
git tag 0.0.1
for example
- Release new version
git push origin 0.0.1
- Upgrade version of this package in project
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads