From b803f85ec26b1d4ccbfafab9df697f54b8744211 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 10 Aug 2025 12:27:38 +0000 Subject: Fix default dark mode CSS path in UtilityJS, use configurable default themes in bookmarklets. --- js/utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/utility.js b/js/utility.js index 070e9e2d1..2e27c4fe6 100644 --- a/js/utility.js +++ b/js/utility.js @@ -8,7 +8,7 @@ window.addEventListener("load", function() { console.log("night mode changed to", is_night); const light_theme = typeof __default_light_theme != 'undefined' ? __default_light_theme : 'themes/light.css'; - const dark_theme = typeof __default_dark_theme != 'undefined' ? __default_dark_theme : 'themes/dark.css'; + const dark_theme = typeof __default_dark_theme != 'undefined' ? __default_dark_theme : 'themes/night.css'; if (link) { const css_override = is_night ? dark_theme : light_theme; -- cgit v1.2.3-54-g00ecf