tuyen image create-icon-pack
Generate a complete icon pack (favicon, Apple touch, Android, Windows tile) from an SVG. Requires ImageMagick to be installed locally. To install ImageMagick, visit https://imagemagick.org/script/download.php
Usage
tuyen image create-icon-pack [OPTIONS] --site-name <SITE_NAME> --site-short-name <SITE_SHORT_NAME> --description <DESCRIPTION> --theme-color <THEME_COLOR>Options
-i, --input <INPUT>
Path to the source SVG file (default: "favicon.svg")
Default values:
favicon.svg
Aliases:
src
-o, --output <OUTPUT>
Directory to write generated icon files into (default: "icons")
Default values:
icons
Aliases:
dest
--root-path <ROOT_PATH>
Base URL path for icon references in manifest files (e.g. "/")
--icons-path <ICONS_PATH>
URL path prefix for icon files in manifest (e.g. "/icons")
--assets-path <ASSETS_PATH>
URL path prefix for asset files in manifest
--manifest-path <MANIFEST_PATH>
Custom path for the web app manifest file
--browser-config-path <BROWSER_CONFIG_PATH>
Custom path for the browserconfig.xml file
--site-name <SITE_NAME>
Full name of the web application (used in manifest)
--site-short-name <SITE_SHORT_NAME>
Short name of the web application (used in manifest)
--description <DESCRIPTION>
Description of the web application (used in manifest)
--icon-prefix <ICON_PREFIX>
Filename prefix for generated icon files (e.g. "app-icon")
--theme-color <THEME_COLOR>
Theme color for the web app manifest (hex, e.g. "#ffffff")
--background-color <BACKGROUND_COLOR>
Background color for splash screens (hex, e.g. "#000000")
--monochrome <MONOCHROME>
Generate monochrome icon variants for dark/light theme support
Aliases:
mono
Possible values:
true, false--tile-color <TILE_COLOR>
Tile color for Windows tile icons (hex)
--maskable-shrink <MASKABLE_SHRINK>
Shrink ratio (0.0-1.0) for the maskable icon safe zone
--no-readme
Omit the README file from the generated output
Default values:
falsePossible values:
true, false-h, --help
Print help.