From cdae9f075c84feac0e996a28b3ffda1c27d94544 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 7 Dec 2024 00:56:27 +0200 Subject: [PATCH] feat(mica): pass CSS class --- src/routes/index.ts | 1 + src/views/desktop.ejs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/index.ts b/src/routes/index.ts index a37965b4c..5c8f39904 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -37,6 +37,7 @@ function index(req: Request, res: Response) { platform: process.platform, isElectron, hasNativeTitleBar: (isElectron && options.nativeTitleBarVisible === "true"), + hasBackgroundEffects: true, // TODO: Replace with option mainFontSize: parseInt(options.mainFontSize), treeFontSize: parseInt(options.treeFontSize), detailFontSize: parseInt(options.detailFontSize), diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index 29afdcfd3..64c851b1b 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -6,7 +6,7 @@ TriliumNext Notes - +