diff --git a/resources/index.html b/resources/index.html
index b4e4ca1d..07f3e735 100644
--- a/resources/index.html
+++ b/resources/index.html
@@ -151,6 +151,11 @@
Terms of Service
if (processor === 'zebedee') {
document.getElementById('powered-by-zebedee').classList.remove('d-none')
}
+
+ // Check for system preference on load
+ if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
+ document.body.classList.add('dark-theme');
+ }
}