From a3f66fdd84203114caedd89ab15e647fd431efe8 Mon Sep 17 00:00:00 2001 From: Focuslinks Digital Solutions Date: Tue, 11 Feb 2025 18:30:23 +0100 Subject: [PATCH] update toggle icon for dark mode switch --- ui/ui/admin/footer.tpl | 6 +++--- ui/ui/admin/header.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/ui/admin/footer.tpl b/ui/ui/admin/footer.tpl index e5d55c19..9f0a21f4 100644 --- a/ui/ui/admin/footer.tpl +++ b/ui/ui/admin/footer.tpl @@ -47,16 +47,16 @@ const savedMode = localStorage.getItem('mode'); if (savedMode === 'dark') { body.classList.add('dark-mode'); - toggleIcon.textContent = '🌜'; + toggleIcon.textContent = '🌞'; } function setMode(mode) { if (mode === 'dark') { body.classList.add('dark-mode'); - toggleIcon.textContent = '🌜'; + toggleIcon.textContent = '🌞'; } else { body.classList.remove('dark-mode'); - toggleIcon.textContent = '🌞'; + toggleIcon.textContent = '🌜'; } } diff --git a/ui/ui/admin/header.tpl b/ui/ui/admin/header.tpl index 79f88c12..631d601f 100644 --- a/ui/ui/admin/header.tpl +++ b/ui/ui/admin/header.tpl @@ -61,7 +61,7 @@
  • - 🌞 + 🌜