Skip to content

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

:art: Move background gradient setting to the end of the interface group https://github.com/siyuan-note/siyuan/issues/19327

Daniel2a1bdd499eba
diff --git a/app/src/config/tabs/appearanceTab.ts b/app/src/config/tabs/appearanceTab.ts
index 18754f0f66..3b32a49081 100644
--- a/app/src/config/tabs/appearanceTab.ts
+++ b/app/src/config/tabs/appearanceTab.ts
@@ -751,13 +751,6 @@ const mountBootAppearance = async (root: HTMLElement) => {
const registerAppearanceInterfaceGroup = (tab: SettingTabBuilder) => {
const group = tab.group("interface", window.siyuan.languages.configGroupInterface);
- group.slot({
- key: "bodyGradient",
- keywords: [window.siyuan.languages.bodyGradient, window.siyuan.languages.bodyGradientTip],
- html: genBodyGradientHtml,
- afterMount: mountBodyGradient,
- });
-
group.select("appearance.lang", {
title: window.siyuan.languages.language,
desc: window.siyuan.languages.language1,
@@ -884,6 +877,12 @@ const registerAppearanceInterfaceGroup = (tab: SettingTabBuilder) => {
options: Constants.SIYUAN_CONFIG_APPEARANCE_DARK_CODE.map(value => ({value})),
});
});
+ group.slot({
+ key: "bodyGradient",
+ keywords: [window.siyuan.languages.bodyGradient, window.siyuan.languages.bodyGradientTip],
+ html: genBodyGradientHtml,
+ afterMount: mountBodyGradient,
+ });
};
const registerAppearanceControlsGroup = (tab: SettingTabBuilder) => {