Skip to content

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

:lipstick: fix https://github.com/siyuan-note/siyuan/issues/7293

Vanessaa97dae82314d
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index 88d8c72c45..d690c93bbd 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -139,6 +139,7 @@
--b3-protyle-inline-mark-color: #202124;
--b3-protyle-inline-tag-color: #5f6368;
--b3-protyle-inline-blockref-color: #8250df;
+ --b3-protyle-inline-fileref-color: #21862e;
/* PDF */
--b3-pdf-selection: #d0e9c8;
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 0ae144a882..5dbc992164 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -139,6 +139,7 @@
--b3-protyle-inline-mark-color: #e8eaed;
--b3-protyle-inline-tag-color: #9aa0a6;
--b3-protyle-inline-blockref-color: #8957e5;
+ --b3-protyle-inline-fileref-color: #9eb762;
/* PDF */
--b3-pdf-selection: #779170;
diff --git a/app/src/assets/scss/_wysiwyg.scss b/app/src/assets/scss/_wysiwyg.scss
index f6e3f7889b..c1abc09b33 100644
--- a/app/src/assets/scss/_wysiwyg.scss
+++ b/app/src/assets/scss/_wysiwyg.scss
@@ -202,8 +202,8 @@
transition: var(--b3-transition);
}
- span[data-type~="file-annotation-ref"]:before {
- content: "🔖 ";
+ span[data-type~="file-annotation-ref"] {
+ color: var(--b3-protyle-inline-fileref-color);
}
&.render-node {