diff --git a/index.html b/index.html
index 53a8428..f3e2e47 100644
--- a/index.html
+++ b/index.html
@@ -9,7 +9,10 @@
// Apply saved theme before first paint to avoid flash
(function() {
const t = localStorage.getItem('stlt-theme');
- if (t !== 'dark') document.documentElement.setAttribute('data-theme', 'light');
+ // If user never picked a theme, respect their OS preference
+ const prefersDark = t ? t === 'dark'
+ : window.matchMedia('(prefers-color-scheme: dark)').matches;
+ if (!prefersDark) document.documentElement.setAttribute('data-theme', 'light');
})();
// Apply saved language before first paint to avoid flash
(function() {
diff --git a/textures/hexagons.jpg b/textures/hexagons.jpg
index 003da8c..3213be6 100644
Binary files a/textures/hexagons.jpg and b/textures/hexagons.jpg differ