From aef9ccd1ec54fb6f8c8f80180dfc73a07a54b9fc Mon Sep 17 00:00:00 2001 From: xiyidaiwa Date: Tue, 11 Aug 2026 22:45:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=B8=BB=E9=A2=98/UI):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=A0=87=E9=A2=98=E6=A0=8F=E4=B8=BB=E9=A2=98=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E4=BA=8B=E4=BB=B6=E9=93=BE=E3=80=81=E7=A4=BE=E5=8C=BA?= =?UTF-8?q?=E7=89=88=E5=BE=BD=E6=A0=87=E6=96=B9=E6=A1=88B=E3=80=81?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E9=A1=B6=E9=83=A8=E5=9D=97=E6=B8=85?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - App.vue: WindowTitleBar 补 :theme-mode 与 @toggle-theme 绑定,使标题栏主题按钮真正触发 toggleTheme;watch(themeMode) 补 syncThemePreference() 立即落地 dark 类 - WindowTitleBar.vue: 新增 ThemeToggle 主题切换按钮;社区版标签改为方案B描边霓虹徽章(亮/暗双态) - AppSidebar.vue: 删除侧边栏顶部 logo/账户菜单/主题切换块,导航容器滚动条还原为 scrollbar-muted,清理相关 script 死代码 --- debian/changelog | 2 +- src/App.vue | 3 + src/components/AppSidebar.vue | 97 +------------------------------ src/components/WindowTitleBar.vue | 11 +++- 4 files changed, 15 insertions(+), 98 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9b26350d..28ed93fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -spark-store (5.2.1.0) UNRELEASED; urgency=medium +spark-store (5.2.1.16-test) UNRELEASED; urgency=medium * Initial release. (Closes: #nnnn) diff --git a/src/App.vue b/src/App.vue index 284bcc3f..fdc33152 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,10 +6,12 @@ > @@ -3547,6 +3549,7 @@ watch(themeMode, (newVal) => { "set-theme-source", newVal === "auto" ? "system" : newVal, ); + syncThemePreference(); }); watch(isDarkTheme, () => { diff --git a/src/components/AppSidebar.vue b/src/components/AppSidebar.vue index d18270da..8db4000a 100644 --- a/src/components/AppSidebar.vue +++ b/src/components/AppSidebar.vue @@ -1,51 +1,5 @@