mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: honor nativeTheme.themeSource = 'dark' before creating BrowserWindow on Windows (#25373)
* fix: support 'dark' theme before creating windows.
This commit is contained in:
1
typings/internal-ambient.d.ts
vendored
1
typings/internal-ambient.d.ts
vendored
@@ -24,6 +24,7 @@ declare namespace NodeJS {
|
||||
isPictureInPictureEnabled(): boolean;
|
||||
isExtensionsEnabled(): boolean;
|
||||
isComponentBuild(): boolean;
|
||||
isWinDarkModeWindowUiEnabled(): boolean;
|
||||
}
|
||||
|
||||
interface IpcRendererBinding {
|
||||
|
||||
Reference in New Issue
Block a user