diff options
| author | 2025-10-21 10:15:44 +0700 | |
|---|---|---|
| committer | 2025-10-21 10:15:44 +0700 | |
| commit | 69b868a7655a25c82ce4a2bd444812be69c8b998 (patch) | |
| tree | 201d21e0bd732c42941a9408390eba0573a99f18 /views/pages/global-map.html | |
| parent | df20c871060ad88254f18d4a04f714edf59156f0 (diff) | |
| parent | 695889f42896c1e3f1290a588ac1c5483d0124f0 (diff) | |
| download | web-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.html | 6 |
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> |