feat: support systemPreferences.isDarkMode() on Windows (#19217)

* add support for isDarkMode on Windows

* use NativeTheme for darkmode detection
This commit is contained in:
Micha Hanselmann 2019-07-15 14:37:33 -07:00 committed by Shelley Vohr
parent 4439249617
commit da672a3b5c
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,7 @@ Returns:
## Methods
### `systemPreferences.isDarkMode()` _macOS_
### `systemPreferences.isDarkMode()` _macOS_ _Windows_
Returns `Boolean` - Whether the system is in Dark Mode.