added dark mode toggle

This commit is contained in:
ION606
2024-06-24 18:04:51 -04:00
parent 134fc75bd8
commit 48fff2353d
3 changed files with 36 additions and 0 deletions
+4
View File
@@ -70,4 +70,8 @@ async function fetchCommits() {
commitList.innerHTML = `ERR: <pre>${error}</pre>`;
console.error(error);
}
}
function toggleDarkMode() {
document.body.classList.toggle('dark-mode');
}