feat: honor nativeTheme.themeSource = 'dark' before creating BrowserWindow on Windows (#25373)

* fix: support 'dark' theme before creating windows.
This commit is contained in:
Charles Kerr
2020-10-28 15:00:21 -05:00
committed by GitHub
parent d3f32c7502
commit f489e3054a
8 changed files with 241 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ declare namespace NodeJS {
isPictureInPictureEnabled(): boolean;
isExtensionsEnabled(): boolean;
isComponentBuild(): boolean;
isWinDarkModeWindowUiEnabled(): boolean;
}
interface IpcRendererBinding {