Color palette changing for the funsies
This commit is contained in:
4
docs/colorScheme.js
Normal file
4
docs/colorScheme.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const colorToggle = document.getElementById("colorToggle")
|
||||
colorToggle.addEventListener("change", () => {
|
||||
document.body.classList.toggle("dark")
|
||||
})
|
||||
Reference in New Issue
Block a user