feat: support acrylic effect for Windows
This commit is contained in:
parent
8ac18934e9
commit
c8b2e8dd79
@ -54,7 +54,8 @@ export class WindowService {
|
|||||||
visualEffectState: 'active',
|
visualEffectState: 'active',
|
||||||
titleBarStyle: isLinux ? 'default' : 'hidden',
|
titleBarStyle: isLinux ? 'default' : 'hidden',
|
||||||
titleBarOverlay: theme === 'dark' ? titleBarOverlayDark : titleBarOverlayLight,
|
titleBarOverlay: theme === 'dark' ? titleBarOverlayDark : titleBarOverlayLight,
|
||||||
backgroundColor: isMac ? undefined : theme === 'dark' ? '#181818' : '#FFFFFF',
|
backgroundColor: isMac || isWin ? undefined : theme === 'dark' ? '#181818' : '#FFFFFF',
|
||||||
|
backgroundMaterial: 'acrylic',
|
||||||
trafficLightPosition: { x: 8, y: 12 },
|
trafficLightPosition: { x: 8, y: 12 },
|
||||||
...(process.platform === 'linux' ? { icon } : {}),
|
...(process.platform === 'linux' ? { icon } : {}),
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
|
|||||||
@ -52,7 +52,7 @@
|
|||||||
--color-reference-background: #0b0e12;
|
--color-reference-background: #0b0e12;
|
||||||
|
|
||||||
--navbar-background-mac: rgba(20, 20, 20, 0.55);
|
--navbar-background-mac: rgba(20, 20, 20, 0.55);
|
||||||
--navbar-background: #1f1f1f;
|
--navbar-background: rgba(20, 20, 20, 0.4);
|
||||||
|
|
||||||
--navbar-height: 40px;
|
--navbar-height: 40px;
|
||||||
--sidebar-width: 50px;
|
--sidebar-width: 50px;
|
||||||
@ -124,7 +124,7 @@ body[theme-mode='light'] {
|
|||||||
--color-reference-background: #f1f7ff;
|
--color-reference-background: #f1f7ff;
|
||||||
|
|
||||||
--navbar-background-mac: rgba(255, 255, 255, 0.55);
|
--navbar-background-mac: rgba(255, 255, 255, 0.55);
|
||||||
--navbar-background: rgba(244, 244, 244);
|
--navbar-background: rgba(255, 255, 255, 0.4);
|
||||||
|
|
||||||
--chat-background: #f3f3f3;
|
--chat-background: #f3f3f3;
|
||||||
--chat-background-user: #95ec69;
|
--chat-background-user: #95ec69;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user