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

Liang Ding7b66693c7c85
diff --git a/kernel/api/bazaar.go b/kernel/api/bazaar.go
index 1bfc36e250..630c2f7d35 100644
--- a/kernel/api/bazaar.go
+++ b/kernel/api/bazaar.go
@@ -281,6 +281,10 @@ func installBazaarTheme(c *gin.Context) {
return
}
+ // 安装集市主题后不跟随系统切换外观模式
+ model.Conf.Appearance.ModeOS = false
+ model.Conf.Save()
+
util.PushMsg(model.Conf.Language(69), 3000)
ret.Data = map[string]interface{}{
"packages": model.BazaarThemes(),