summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-04-22 19:49:53 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-04-22 19:49:53 +0200
commit1f660946c64ce28a22bc8f79edb62a4bdcfe6ac8 (patch)
tree153ad7c0c72202de921252a1cfcce90b647c5e1a /layouts/_default
parent6d9e6bec95736c0dc725c2f80a98b6de6d0d3897 (diff)
Theme Update
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 51fd26c..458589f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -27,5 +27,14 @@
</body>
+<script>
+
+ function toggleTheme() {
+ document.body.classList.toggle('light');
+ document.body.classList.toggle('dark');
+ }
+
+</script>
+
</html> \ No newline at end of file