Skip to content

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

:art: menu icon

Vanessa13c9ac87c262
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index edf1fda26e..60876ab896 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -59,6 +59,7 @@
/* 菜单 */
--b3-menu-background: var(--b3-theme-background);
+ --b3-menu-icon-color: rgba(0, 0, 0, .6);
/* 提示 */
--b3-tooltips-background: #312f35;
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 36f7a92d6a..a1a897b00a 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -58,6 +58,7 @@
/* 菜单 */
--b3-menu-background: var(--b3-theme-background);
+ --b3-menu-icon-color: rgba(255, 255, 255, .7);
/* 提示 */
--b3-tooltips-background: #030303;
diff --git a/app/src/assets/scss/component/_menu.scss b/app/src/assets/scss/component/_menu.scss
index f955277fd5..97c3e8e2b0 100644
--- a/app/src/assets/scss/component/_menu.scss
+++ b/app/src/assets/scss/component/_menu.scss
@@ -317,7 +317,7 @@
line-height: 16px;
margin-right: 8px;
flex-shrink: 0;
- color: var(--b3-theme-on-surface);
+ color: var(--b3-menu-icon-color);
&--small {
margin: 0 0 0 8px;