docs: update mojave-dark-mode-guide.md (#15888)

* Update mojave-dark-mode-guide.md

Add info about dark mode support in electron-builder

* Update mojave-dark-mode-guide.md

* Update mojave-dark-mode-guide.md
This commit is contained in:
Jakub Biesiada 2018-12-01 02:02:36 +01:00 committed by Samuel Attard
parent b8ec886609
commit 1672cffe96

View file

@ -29,6 +29,8 @@ If you are using [`electron-packager` >= 12.2.0](https://github.com/electron-use
[`darwinDarkModeSupport`](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#darwindarkmodesupport) [`darwinDarkModeSupport`](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#darwindarkmodesupport)
option when packaging and this key will be set for you. option when packaging and this key will be set for you.
If you are using [`electron-builder` >= 20.37.0](https://github.com/electron-userland/electron-builder) you can set the [`darkModeSupport`](https://www.electron.build/configuration/mac.html) option.
## Automatically updating your own interfaces ## Automatically updating your own interfaces
If your app has its own dark mode you should toggle it on and off in sync with the system's dark mode setting. You can do If your app has its own dark mode you should toggle it on and off in sync with the system's dark mode setting. You can do