Skip to content

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

:iphone: https://github.com/siyuan-note/siyuan/issues/6197

Vanessaeaf1cbbb2e13
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 8976b651ad..67dfb9d3c0 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -1,9 +1,9 @@
:root {
/* 主色 */
--b3-theme-primary: #1f6feb;
- --b3-theme-primary-light: rgba(31, 111, 235, 0.54);
- --b3-theme-primary-lighter: rgba(31, 111, 235, 0.38);
- --b3-theme-primary-lightest: rgba(31, 111, 235, 0.12);
+ --b3-theme-primary-light: rgba(31, 111, 235, 0.72);
+ --b3-theme-primary-lighter: rgba(31, 111, 235, 0.48);
+ --b3-theme-primary-lightest: rgba(31, 111, 235, 0.24);
--b3-theme-secondary: #f3a92f;
--b3-theme-background: #212224;
--b3-theme-background-light: #353637;
diff --git a/app/src/assets/scss/_layout.scss b/app/src/assets/scss/_layout.scss
index f208bdb3b4..156665c3c1 100644
--- a/app/src/assets/scss/_layout.scss
+++ b/app/src/assets/scss/_layout.scss
@@ -142,6 +142,13 @@
}
}
+ &:hover,
+ &.item--focus {
+ .item__close svg {
+ opacity: 1;
+ }
+ }
+
&--readonly {
border-left-color: var(--b3-theme-background-light);
}
@@ -229,6 +236,7 @@
color: var(--b3-theme-on-surface);
transition: var(--b3-transition);
padding: 4px;
+ opacity: 0;
}
&:hover svg {