From 1c20cab519f5b3e746c09e5f039abaf5ef7cd276 Mon Sep 17 00:00:00 2001 From: HomeDash Bot Date: Fri, 11 Sep 2026 23:23:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(admin):=20=E5=90=8E=E5=8F=B0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E6=B7=B1?= =?UTF-8?q?=E6=B5=85=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 反馈"设置页也没有":/admin/ 只有一套亮色变量(我写它时没做主题), 不跟随系统也不跟随导航页/登录页的手动选择。 - head 内联引导脚本:localStorage['navi-theme'] 优先,其次 prefers-color-scheme - 深色下整体替换 CSS 变量,并补掉少数写死的白色 (输入框/按钮/列表项/图片底/阴影),加 color-scheme 让原生控件与滚动条跟随 - 与导航页、登录页共用同一个 storage 键,三处观感一致 --- admin/index.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/admin/index.html b/admin/index.html index d671c97..3eca4a4 100644 --- a/admin/index.html +++ b/admin/index.html @@ -4,6 +4,7 @@ 导航管理 +