folderify icon indicating copy to clipboard operation
folderify copied to clipboard

[Request] Ability to change the folder color

Open xilopaint opened this issue 2 years ago • 2 comments
trafficstars

Would it be possible to add the ability of changing the folder color like this App Store application?

xilopaint avatar May 24 '23 21:05 xilopaint

This has come up before. I could use some help figuring out:

  • Whether a hue shift is close enough to make the regular folder look like the purple smart folder, and to cover most colors that people would want.
  • A representative hue to assign to the default folder, and what color space is best to use.
  • How to implement hue shift that works well for both dark and light mode.

If hue shifting is not enough, then I need help figuring out how to support a wider range of colors without easily generating undesirable output (e.g. too low-contrast).

lgarron avatar May 25 '23 03:05 lgarron

I've found that a great way to change the color of a folder is to use a layer of any color with its blend mode set to Color over a desaturated folder image in Photoshop. Seeing as Folderify has ImageMagick as a dependency, I tried to match the same effect with it. Creating an .iconset with Folderify and then running mogrify -colorspace Gray -fill '[INSERT COLOR]' -tint 100 *.png on the .png files inside is very close, although a bit too light. And to try to combat saturation issues, I came up with mogrify -colorspace Gray -modulate 95 -fill '[INSERT COLOR]' -tint 100 -modulate 105.2631578947,115 *.png (105.2631578947 = 1/0.95). Hope this helps!

CurbaiCode avatar Apr 10 '24 18:04 CurbaiCode