From f88085e0890c8e8e6347f8dbde46deb3eb59d2ed Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 25 May 2025 16:52:17 +0300 Subject: [PATCH] fix js --- static/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/custom.js b/static/js/custom.js index a133157..e879bee 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -199,7 +199,7 @@ const body = document.body; // Apply saved theme on load document.addEventListener('DOMContentLoaded', () => { - const savedTheme = localStorage.getItem('theme') || 'dark'; // Default is dark mode + const savedTheme = localStorage.getItem('theme') || 'light'; // Default is light mode if (savedTheme === 'dark') { body.classList.add('dark-mode');