The Plasmo framework automatically generates smaller resolution versions of icons for the built bundle. Thus, all you need to work on is the high-fidelity version!
By default, Plasmo reads the
assets/icon.png file for the extension icon. Optionally, you can use these names instead of
The alternative names are helpful to clarify the size of the original icon. However, Plasmo will only pick one file.
Ensure your icon file is inside the
assets directory and is a PNG file with
In development mode, Plasmo converts the icon to grayscale to help distinguish it from the production bundle:
If you don't want the default grayscale behavior, you can place an
icon.development.png file in the
assets directory. Plasmo will use this file instead of the
icon.png file in development mode.
To use a different icon for a specific build tag, name your icon file as follows:
Plasmo generates the following icon sizes (in px):
You can override a specific size by placing any of the following files in the