grabbox icon indicating copy to clipboard operation
grabbox copied to clipboard

Menubar icon needed for Yosemite's dark mode

Open jamesmoss opened this issue 11 years ago • 3 comments

At the moment it looks like Yosemite is inverting the light mode icon which doesn't look great. See here (compared to Dropbox's icon)

jamesmoss avatar Oct 20 '14 10:10 jamesmoss

+1

blalor avatar Oct 21 '14 12:10 blalor

+1

loris avatar Oct 23 '14 15:10 loris

If anyone starts looking at this (since I won't commit to doing so right now because of time constraints), here's a similar bug in another project: https://github.com/eczarny/spectacle/pull/238

It looks that using -[NSImage setTemplate:YES] on the source image should make this work "automatically." There will probably be some need to alter the resources though, as setTemplate requires you to only use black & alpha channel. Some of the images use color, and all (?) of the images use gray scales -- and I guess we should use black w/ opacity instead of grays. (See https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSImage_Class/index.html#//apple_ref/occ/instm/NSImage/setTemplate: for more information.)

jorgenpt avatar Nov 30 '14 02:11 jorgenpt