Dark
Switches between the light and dark variants of an image based on isDark. If no dark image exists, the light image will be used.
All images that aren't dark images are base, or light, images.
Dark images must be named in exactly the same way as the corresponding light image, but add a _dark suffix right before the extension. Dark images must be placed in the same directory and have the same extension as their light counterparts.
Examples:
| Light image name | Dark image name |
|---|---|
my-icon.png | my-icon_dark.png |
my-icon@20x20.svg | my-icon@20x20_dark.svg |
my-icon@2x.png | my-icon@2x_dark.png |