v1.2.3 增添darkmode,调整优化界面、颜色,以适应darkmode

Signed-off-by: Riceneeder <86492950+Riceneeder@users.noreply.github.com>
This commit is contained in:
Riceneeder
2022-09-03 10:07:48 +08:00
parent 96d67f0b6a
commit f07197c39f
12 changed files with 40 additions and 18 deletions

View File

@@ -214,7 +214,12 @@ let mainMenu = [
type: 'separator',
},
{
label: ''
label: 'Darkmode',
accelerator: !isOsx ? 'Ctrl+Shift+D' : 'Shift+Cmd+D',
click() {
mainWindow.show();
mainWindow.webContents.send('darkmode');
}
},
{
type: 'separator',