docs: revised dark mode feature page (#26187)
* docs: revised dark mode page * docs: fixed lint errors in dark mode page * docs: fixed mentions, revised doc structure in the dark mode feature page * docs: fixed mentions, made all the steps more verbose in the dark mode feature page
This commit is contained in:
parent
2a392c11f8
commit
6017a0de88
5 changed files with 203 additions and 43 deletions
|
@ -51,8 +51,6 @@ Returns:
|
|||
|
||||
Returns `Boolean` - Whether the system is in Dark Mode.
|
||||
|
||||
**Note:** On macOS 10.15 Catalina in order for this API to return the correct value when in the "automatic" dark mode setting you must either have `NSRequiresAquaSystemAppearance=false` in your `Info.plist` or be on Electron `>=7.0.0`. See the [dark mode guide](../tutorial/mojave-dark-mode-guide.md) for more information.
|
||||
|
||||
**Deprecated:** Should use the new [`nativeTheme.shouldUseDarkColors`](native-theme.md#nativethemeshouldusedarkcolors-readonly) API.
|
||||
|
||||
### `systemPreferences.isSwipeTrackingFromScrollEventsEnabled()` _macOS_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue