dfx-icons v1.0.2
🎨 dfx-cons
💡 Note: gif above shows local
yarnusage. Usenpxif you don't want to install this package locally.Overview
This package generates a set of uniform placeholder icons with size labels. It is designed to assist you in creating new Chrome/web extensions. The idea was inspired by an old archived repository that stored pre-made image sizes. I turned the concept into a simple
npmpackage that is modular and customizable.
Requirements
- Node.js
16.2.0to install globally (usingnpxis easier if you're using a new version ofnode.) npmoryarn
Usage
npx dfx-iconsgenerates all sizes of the same color and outputs them to the assets/icons foldernpx dfx-icons --sizes 16 48 128 --randomgenerates only the specified sizes with random colorsYou can also install globally with
npm i -g dfx-iconsand rundfx-iconsfrom anywhere. Requires node 16.2.0 sonpxmethod is recommended.
Features
- Generates icons of various sizes
- Allows customization of icon sizes and colors
- Overlays the size of the icon on top of the icon to help with debugging
Contributing
Contributions are welcome!
If you find any bugs or want to suggest new features, please feel free to contribute by submitting an issue or a pull request.
Contributors ✨
(emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
Licensed under the MIT license. See the LICENSE file for more information.
If you found this project interesting or helpful, please consider sponsoring me or following me on twitter