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/17389

Vanessa8be7301a71b1
diff --git a/app/appearance/themes/daylight/theme.css b/app/appearance/themes/daylight/theme.css
index c4c9740310..8ab925ca79 100644
--- a/app/appearance/themes/daylight/theme.css
+++ b/app/appearance/themes/daylight/theme.css
@@ -131,7 +131,7 @@
/* 阴影 */
--b3-point-shadow: 0 0 1px 0 rgba(0, 0, 0, .1), 0 0 2px 0 rgba(0, 0, 0, .2);
--b3-dialog-shadow: 0 8px 24px rgba(0, 0, 0, .2);
- --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12);
+ --b3-button-shadow: 0px 1px 2px 0px rgb(0 0 0 / .3), 0px 1px 3px 1px rgb(0 0 0 /.15);
/* 图表颜色 */
--b3-graph-p-point: #076f7e;
diff --git a/app/appearance/themes/midnight/theme.css b/app/appearance/themes/midnight/theme.css
index 80578bdb6a..c9fcdbefc0 100644
--- a/app/appearance/themes/midnight/theme.css
+++ b/app/appearance/themes/midnight/theme.css
@@ -130,7 +130,7 @@
/* 阴影 */
--b3-point-shadow: inset 0 .5px .5px .5px rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .04), 0 0 0 0 transparent;
--b3-dialog-shadow: 0 8px 24px #010409;
- --b3-button-shadow: 0 5px 5px -3px rgb(0 0 0 / .2), 0 8px 10px 1px rgb(0 0 0 / .14), 0 3px 14px 2px rgb(0 0 0 / .12);
+ --b3-button-shadow: 0px 1px 2px 0px rgb(0 0 0 / .3), 0px 1px 3px 1px rgb(0 0 0 /.15);
/* 图表颜色 */
--b3-graph-p-point: #076f7e;
diff --git a/app/src/assets/scss/component/_button.scss b/app/src/assets/scss/component/_button.scss
index 2fcaf2bcc1..5cd3b915a1 100644
--- a/app/src/assets/scss/component/_button.scss
+++ b/app/src/assets/scss/component/_button.scss
@@ -9,7 +9,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
- transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
+ transition: box-shadow 280ms ease;
border: 0;
box-sizing: border-box;
text-align: center;