From af4b7c2edd2701d95a355a4cc452fb747af7ba56 Mon Sep 17 00:00:00 2001 From: Yixiao GUO <12411152@mail.sustech.edu.cn> Date: Fri, 15 May 2026 17:51:25 +0800 Subject: [PATCH 01/13] fix: fixed the display issue that when changing the text color --- preferences-renderer.js | 1 + supporter.js | 1 + 2 files changed, 2 insertions(+) diff --git a/preferences-renderer.js b/preferences-renderer.js index 9aeaf35..beb4a2d 100644 --- a/preferences-renderer.js +++ b/preferences-renderer.js @@ -1091,6 +1091,7 @@ function colorSet(id) { ipc.send("logger", $("#color-" + id).val()); themeColorList[id] = $("#color-" + id).val(); store.set("theme-color", themeColorList); + ipc.send("theme-color-changed"); } function colorInitializer() { diff --git a/supporter.js b/supporter.js index 39a44b0..c8610ab 100644 --- a/supporter.js +++ b/supporter.js @@ -100,6 +100,7 @@ function isInDark() { ipc.on('darkModeChanges', () => { isInDark(); + if (typeof reloadTheme === 'function') reloadTheme(); });//dark mode settings ipc.on('darkModeChanges-settings', function () { isInDark(); From 087ed4ee39a31dbf1eba592eb1781b682b022743 Mon Sep 17 00:00:00 2001 From: Yixiao GUO <12411152@mail.sustech.edu.cn> Date: Fri, 15 May 2026 17:58:27 +0800 Subject: [PATCH 02/13] fix: change the four colors of the "Use Statistical Interface" to custom colors --- statistics.html | 1 + 1 file changed, 1 insertion(+) diff --git a/statistics.html b/statistics.html index 1658b2a..d99b6f5 100644 --- a/statistics.html +++ b/statistics.html @@ -586,6 +586,7 @@