summaryrefslogtreecommitdiff
path: root/views/pages/global-map.html
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2025-10-21 10:15:44 +0700
committerGravatar GitHub <noreply@github.com> 2025-10-21 10:15:44 +0700
commit69b868a7655a25c82ce4a2bd444812be69c8b998 (patch)
tree201d21e0bd732c42941a9408390eba0573a99f18 /views/pages/global-map.html
parentdf20c871060ad88254f18d4a04f714edf59156f0 (diff)
parent695889f42896c1e3f1290a588ac1c5483d0124f0 (diff)
downloadweb-69b868a7655a25c82ce4a2bd444812be69c8b998.tar.gz
web-69b868a7655a25c82ce4a2bd444812be69c8b998.zip
v0.10.1 (#16)v0.10.1
- [feat: lilac theme](https://github.com/SayaAndy/saya-today-web/commit/1e2763ae476e99caa7ba4be22aa06dfa2f7c8bb8) (made default) - feat: center content even if toolbar is on the side - [fix: minimize chance of masonry getting broken](https://github.com/SayaAndy/saya-today-web/pull/16/commits/695889f42896c1e3f1290a588ac1c5483d0124f0)
Diffstat (limited to 'views/pages/global-map.html')
-rw-r--r--views/pages/global-map.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/pages/global-map.html b/views/pages/global-map.html
index cd3c2d5..d0433e9 100644
--- a/views/pages/global-map.html
+++ b/views/pages/global-map.html
@@ -22,14 +22,15 @@
case "olive": theme = "lettuce"; break;
case "lettuce": theme = "night"; break;
case "night": theme = "ram"; break;
- case "ram": theme = "olive"; break;
+ case "ram": theme = "lilac"; break;
+ case "lilac": theme = "olive"; break;
}
}
localStorage.setItem('theme', theme);
document.body.setAttribute('data-theme', theme);
}
- const savedTheme = localStorage.getItem('theme') || 'ram';
+ const savedTheme = localStorage.getItem('theme') || 'lilac';
switchTheme(savedTheme);
</script>
@@ -62,6 +63,7 @@
<div class="theme-icon" data-theme="lettuce"></div>
<div class="theme-icon" data-theme="night"></div>
<div class="theme-icon" data-theme="ram"></div>
+ <div class="theme-icon" data-theme="lilac"></div>
<div class="theme-pin"></div>
</div>
</div>