From e9cf310657191d755628887fd3e72c01afd2c38d Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 4 Dec 2024 22:55:07 +0200 Subject: [PATCH] feat(style): pass platform to CSS --- src/routes/index.ts | 1 + src/views/desktop.ejs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/index.ts b/src/routes/index.ts index 3590e6627..e6213c650 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -33,6 +33,7 @@ function index(req: Request, res: Response) { themeCssUrl: getThemeCssUrl(options.theme), headingStyle: options.headingStyle, layoutOrientation: options.layoutOrientation, + platform: process.platform, 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 a2c9aa401..7c1d3fbbe 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -6,7 +6,7 @@ TriliumNext Notes - +