Skip to content

Build your personal knowledge base with Trilium Notes

style(mica): apply heavy transparency

Elian Dorane21e0c6b38c6
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index a4e42de504..a6a6454855 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -412,6 +412,14 @@ body.layout-horizontal {
--native-titlebar-darwin-y-offset: 14 !important;
}
+body.background-effects,
+body.background-effects #root-widget {
+ background: transparent !important;
+ --launcher-pane-background-color: transparent;
+ --tab-background-color: transparent;
+ --active-tab-background-color: transparent;
+}
+
/* Matches when the left pane is collapsed */
:has(#left-pane.hidden-int) {
--center-pane-border-radius: 0;
diff --git a/src/services/window.ts b/src/services/window.ts
index 3df960f9c9..a7cf1ff5ae 100644
--- a/src/services/window.ts
+++ b/src/services/window.ts
@@ -133,7 +133,7 @@ function getWindowExtraOpts() {
// Window effects (Mica)
// TODO: Apply only on Windows and allow the user to choose whether to activate it or not.
- extraOpts.backgroundMaterial = "mica";
+ extraOpts.backgroundMaterial = "tabbed";
return extraOpts;
}