Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yosemite Dark Mode #55

Open
ebertek opened this issue Oct 18, 2014 · 0 comments
Open

Yosemite Dark Mode #55

ebertek opened this issue Oct 18, 2014 · 0 comments

Comments

@ebertek
Copy link

ebertek commented Oct 18, 2014

To support OS X 10.10's dark menu bar, template images should be used for the status bar icon. There's a thread over StackOverflow that might help.

If this is not feasible, inverted versions of ./app/client/qrc/systray_icon_pressed_mac.png and systray_icon_rest_mac.png should be added, and the client should detect if the user's using Dark Mode like this (Obj-C, Swift, Bash):

NSString *osxMode = [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleInterfaceStyle"];
NSUserDefaults.standardUserDefaults().stringForKey("AppleInterfaceStyle")
defaults read -g AppleInterfaceStyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant