Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <george.gcac@gmail.com>
  • Loading branch information
george-gca committed Oct 16, 2024
1 parent 4c71742 commit aed19a4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions assets/js/theme.js
Original file line number Diff line number Diff line change
@@ -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") {
Expand Down

0 comments on commit aed19a4

Please sign in to comment.