zzz
May 14, 2024, 1:36am
1
Looks like preserve color: true
stops working after upgrading from 2024.3.2 to 2024.5.1. The icon is black now.
#popclip
name: SomeName
icon: SomeIcon.png
url: https://xxx.com?query=***
preserve color: true
Same as this issue Does "Preserve Color" still work on PopClip 2024.3.1?
nick
May 14, 2024, 6:15am
2
Dammit, I broke preserve color
again
But you can stil do it like this:
#popclip
name: SomeName
icon: "preserve-color file:SomeIcon.png"
url: https://xxx.com?query=***
Thanks for reporting it. I will restore the preserve color: true
method it in the next version.
zzz
May 14, 2024, 6:35am
4
How to set preserve color: false
with below format? Just remove the preserve-color
prefix?
#popclip
name: SomeName
icon: "preserve-color file:SomeIcon.png"
url: https://xxx.com?query=***
nick
May 14, 2024, 6:49am
5
Yep just omit the modifier and it won’t have effect.
To explicitly negate, you can put preserve-color=0
but that would only be needed if your icon had intrinsic color, which is the case for some Iconify icons and also where you specify the icon as an Emoji.
Some docs tucked away at the bottom at https://www.popclip.app/dev/icons#color-and-aspect
(Or download Build 4588 which restores compatibility with the old way.)