Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/13036

Vanessa2ba52429206f
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index cf1260cd9d..5a07697c01 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -47,7 +47,7 @@
--b3-scroll-color: rgba(230, 230, 230, .2);
/* 列表 */
- --b3-list-hover: var(--b3-border-color);
+ --b3-list-hover: rgba(255, 255, 255, .075);
--b3-list-icon-hover: rgba(201, 209, 217, .1);
/* 菜单 */
@@ -140,7 +140,7 @@
--b3-switch-checked: var(--b3-theme-primary);
--b3-switch-checked-background: #a8c7fa;
--b3-switch-checked-hover: var(--b3-theme-primary);
- --b3-switch-checked-hover2: rgba( 253,252,251, .10);
+ --b3-switch-checked-hover2: rgba(253, 252, 251, .10);
/* 阴影 */
--b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent;
diff --git a/app/src/assets/scss/business/_color.scss b/app/src/assets/scss/business/_color.scss
index 25746cd07f..964a2c7f44 100644
--- a/app/src/assets/scss/business/_color.scss
+++ b/app/src/assets/scss/business/_color.scss
@@ -4,7 +4,7 @@
margin: 4px;
border: 0;
transition: var(--b3-transition);
- box-shadow: 0 0 0 1px var(--b3-theme-surface-lighter) inset;
+ box-shadow: 0 0 0 1px var(--b3-list-hover) inset;
display: flex;
align-items: center;
flex-direction: column;
@@ -21,6 +21,6 @@
}
&:hover:not(.color__square--list) {
- box-shadow: 0 0 0 1px var(--b3-theme-surface-lighter) inset, 0 0 0 4px var(--b3-theme-background);
+ box-shadow: 0 0 0 1px var(--b3-list-hover) inset, 0 0 0 4px var(--b3-theme-background);
}
}