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/14034#issuecomment-4753472899

Daniel38cfd2f6ee23
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index 0f02bec0cb..cff4fb9cba 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -60,7 +60,7 @@ const renderDragTip = () => {
dragTipState.element.style.left = "0";
dragTipState.titleElement = document.createElement("div");
dragTipState.titleElement.className = "drag-tip__title";
- dragTipState.titleElement.style.cssText = "max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--b3-theme-on-background);";
+ dragTipState.titleElement.style.cssText = "max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--b3-tooltips-color);";
dragTipState.actionElement = document.createElement("div");
dragTipState.actionElement.className = "drag-tip__action";
dragTipState.actionElement.style.cssText = "color:var(--b3-tooltips-second-color);font-size:12px;";
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index 9061c3150b..305a954b24 100644
--- a/app/src/protyle/util/editorCommonEvent.ts
+++ b/app/src/protyle/util/editorCommonEvent.ts
@@ -68,7 +68,7 @@ const renderDragTip = () => {
dragTipState.element.style.left = "0";
dragTipState.titleElement = document.createElement("div");
dragTipState.titleElement.className = "drag-tip__title";
- dragTipState.titleElement.style.cssText = "max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--b3-theme-on-background);";
+ dragTipState.titleElement.style.cssText = "max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--b3-tooltips-color);";
dragTipState.actionElement = document.createElement("div");
dragTipState.actionElement.className = "drag-tip__action";
dragTipState.actionElement.style.cssText = "color:var(--b3-tooltips-second-color);font-size:12px;";