@entropyx/epy-icons v1.3.1
Epy-icons
NPM package to organize and standarize Entropy's design system icons.
How to use it
Installing
run
npm install @entropyx/epy-icons
Font Icons
To use it as Font icons import the .css located on
/node_modules/@entropyx/epy-icons/css/style.css
How to update
To Update Optimized svgs:
Update the icons adding the new svg images to the /icons
folder.
Then run: npm run optimize
This will rename all the svg's with kebab case style and optimize them with svgo. The result is gonna be generated on icons/done
folder.
To build font-icons
Unfortunately...
It depends of the Icomoon app 🙃
To import the current project run the icomoon app and upload the /icomoon/Entropy.json
file.
Then you can start adding the corresponding optimized icons that you want to update via the drag and drop interface.
When you build and icon pack on icomoon you can download a font package or an image package, so all the downloaded assets should be saved and uncompressed on the corresponding folder inside the /icommon/images
or the /icommon/fonts
folder.
After the project should be rebuilded and then it can be published.