<p dir="auto">We are in 2019 — we need a support SVG!</p>
<ul dir="auto">
<li>Electron version: 1.6.10</li>
<li>Operating system: elementary OS 0.4.1 Loki</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">It should be possible to set a tray image in SVG format. This would allow tray icons to adapt to the current theme (ie. appear white on black, or black on white).</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">The image must be supplied as a PNG or a JPG and therefore does not adapt to the platform's theme.</p>
<h3 dir="auto">How to reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new Tray('/path/to/image.png');"><pre class="notranslate"><code class="notranslate">new Tray('/path/to/image.png');
</code></pre></div>