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;
}