From 1e2763ae476e99caa7ba4be22aa06dfa2f7c8bb8 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Tue, 21 Oct 2025 09:25:01 +0700 Subject: feat: lilac theme feat: center content even if toolbar is on the side --- views/pages/global-map.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views/pages/global-map.html') diff --git a/views/pages/global-map.html b/views/pages/global-map.html index cd3c2d5..b9d2472 100644 --- a/views/pages/global-map.html +++ b/views/pages/global-map.html @@ -22,7 +22,8 @@ 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); @@ -62,6 +63,7 @@
+
-- cgit v1.3.1+13 From 236e4a11bd4be4896f80f78216b9ede699e40a34 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Tue, 21 Oct 2025 09:28:43 +0700 Subject: feat: make lilac theme default --- views/layouts/general-page.html | 2 +- views/pages/global-map.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'views/pages/global-map.html') diff --git a/views/layouts/general-page.html b/views/layouts/general-page.html index 920640e..5760b88 100644 --- a/views/layouts/general-page.html +++ b/views/layouts/general-page.html @@ -156,7 +156,7 @@ switchThemeDecor(theme); } - const savedTheme = localStorage.getItem('theme') || 'ram'; + const savedTheme = localStorage.getItem('theme') || 'lilac'; switchTheme(savedTheme); diff --git a/views/pages/global-map.html b/views/pages/global-map.html index b9d2472..d0433e9 100644 --- a/views/pages/global-map.html +++ b/views/pages/global-map.html @@ -30,7 +30,7 @@ document.body.setAttribute('data-theme', theme); } - const savedTheme = localStorage.getItem('theme') || 'ram'; + const savedTheme = localStorage.getItem('theme') || 'lilac'; switchTheme(savedTheme); -- cgit v1.3.1+13