--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/b0f1532b-218a-4afd-bf8c-6723f3109291%40googlegroups.com.
UKELELE does not handle this, this is an issue of the system. You must test several variants until you choose one you like.
On 22 Apr 2020, at 17:06, Dom Miketa <domini...@gmail.com> wrote:
My custom layout's black and white icon doesn't behave nicely under highlighting and Dark Mode, unlike many other icons on the menu bar. I'm wondering if anything can be done to fix the issue.1) Desired behaviourThe icon reacts to clicking by inverting colours and adapts to Dark Mode, see behaviour of the Dropbox menu bar icon:(light mode/light mode selected/dark mode)2) Actual behaviourThe icon's transparency works but it doesn't invert:(light mode/light mode selected/dark mode)I've been able to tease out that the icon has to be specified as a "symbol image" or "template image", but haven't figured out how to do it in an ICNS (or any other format really). I don't mind if the icon needs to be an SVG or PNG.Previous threads on this topic include:https://groups.google.com/forum/#!searchin/ukelele-users/icon$20dark|sort:date/ukelele-users/OQxy0GBMteM/RxKgbrisAQAJ where John Brownie teases possible Dark Mode support for Ukelele 4. Some Dark Mode functionality is present in the 3.4.2 and anyway it seems like we should be able to manually reach into .bundle files and replace icons with properly invertible ones even if Ukelele didn't natively support them.https://groups.google.com/forum/#!searchin/ukelele-users/icon$20dark%7Csort:date/ukelele-users/BJxM5VH3YgU/LOcfzYAYBQAJ where fede describes precisely the desired behaviour but hasn't posted an update in over two years.--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelel...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/533e0513-76d4-43ba-b08a-e73979e75963%40googlegroups.com.
PS: I noticed that the screenshots of actual and desired behaviour didn't send – sorry about that!
On 22 Apr 2020, at 21:21, Gé van Gasteren <gevang...@gmail.com> wrote:<snip>
The "teased dark mode functionality" for Ukelele you talk about strictly applies to the app’s interface.
Using an all-#000000 PNG with antialiasing turned off didn't help, the icon just looked (predictably) worse.
I have been having the same trouble as Dom. AFAIK, the only way to make the .icns file you need is to use Apple’s Xcode. But you have to be able to use Xcode, and I cannot. No app I have found so far supports separate Light and Dark resources, not Image2Icon anyway. And you need to create those separate resources, if I understand Apple’s documentation correctly.
I wonder if it has to be a 1-bit image? Though is there such a thing with transparency? What happens if you make a 1-bit image file and convert it to .icns format?
There doesn't appear to be any place for Dark & Light versions of icons in Xcode. Nor have I found any documentation on how to produce a template icon, admittedly without searching very hard. When documentation points you to a specific point in a WWDC video, things are pretty desperate!
Consider creating icons as template images. A template image is a monochromatic image with transparency, anti-aliasing, and no drop shadow that uses a mask to define its shape. Template images automatically receive the appropriate appearance—including coloring, highlighting, and vibrancy—based on the context and user interactions.
Make sure full-color images look good. Use the same asset if it looks good in both light and dark appearances. If an asset looks good in only one appearance, modify the asset or create separate light and dark assets. Use asset catalogs to combine your assets into a single, named image.
--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ukelele-users/68f2701f-6b35-46d9-afa4-eba418a6c906%40googlegroups.com.