fix: remove desktop translucency to reduce macOS compositing cost

This commit is contained in:
Bohdan Triapitsyn
2026-04-07 21:46:38 +03:00
parent 605e4bf42c
commit 952132a08d
96 changed files with 163 additions and 401 deletions
+2 -19
View File
@@ -135,29 +135,12 @@
overscroll-behavior-y: none;
}
:root.desktop-runtime:not(.no-vibrancy) body,
:root.desktop-runtime:not(.no-vibrancy) #root {
background: transparent !important;
background-color: transparent !important;
}
:root.desktop-runtime.no-vibrancy body,
:root.desktop-runtime.no-vibrancy #root {
:root.desktop-runtime body,
:root.desktop-runtime #root {
background: var(--background) !important;
background-color: var(--background) !important;
}
/* When vibrancy is off, force sidebar overlays to solid and disable blur. */
:root.desktop-runtime.no-vibrancy {
--sidebar-overlay-strong: var(--sidebar) !important;
--sidebar-overlay-soft: var(--sidebar) !important;
}
:root.desktop-runtime.no-vibrancy .backdrop-blur {
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
}
.font-sans {
font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
}
+1 -3
View File
@@ -438,7 +438,7 @@
}
@media (display-mode: standalone) {
/* Home indicator blur overlay */
/* Home indicator overlay */
:root.device-mobile:not(.desktop-runtime) body::after {
content: '';
position: fixed;
@@ -454,8 +454,6 @@
rgba(from var(--background) r g b / 0.3) 85%,
transparent 100%
);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
z-index: 1000;
pointer-events: none;
}