diff --git a/frontend/src/ui/yohaku/YohakuFoot.vue b/frontend/src/ui/yohaku/YohakuFoot.vue
index 32ae14a..65ec27d 100644
--- a/frontend/src/ui/yohaku/YohakuFoot.vue
+++ b/frontend/src/ui/yohaku/YohakuFoot.vue
@@ -15,6 +15,13 @@ const social = (site.social_links || []).filter((s) => s && s.url && s.url !== P
// 按站主要求去掉了(它只标识当前主题名,本站没有多套主题,属于纯装饰,
// 而且固定在底部会挡住内容)。对应的 .switch 样式也一并从
// chrome.css / pages.css 里删除,避免留下死规则。
+//
+// 手机端顶栏退场后,明暗切换没有了常驻入口:页脚这枚 ◐ 补位
+// (chrome.css 里 ≤720px 才显示,桌面仍走顶栏的主题键)。
+function toggleTheme() {
+ const dark = document.documentElement.getAttribute('data-theme') === 'vivid-dark'
+ site.themeMode = dark ? 'light' : 'dark'
+}
const links = [
{ to: '/', label: '时间线' },
@@ -49,6 +56,8 @@ const links = [
·
RSS
+ ·
+
diff --git a/frontend/src/ui/yohaku/YohakuTop.vue b/frontend/src/ui/yohaku/YohakuTop.vue
index 5a7f719..d52d028 100644
--- a/frontend/src/ui/yohaku/YohakuTop.vue
+++ b/frontend/src/ui/yohaku/YohakuTop.vue
@@ -1,31 +1,26 @@