Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tuyen image create-icon-pack command

Create an icon pack from an SVG file.
Note that this command requires a local installation of ImageMagick.
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>

Input SVG file path.
Default: favicon.svg.
Aliases: --src.

-o, –output <OUTPUT>

Output icon folder.
Default: icons.
Aliases: --dest.

–root-path <ROOT_PATH>

Root path.

–icons-path <ICONS_PATH>

Icons path.

–assets-path <ASSETS_PATH>

Assets path.

–manifest-path <MANIFEST_PATH>

Manifest path.

–browser-config-path <BROWSER_CONFIG_PATH>

Browser config path.

–site-name <SITE_NAME>

Site name.

–site-short-name <SITE_SHORT_NAME>

Site short name.

–description <DESCRIPTION>

Description.

–icon-prefix <ICON_PREFIX>

Icon prefix.

–theme-color <THEME_COLOR>

Theme color.

–background-color <BACKGROUND_COLOR>

Background color.

–monochrome <MONOCHROME>

Whether to generate monochrome icons.
Aliases: --mono.
Possible values: true, false.

–tile-color <TILE_COLOR>

Title color.

–maskable-shrink <MASKABLE_SHRINK>

Shink ratio for maskable icon.

–no-readme

Should omit the README file from output.

-h, –help

Print help.