-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add APIs to support MacOS Mojave dark modes #6819
Comments
dark mode support would really be great. We need an event that fires on appearance change and a way to fetch the current appearance. |
Or you just use macOS bash command 'defaults' to read this: |
I tried the node-dark-mode already. It does nothing on my Mojave machine. And using the Shell won't solve the issue of changing the Appearance later on as there is no event handler listening to changes. |
Ok another dirty solution, because I don't believe that API happens in near time))
File we need: ~/Library/Preferences/.GlobalPreferences.plist something like this:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please add API to detect system macOS Mojave dark modes, just like in Electron
electron/electron@0d2a0c7#diff-8330cc91b59f45f220fe480486215c97
It might be useful to other the other System Preferences API as well @rogerwang
https://github.com/electron/electron/commits/master/docs/api/system-preferences.md
The text was updated successfully, but these errors were encountered: