Closed gusbemacbe closed 5 years ago
But ffsvg
can't do this. You can check it by running:
cd scripts/
./ffsvg.sh list-colours.svg
git difftool
The hex codes are left as is and the gradients are not removed. I suppose the changes are made by your editor.
The hex codes are left as is and the gradients are not removed. I suppose the changes are made by your editor.
I did a test. The ffsvg
did not remove the gradients of list-colours.svg
, but removed the gradients of a new SVG icon test.
How can I reproduce it? Could you upload the icon that will be broken with ffsvg?
Hi, @SmartFinn
Ready. You can test with the icon listen1.svg
which contains 9 gradients list.
No gradients are removed. Do you use svgo
or scour
? Try to update svgo
to the latest version npm install -g svgo
I got it. scour
removes the gradients. Just install svgo
using the command above. We don't use scour
in our projects, it added like a fallback for new contributors.
Ah, I used both scour
and svgo
manually. I installed globally, and I tested, and the gradients are not removed. I have to keep one plugin globally and not manually.
Thank you!
Do not forget of reading my alert I have to you and Alex in the reference #109, @SmartFinn .
Hello @SmartFinn !
Please, can you update install.sh
, for not just downloading Suru++, but also eSuru++ and Suru++-Light?
I am afraid of damaging the file.
@gusbemacbe just change the line https://github.com/gusbemacbe/suru-plus/blob/master/install.sh#L8 to : "${THEMES:=Suru++ Suru++-Light eSuru++}"
Hello @SmartFinn !
I am not expert in Bash and in Python.
The problem is that
ffsvg
will remove the list of 9 gradients and will shorten #ffffff to #fff.I would like to preserve the gradients list and the 6 numbers of colour hexadecimal code. And I would like
ffsvg
convert #UPPERCASE-COLOURS to #lowercase-colours.Is there way to update it?