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 333cbe1..ac09c51 100644 --- a/docs/index.html +++ b/docs/index.html @@ -22,6 +22,7 @@ @@ -86,6 +87,14 @@