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:
parent
b8ec886609
commit
1672cffe96
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue