diff --git a/src/main/ipcMain.ts b/src/main/ipcMain.ts index 272da0905..f1fd898c1 100644 --- a/src/main/ipcMain.ts +++ b/src/main/ipcMain.ts @@ -155,6 +155,7 @@ ipcMain.handle(IpcEvents.OPEN_MONACO_EDITOR, async () => { title, autoHideMenuBar: true, darkTheme: true, + backgroundColor: nativeTheme.shouldUseDarkColors ? "#1e1e1e" : "white", webPreferences: { preload: join(__dirname, IS_DISCORD_DESKTOP ? "preload.js" : "vencordDesktopPreload.js"), contextIsolation: true,