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/17384 还原色值

Vanessa258c394c06ad
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index 61723d4d3c..edf1fda26e 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -17,8 +17,8 @@
--b3-theme-on-primary: #fff;
--b3-theme-on-secondary: #fff;
--b3-theme-on-background: #222;
- --b3-theme-on-surface: rgba(0, 0, 0, .6);
- --b3-theme-on-surface-light: rgba(0, 0, 0, .6);
+ --b3-theme-on-surface: #5f6368;
+ --b3-theme-on-surface-light: rgba(95, 99, 104, .68);
--b3-theme-on-error: #fff;
/* 字体 */
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 9c69558aca..36f7a92d6a 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -17,8 +17,8 @@
--b3-theme-on-primary: #fff;
--b3-theme-on-secondary: #fff;
--b3-theme-on-background: #dadada;
- --b3-theme-on-surface: rgba(255, 255, 255, .55);
- --b3-theme-on-surface-light: rgba(255, 255, 255, .7);
+ --b3-theme-on-surface: #9aa0a6;
+ --b3-theme-on-surface-light: #bababa;
--b3-theme-on-error: #fff;
/* 字体 */
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index 6d76cb48a8..67fb5f65c6 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -198,6 +198,11 @@
position: fixed;
background-color: var(--b3-theme-primary-lightest);
z-index: 3; // 需大于 database header and footer
+
+ // 划选未超过一个块时不显示矩形
+ &[data-empty="true"] {
+ display: none;
+ }
}
.protyle-breadcrumb {