Revert "feat: support acrylic effect for Windows"

This reverts commit c8b2e8dd79a4bd7add0fbb50ba92036685a3dd3b.
This commit is contained in:
kangfenmao 2025-03-25 20:13:54 +08:00
parent 40d9629681
commit 40cac47136
2 changed files with 3 additions and 4 deletions

View File

@ -54,8 +54,7 @@ export class WindowService {
visualEffectState: 'active',
titleBarStyle: isLinux ? 'default' : 'hidden',
titleBarOverlay: theme === 'dark' ? titleBarOverlayDark : titleBarOverlayLight,
backgroundColor: isMac || isWin ? undefined : theme === 'dark' ? '#181818' : '#FFFFFF',
backgroundMaterial: 'acrylic',
backgroundColor: isMac ? undefined : theme === 'dark' ? '#181818' : '#FFFFFF',
trafficLightPosition: { x: 8, y: 12 },
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {

View File

@ -52,7 +52,7 @@
--color-reference-background: #0b0e12;
--navbar-background-mac: rgba(20, 20, 20, 0.55);
--navbar-background: rgba(20, 20, 20, 0.4);
--navbar-background: #1f1f1f;
--navbar-height: 40px;
--sidebar-width: 50px;
@ -124,7 +124,7 @@ body[theme-mode='light'] {
--color-reference-background: #f1f7ff;
--navbar-background-mac: rgba(255, 255, 255, 0.55);
--navbar-background: rgba(255, 255, 255, 0.4);
--navbar-background: rgba(244, 244, 244);
--chat-background: #f3f3f3;
--chat-background-user: #95ec69;