From 9fc46acd4d20aade03f57456992e00f3a7414a19 Mon Sep 17 00:00:00 2001 From: Baivab Sarkar Date: Sat, 29 Aug 2026 14:10:02 +0530 Subject: [PATCH 1/2] feat(export): add theme selection to PDF/HTML/image export and improve dark/light styling --- desktop-app/resources/index.html | 105 +++- desktop-app/resources/js/preview-worker.js | 2 +- desktop-app/resources/js/script.js | 413 +++++++++++++-- desktop-app/resources/styles.css | 551 +++++++++++++++++++-- index.html | 104 +++- package.json | 2 + preview-worker.js | 2 +- script.js | 413 +++++++++++++-- styles.css | 551 +++++++++++++++++++-- tests/e2e/export.spec.js | 4 + 10 files changed, 1959 insertions(+), 188 deletions(-) diff --git a/desktop-app/resources/index.html b/desktop-app/resources/index.html index 5e81ab1d..53f17864 100644 --- a/desktop-app/resources/index.html +++ b/desktop-app/resources/index.html @@ -3,6 +3,7 @@ + @@ -698,7 +699,8 @@

Explorer

+ + + + + +