Skip to content

Commit 86d3e54

Browse files
author
青椒
committed
feat: 样式修改
1 parent 356c95f commit 86d3e54

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dark.jpg

-83.2 KB
Loading

light.jpg

-82.8 KB
Loading

src/assets/styles/theme/conf.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@import './color-schemes/_dark';
1+
// @import './color-schemes/_dark';
22
// @import './color-schemes/_default';
3-
// @import './color-schemes/_light';
3+
@import './color-schemes/_light';

src/background.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ protocol.registerSchemesAsPrivileged([
1010
async function createWindow() {
1111
Menu.setApplicationMenu(null)
1212
const win = new BrowserWindow({
13-
width: isDevelopment ? 1560 : 1060,
14-
// width: 1060,
13+
// width: isDevelopment ? 1560 : 1060,
14+
width: 1060,
1515
height: 640,
1616
fullscreenable: false, // 是否允许全屏
1717
backgroundColor: '#00000000', // 背景颜色
@@ -22,8 +22,8 @@ async function createWindow() {
2222
autoHideMenuBar: true,
2323
title: '听青',
2424
webPreferences: {
25-
devTools: isDevelopment,
26-
// devTools: false,
25+
// devTools: isDevelopment,
26+
devTools: false,
2727
webSecurity: false, //跨域限制
2828
contextIsolation: false,
2929
enableRemoteModule: true,

0 commit comments

Comments
 (0)