diff --git a/ham-test-www.py b/ham-test-www.py
index 236c0b2..1a47049 100644
--- a/ham-test-www.py
+++ b/ham-test-www.py
@@ -148,8 +148,8 @@ def generate_html(questions):
⚙
@@ -260,6 +260,12 @@ def generate_html(questions):
}}
}});
}});
+
+ // Set default theme to dark on page load
+ window.addEventListener('DOMContentLoaded', () => {{
+ body.classList.add('dark-mode');
+ settingsMenu.classList.add('dark');
+ }});