docs: clean up removed systemPreferences methods #39349
Merged
Electron Archaeologist / Artifact Comparison
completed
Aug 3, 2023 in 1m 3s
Changes Detected
Looks like the electron.d.ts
file changed.
--- a/electron.old.d.ts
+++ b/electron.new.d.ts
@@ -8787,36 +8787,6 @@ declare namespace Electron {
* @platform win32
*/
isAeroGlassEnabled(): boolean;
- /**
- * Whether the system is in Dark Mode.
- *
- * **Deprecated:** Should use the new `nativeTheme.shouldUseDarkColors` API.
- *
- * @deprecated
- * @platform darwin,win32
- */
- isDarkMode(): boolean;
- /**
- * `true` if a high contrast theme is active, `false` otherwise.
- *
- * **Deprecated:** Should use the new `nativeTheme.shouldUseHighContrastColors`
- * API.
- *
- * @deprecated
- * @platform darwin,win32
- */
- isHighContrastColorScheme(): boolean;
- /**
- * `true` if an inverted color scheme (a high contrast color scheme with light text
- * and dark backgrounds) is active, `false` otherwise.
- *
- * **Deprecated:** Should use the new `nativeTheme.shouldUseInvertedColorScheme`
- * API.
- *
- * @deprecated
- * @platform win32
- */
- isInvertedColorScheme(): boolean;
/**
* Whether the Swipe between pages setting is on.
*