zimo-web-favicons
v2.6.4
Published
A node CLI app that generates and arranges the favicons of Zimo Web in SVG using theme JSON configs.
Maintainers
Readme
zimo-web-favicons
zimo-web-favicons is a CLI tool to generate and arrange Zimo Web's favicons from theme config JSON files. It supports generating single favicons and arranging multiple favicons into a grid.
Features
- Generate a single favicon from a theme config JSON file.
- Arrange multiple favicons into a grid.
- Optionally generate PNG output.
- Customize the scale and background color for the grid.
Requirements
- Node and npm installed on your system.
Installation
You can install the tool globally using npm:
npm install -g zimo-web-faviconsUsage
zimo-web-favicons <command> [options]Commands
generateGenerate a single favicon.arrangeArrange multiple favicons into a grid.
Options
-o,--output<outputPath>Specify the output path. Defaults togenerated_imageorarranged_image.-p,--pngGenerate PNG instead of SVG. Defaults tofalse.-s,--scale<number>Scale factor for the PNG output.-b,--background<hex>Background color in hex format.-h,--helpShow help information.-v,--versionShow the current version.
Examples
- Generate a Single Favicon
zimo-web-favicons generate input.json -o output.svg- Arrange Multiple Favicons into a Grid
zimo-web-favicons arrange input1.json input2.json input3.json -o output.svg- Generate PNG Output with Scale and Background Color
zimo-web-favicons arrange input1.json input2.json -o output.png -p -s 2 -b #ff00ff88