Hello, so I was trying to retouch my toolbar icons (svg) in Illustrator and they turned all black on toolbar.
Considerations:
1- They all worked fine until I edit on illustrator;
2- Even simple openning and saving again (without editing) makes them all black.
3- They always renders fine on illustrator or chrome, only SU is showing them black.
4- I’m running SU18 on Win11
Before editing (works fine in SU):
<svg width="48px" height="48px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="48" height="48" fill="white" fill-opacity="0.01"/>
<path d="M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z" fill="#2F88FF" stroke="black" stroke-width="4" stroke-linejoin="round"/>
<path d="M24 28.6249V24.6249C27.3137 24.6249 30 21.9386 30 18.6249C30 15.3112 27.3137 12.6249 24 12.6249C20.6863 12.6249 18 15.3112 18 18.6249" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 37.6249C25.3807 37.6249 26.5 36.5056 26.5 35.1249C26.5 33.7442 25.3807 32.6249 24 32.6249C22.6193 32.6249 21.5 33.7442 21.5 35.1249C21.5 36.5056 22.6193 37.6249 24 37.6249Z" fill="white"/>
</svg>
After opening and saving (all black in SU):
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;fill-opacity:1.000000e-02;}
.st1{fill:#2F88FF;stroke:#000000;stroke-width:4;stroke-linejoin:round;}
.st2{fill:none;stroke:#FFFFFF;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;}
.st3{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
</style>
<rect class="st0" width="48" height="48"/>
<path class="st1" d="M24,44c5.5,0,10.5-2.2,14.1-5.9C41.8,34.5,44,29.5,44,24s-2.2-10.5-5.9-14.1C34.5,6.2,29.5,4,24,4
S13.5,6.2,9.9,9.9C6.2,13.5,4,18.5,4,24s2.2,10.5,5.9,14.1C13.5,41.8,18.5,44,24,44z"/>
<path class="st2" d="M24,28.6v-4c3.3,0,6-2.7,6-6s-2.7-6-6-6s-6,2.7-6,6"/>
<path class="st3" d="M24,37.6c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5s-2.5,1.1-2.5,2.5S22.6,37.6,24,37.6z"/>
</svg>
We can clearly see its different but I cant tell what makes it not to work.
Theres just too many variables for me to solve by try-error method. (color profiles, svg profiles, encodings)
Anyone:
- has experienced it?
- knows in what configs it should be saved for it to work on SU?
- knows why it doesnt work?
- knows of some workaround? manual editing method?
- suggests another svg editor or aproach?
Thanks
Icons.zip (1.3 KB)