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

Vanessae515ed2f45f1
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 4cd2449ec4..d528ecf026 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -8,7 +8,7 @@
--b3-theme-background: #1e1e1e;
--b3-theme-background-light: rgba(255, 255, 255, .1);
--b3-theme-surface: #2c2c2c;
- --b3-theme-surface-light: rgba(255, 255, 255, .04);
+ --b3-theme-surface-light: rgba(41, 42, 45, .86);
--b3-theme-surface-lighter: rgba(230, 230, 230, .1);
--b3-theme-error: #d23f31;
--b3-theme-success: #65b84d;
@@ -124,7 +124,7 @@
--b3-select-background: url("data:image/svg+xml;utf8,<svg fill='rgba(154, 160, 166, .68)' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat right 2px center var(--b3-theme-background);
/* switch */
- --b3-switch-background: #555a5d;
+ --b3-switch-background: #444746;
--b3-switch-border: var(--b3-theme-on-surface-light);
--b3-switch-hover: rgba(253, 252, 251, .10);
--b3-switch-checked: var(--b3-theme-primary);
@@ -134,7 +134,7 @@
/* 阴影 */
--b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .12), 0 3px 8px rgba(0, 0, 0, .3), 0 0 0 0 transparent;
- --b3-dialog-shadow: 0 8px 32px rgba(0, 0, 0, .6);
+ --b3-dialog-shadow: 0 8px 24px #010409;
--b3-button-shadow: 0 1px 2px 0 rgb(0 0 0 / .3), 0 1px 3px 1px rgb(255 255 255 /.15);
--b3-button-active-shadow: 0 2px 3px 1px rgb(0 0 0 / .3), 0 2px 4px 2px rgb(255 255 255 /.15);
@@ -163,7 +163,7 @@
--b3-graph-hl-line: #4285f4;
/* 代码片段背景 */
- --b3-protyle-code-background: rgba(240, 246, 252, .18);
+ --b3-protyle-code-background: rgba(240, 246, 252, .15);
/* 所见即所得行内元素颜色 */
--b3-protyle-inline-strong-color: inherit;
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 6d82a48f4f..c9af788039 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -644,7 +644,7 @@
content: "";
height: 16px;
width: 16px;
- background: var(--b3-theme-surface-lighter);
+ background-color: var(--b3-theme-surface-lighter);
display: block;
position: absolute;
left: -18px;