Skip to content

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

:lipstick: https://github.com/siyuan-note/siyuan/issues/15094

Vanessae048ac9a5d27
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index 119b775f9e..83ba4aa45f 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -186,6 +186,9 @@
/* 表格 */
--b3-table-even-background: rgba(0, 0, 0, .02);
+ /* 数据库 */
+ --b3-av-gallery-shadow: rgba(0, 0, 0, 0.04) 0px 2px 4px 0px, var(--b3-border-color) 0px 0px 0px 1px;
+
/* 嵌入块 */
--b3-embed-background: transparent;
diff --git a/app/appearance/themes/daylight/theme.json b/app/appearance/themes/daylight/theme.json
index 2a8f897f6d..dbe8da6c7b 100644
--- a/app/appearance/themes/daylight/theme.json
+++ b/app/appearance/themes/daylight/theme.json
@@ -2,7 +2,7 @@
"name": "daylight",
"author": "Vanessa",
"url": "https://github.com/Vanessa219",
- "version": "1.0.8",
+ "version": "1.0.9",
"modes": [
"light"
]
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 82ff7ad7ed..482a35e2f3 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -185,6 +185,9 @@
/* 表格 */
--b3-table-even-background: rgba(255, 255, 255, .03);
+ /* 数据库 */
+ --b3-av-gallery-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px 0px, var(--b3-border-color) 0px 0px 0px 1px;
+
/* 嵌入块 */
--b3-embed-background: transparent;
diff --git a/app/appearance/themes/midnight/theme.json b/app/appearance/themes/midnight/theme.json
index a714aef427..a436b3856c 100644
--- a/app/appearance/themes/midnight/theme.json
+++ b/app/appearance/themes/midnight/theme.json
@@ -2,7 +2,7 @@
"name": "midnight",
"author": "Vanessa",
"url": "https://github.com/Vanessa219",
- "version": "1.0.8",
+ "version": "1.0.9",
"modes": [
"dark"
]
diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss
index de13b4eae7..208273acff 100644
--- a/app/src/assets/scss/business/_av.scss
+++ b/app/src/assets/scss/business/_av.scss
@@ -271,7 +271,7 @@
}
&-item {
- border: 1px solid var(--b3-border-color);
+ box-shadow: var(--b3-av-gallery-shadow);
border-radius: var(--b3-border-radius);
display: flex;
flex-direction: column;
@@ -431,7 +431,7 @@
}
&-add {
- border: 1px solid var(--b3-border-color);
+ box-shadow: var(--b3-av-gallery-shadow);
border-radius: var(--b3-border-radius);
display: flex;
justify-content: center;