Skip to content

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

:art: Improve settings

Daniele87c4332e462
diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.html
index bce220cadb..5322875168 100644
--- a/app/appearance/icons/index.html
+++ b/app/appearance/icons/index.html
@@ -28,6 +28,12 @@
<body>
<h2>SiYuan</h2>
<div class="fn__clear">
+ <div>
+ <svg>
+ <use xlink:href="#iconLayoutGrid"></use>
+ </svg>
+ iconLayoutGrid
+ </div>
<div>
<svg>
<use xlink:href="#iconListFilterPlus"></use>
diff --git a/app/appearance/icons/litheness/icon.js b/app/appearance/icons/litheness/icon.js
index 1f75c405ef..0dd0e0011c 100644
--- a/app/appearance/icons/litheness/icon.js
+++ b/app/appearance/icons/litheness/icon.js
@@ -1,5 +1,8 @@
document.body.insertAdjacentHTML('afterbegin', `<svg id="iconsLitheness" style="position: absolute; width: 0; height: 0; overflow: hidden;">
<defs>
+ <symbol id="iconLayoutGrid" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
+ <rect width="7" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="14" y="3" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/>
+ </symbol>
<symbol id="iconListFilterPlus" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 5H2"/><path d="M6 12h12"/><path d="M9 19h6"/><path d="M16 5h6"/><path d="M19 8V2"/>
</symbol>
diff --git a/app/src/config/setting/tabs.ts b/app/src/config/setting/tabs.ts
index 5214d73c1e..be4fed08f7 100644
--- a/app/src/config/setting/tabs.ts
+++ b/app/src/config/setting/tabs.ts
@@ -111,7 +111,7 @@ const settingTabs = {
}, registerAccessTab),
app: setting.tab({
id: "app",
- icon: "iconSiYuan",
+ icon: "iconLayoutGrid",
title: () => window.siyuan.languages.application,
}, registerAppTab),
about: setting.tab({