Get Started
Plugins
Macros
More information

Plugin icons

Plugin icon image files that are specified in the config.json file to display plugins on the Plugins tab or in the plugin Settings window. Here you can find all the available plugin icon parameters.

There are three scaling types of plugin icons: 100%, 150% and 200%. For each type the icon has its normal state:

"icons": [
    {
        "100%": { "normal": "icon.png" },
        "150%": { "normal": "icon@1.5x.png" },
        "200%": { "normal": "icon@2x.png" }
    }
]

The document editor chooses the necessary icons in the following way:

  1. get the information about the current scaling and find an icon for it;
  2. if there is no such an icon in the config, take the one which is the closest to the required size and round it up (150% instead of 140%).

The style parameter is also used to specify the icon appearance:

Name Description Type Default
style The theme type of the plugin icons. It can have the light or dark values. string "dark"
"icons": [
    {
        "style" : "dark"
    }
]
This parameter is only used when the icons are different in light and dark themes.