From aed19a48ab61280776857b268e256951fdbeeba0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Ara=C3=BAjo?= Date: Wed, 16 Oct 2024 16:57:59 -0300 Subject: [PATCH] Removed unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: George Araújo --- assets/js/theme.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/assets/js/theme.js b/assets/js/theme.js index 9f4b8be1..e297665b 100644 --- a/assets/js/theme.js +++ b/assets/js/theme.js @@ -1,10 +1,4 @@ // has to be in the head tag, otherwise a flicker effect will occur -const body = document.body; -const changeThemeButton = document.querySelector("#change-theme-button"); -const moonIcon = document.querySelector(".ph-moon"); -const sunIcon = document.querySelector(".ph-sun"); -const systemIcon = document.querySelector(".ph-desktop"); - let toggleThemeSetting = () => { let themeSetting = getThemeSetting(); if (themeSetting == "system") {