Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: https://github.com/siyuan-note/siyuan/issues/12844

Vanessa008e6ab8caa5
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index 2f97b9508a..33d4eae82e 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -136,7 +136,7 @@
/* switch */
--b3-switch-background: #e1e3e1;
- --b3-switch-border: #aeaeae;
+ --b3-switch-border: var(--b3-theme-on-surface-light);
--b3-switch-hover: rgba(31, 31, 31, 0.06);
--b3-switch-checked: #fff;
--b3-switch-checked-background: var(--b3-theme-primary);
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 769de9da3b..9779a6f785 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -135,7 +135,7 @@
/* switch */
--b3-switch-background: #444746;
- --b3-switch-border: #8e918f;
+ --b3-switch-border: var(--b3-theme-on-surface-light);
--b3-switch-hover: rgba(253, 252, 251, .10);
--b3-switch-checked: var(--b3-theme-primary);
--b3-switch-checked-background: #a8c7fa;