diff --git a/docs/colorScheme.js b/docs/colorScheme.js new file mode 100644 index 0000000..9f52185 --- /dev/null +++ b/docs/colorScheme.js @@ -0,0 +1,4 @@ +const colorToggle = document.getElementById("colorToggle") +colorToggle.addEventListener("change", () => { + document.body.classList.toggle("dark") +}) \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index f7404cb..be8f9e5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,6 +22,7 @@ @@ -85,6 +86,14 @@
Created by Derek Chen +
+ + +