dsh-theme-customizer 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- # 官方 Cordis 按钮常驻补丁说明(dsh-client-ui-cordis)
1
+ # Cordis 按钮常驻补丁说明(dsh-client-ui-cordis)
2
2
 
3
3
  > 验证通过(2026-08-19,临时静态测试插件 v3 确认:无插件活动时按钮常驻、开关即时显隐、刷新持久)。
4
4
  > **推荐直接用随包脚本一键安装**:`node apply-patch.cjs`(自动备份 / `--check` 查状态 / `--undo` 撤销)。本文档记录补丁内容与手动重打方法。
@@ -31,8 +31,7 @@ if (all.length === 0) return null;
31
31
  if (all.length === 0 && window.__TCZ_HIDE_OFFICIAL_CORDIS) return null; /* [dsh-theme-customizer] Cordis按钮常驻补丁 */
32
32
  ```
33
33
 
34
- ⚠️ 千万不要加 `!`!历史上写反过一次(`!window.__TCZ_HIDE_OFFICIAL_CORDIS`),
35
- 导致 flag=false(常驻)时反而隐藏。语义:
34
+ ⚠️ 千万不要加 `!`!,会导致 flag=false(常驻)时反而隐藏。语义:
36
35
  - `window.__TCZ_HIDE_OFFICIAL_CORDIS = false` → 常驻(无插件也显示)
37
36
  - `window.__TCZ_HIDE_OFFICIAL_CORDIS = true` → 官方原逻辑(无插件隐藏)
38
37
 
package/README.en.md CHANGED
@@ -1,106 +1,195 @@
1
- # dsh-theme-customizer
2
-
3
- [![npm version](https://img.shields.io/npm/v/dsh-theme-customizer?style=flat-square&v=1)](https://www.npmjs.com/package/dsh-theme-customizer)
4
- [![license](https://img.shields.io/github/license/lxxz1918/dsh-theme-customizer?style=flat-square&v=1)](LICENSE)
5
- [![topic: dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-0969da?style=flat-square&v=1)](https://github.com/topics/dsh-plugin)
6
- [![stars](https://img.shields.io/github/stars/lxxz1918/dsh-theme-customizer?style=flat-square&v=1)](https://github.com/lxxz1918/dsh-theme-customizer/stargazers)
7
-
8
- **English** | [中文](README.md)
9
-
10
- > A theme customizer plugin for the DeepSeek Harness (DSH) web UI. Backgrounds, text colors, borders and details — all adjustable visually, persisted across restarts.
11
- > Config is stored in localStorage; presets can be exported as `.tczp` files (images included) and shared with any machine.
12
-
13
- ## Screenshots
14
-
15
- | | Main UI | Settings panel |
16
- |:---:|:---:|:---:|
17
- | **Preset 0** | ![Preset 0 main UI](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/theme-effect.png) | ![Preset 0 panel](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/settings-panel.png) |
18
- | **Preset 1** | ![Preset 1 main UI](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/preset-1-main.png) | ![Preset 1 panel](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/preset-1-panel.png) |
19
-
20
- ## Features
21
-
22
- - **Interface module (7 background areas)**: Main / Sidebar / Conversation / Composer / Settings panel / Floating panel / Cordis panel
23
- - Each area: None / Solid color / Image (with crop & selection) + opacity (**larger value = more transparent**) + base color (independent layer)
24
- - Main background supports "include sidebar / exclude sidebar" display area toggle
25
- - Sidebar image fades out directly via mask never covers the top UI or the settings panel
26
- - **Borders module**: color + opacity for all default UI borders/dividers, independently for 5 areas (Main incl. sidebar / Cordis / Composer / Settings / Floating panel)
27
- - **Text colors module**: 5 categories (Body / Process / Auxiliary / Faded / Accent), shared across light & dark themes, restorable to official defaults
28
- - **Brand color**: color + opacity for the top-left DeepSeek Harness logo; the "Harness" wordmark can be tinted separately
29
- - **Conversation details**: user bubble / inline code / code block background / code block scrollbar / conversation scrollbar / todo panel collapsed & expanded / "scroll to bottom" button background
30
- - **Composer**: background, fixed input height (1–10 rows), stats line takeover (9 independent toggles + full expand), command button & menu backgrounds
31
- - **New session button**: None/Solid/Image style + show text/icon toggles + independent icon/text colors + base color
32
- - **Layout**: draggable settings panel (drag its header; position persisted; one-click reset)
33
- - **Floating panel**: a draggable mini settings panel (choose which modules to show), always on top
34
- - **Presets**: save/apply/rename/delete/export/import (`.tczp`, images included, up to 10) + drag-to-reorder
35
- - **Global reset**: one click to restore all defaults (3-step confirm to prevent accidents)
36
-
37
- ## Installation
38
-
39
- ```bash
40
- # Option 1: npm (published package)
41
- npm install -g dsh-theme-customizer
42
- dsh plugin --profile web add dsh-theme-customizer
43
-
44
- # Option 2: local directory (after cloning this repo)
45
- dsh plugin --profile web add <path-to-this-repo>
46
- ```
47
-
48
- Then **restart dsh web** for it to take effect. Verify: Settings → Theme should appear.
49
-
50
- ## Usage
51
-
52
- 1. Open **Settings → Theme** and adjust by module; changes apply instantly and save automatically (the bottom of the page shows "last saved" time)
53
- 2. For quick tweaks, click "↗ Open float panel" at the top right — the panel is draggable
54
- 3. To verify the conversation-area options, use the test text in [对话区测试指令.md](对话区测试指令.md)
55
-
56
- ## Persistent Cordis button (optional)
57
-
58
- The "Cordis button always visible" toggle in Theme settings **requires a patch to the official dsh-client-ui-cordis package**; without the patch the toggle has no effect. One-click install:
59
-
60
- ```bash
61
- node apply-patch.cjs # apply patch (auto backup)
62
- node apply-patch.cjs --check # check status
63
- node apply-patch.cjs --undo # revert
64
- ```
65
-
66
- ⚠️ **DSH upgrades overwrite the official package** re-run `apply-patch.cjs` after upgrading. Details in [PATCH-CORDIS-BUTTON.md](PATCH-CORDIS-BUTTON.md).
67
-
68
- ## Build from source (developers)
69
-
70
- ```bash
71
- # 1. Concatenate source fragments (optimized/src/ → optimized/dist/, with syntax check + line map/symbols)
72
- node optimized\build.cjs
73
-
74
- # 2. Generate the static client bundle (dist/p3_2_client.js → lib/client.js)
75
- node build_static.cjs optimized\dist\p3_2_client.js lib\client.js
76
-
77
- # 3. Syntax check + install for testing
78
- node --check lib\client.js
79
- dsh plugin --profile web add <path-to-this-repo>
80
- ```
81
-
82
- Source layout: `optimized/src/` contains 16 fragments (`00_*`~`15_*` + `host.js`) concatenated in filename order into the plugin function body. Look up features in `optimized/INDEX.md`.
83
-
84
- ## Preset files (.tczp)
85
-
86
- Presets panel → "Import preset" and pick a `.tczp` file to restore a whole config (images included — no original files needed). Export each preset via "Export" in the same panel.
87
-
88
- ## Uninstall
89
-
90
- ```bash
91
- dsh plugin --profile web remove dsh-theme-customizer
92
- ```
93
-
94
- ## Contact & Feedback
95
-
96
- - Bugs / feature requests → open an [issue](https://github.com/lxxz1918/dsh-theme-customizer/issues)
97
- - Maintenance: issues are reviewed and replied to **every Sunday**
98
- - Bilibili: [homepage](https://space.bilibili.com/38175333)
99
-
100
- ## AI Usage
101
-
102
- This project is designed and reviewed by [lxxz1918](https://github.com/lxxz1918); the code is written with the assistance of an AI assistant (DeepSeek). All feature requirements, UI copy and final results are confirmed by the author.
103
-
104
- ## License
105
-
106
- [MIT](LICENSE)
1
+ # dsh-theme-customizer
2
+
3
+ [![npm version](https://img.shields.io/npm/v/dsh-theme-customizer?style=flat-square&v=1)](https://www.npmjs.com/package/dsh-theme-customizer)
4
+ [![license](https://img.shields.io/github/license/lxxz1918/dsh-theme-customizer?style=flat-square&v=1)](LICENSE)
5
+ [![topic: dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-0969da?style=flat-square&v=1)](https://github.com/topics/dsh-plugin)
6
+ [![stars](https://img.shields.io/github/stars/lxxz1918/dsh-theme-customizer?style=flat-square&v=1)](https://github.com/lxxz1918/dsh-theme-customizer/stargazers)
7
+
8
+ **English** | [中文](README.md)
9
+
10
+ > A theme customizer plugin for the DeepSeek Harness (DSH) web UI. Backgrounds, text colors, borders and details — all adjustable visually, persisted across restarts.
11
+ > Config is stored in localStorage; presets can be exported as `.tczp` files (images included) and shared with any machine.
12
+
13
+ ## 🎨 Theme Gallery
14
+
15
+ Four AI-generated wallpaper themes, each with two main-UI "display area" modes: **include sidebar** and **exclude sidebar**, plus matching `.tczp` presets for one-click import (see "Asset Pack" below).
16
+
17
+ | 🌌 Aurora Nights (dark) | 🌇 Sunset Clouds (bright) |
18
+ |:---:|:---:|
19
+ | ![Aurora](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-1.jpg) | ![Sunset](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-1.jpg) |
20
+ | **🌃 Cyber Nights (dark)** | **🌸 Sakura Sky (bright)** |
21
+ | ![Cyber](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-1.jpg) | ![Sakura](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-1.jpg) |
22
+
23
+ ## 📸 Screenshots
24
+
25
+ Each theme has two modes (presets `-0` / `-1`): **display area includes sidebar** and **display area excludes sidebar** . Each mode has 3 shots: front-1 / front-2 / settings.
26
+
27
+ <details>
28
+ <summary>🌌 Aurora Nights (dark)</summary>
29
+
30
+ **Display area includes sidebar (-0)**
31
+
32
+ | Front 1 | Front 2 | Settings |
33
+ |:---:|:---:|:---:|
34
+ | ![Aurora A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-1.jpg) | ![Aurora A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-2.jpg) | ![Aurora A-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-settings.jpg) |
35
+
36
+ **Display area excludes sidebar (-1)**
37
+
38
+ | Front 1 | Front 2 | Settings |
39
+ |:---:|:---:|:---:|
40
+ | ![Aurora B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-front-1.jpg) | ![Aurora B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-front-2.jpg) | ![Aurora B-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-settings.jpg) |
41
+
42
+ </details>
43
+
44
+ <details>
45
+ <summary>🌇 Sunset Clouds (bright)</summary>
46
+
47
+ **Display area includes sidebar (-0)**
48
+
49
+ | Front 1 | Front 2 | Settings |
50
+ |:---:|:---:|:---:|
51
+ | ![Sunset A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-1.jpg) | ![Sunset A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-2.jpg) | ![Sunset A-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-settings.jpg) |
52
+
53
+ **Display area excludes sidebar (-1)**
54
+
55
+ | Front 1 | Front 2 | Settings |
56
+ |:---:|:---:|:---:|
57
+ | ![Sunset B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-front-1.jpg) | ![Sunset B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-front-2.jpg) | ![Sunset B-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-settings.jpg) |
58
+
59
+ </details>
60
+
61
+ <details>
62
+ <summary>🌃 Cyber Nights (dark)</summary>
63
+
64
+ **Display area includes sidebar (-0)**
65
+
66
+ | Front 1 | Front 2 | Settings |
67
+ |:---:|:---:|:---:|
68
+ | ![Cyber A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-1.jpg) | ![Cyber A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-2.jpg) | ![Cyber A-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-settings.jpg) |
69
+
70
+ **Display area excludes sidebar (-1)**
71
+
72
+ | Front 1 | Front 2 | Settings |
73
+ |:---:|:---:|:---:|
74
+ | ![Cyber B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-front-1.jpg) | ![Cyber B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-front-2.jpg) | ![Cyber B-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-settings.jpg) |
75
+
76
+ </details>
77
+
78
+ <details>
79
+ <summary>🌸 Sakura Sky (bright)</summary>
80
+
81
+ **Display area includes sidebar (-0)**
82
+
83
+ | Front 1 | Front 2 | Settings |
84
+ |:---:|:---:|:---:|
85
+ | ![Sakura A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-1.jpg) | ![Sakura A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-2.jpg) | ![Sakura A-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-settings.jpg) |
86
+
87
+ **Display area excludes sidebar (-1)**
88
+
89
+ | Front 1 | Front 2 | Settings |
90
+ |:---:|:---:|:---:|
91
+ | ![Sakura B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-front-1.jpg) | ![Sakura B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-front-2.jpg) | ![Sakura B-settings](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-settings.jpg) |
92
+
93
+ </details>
94
+
95
+ ## Features
96
+
97
+ - **Interface module (7 background areas)**: Main / Sidebar / Conversation / Composer / Settings panel / Floating panel / Cordis panel
98
+ - Each area: None / Solid color / Image (with crop & selection) + opacity (**larger value = more transparent**) + base color (independent layer)
99
+ - Main background supports "include sidebar / exclude sidebar" display area toggle
100
+ - Sidebar image fades out directly via mask — never covers the top UI or the settings panel
101
+ - **Independent "when collapsed" settings** for both Main and Sidebar (applied when the sidebar is folded; cross-fade transition on toggle)
102
+ - **Borders module**: color + opacity for all default UI borders/dividers, independently for 5 areas (Main incl. sidebar / Cordis / Composer / Settings / Floating panel)
103
+ - **Text colors module**: 5 categories (Body / Process / Auxiliary / Faded / Accent), shared across light & dark themes, restorable to official defaults
104
+ - **Brand color**: color + opacity for the top-left DeepSeek Harness logo; the "Harness" wordmark can be tinted separately
105
+ - **Conversation details**: user bubble / inline code / code block background / code block scrollbar / conversation scrollbar / todo panel collapsed & expanded / "scroll to bottom" button background
106
+ - **Composer**: background, fixed input height (1–10 rows), stats line takeover (9 independent toggles + full expand), command button & menu backgrounds
107
+ - **New session button**: None/Solid/Image style + show text/icon toggles + independent icon/text colors + base color
108
+ - **Layout**: draggable settings panel (drag its header; position persisted; one-click reset)
109
+ - **Floating panel**: a draggable mini settings panel (choose which modules to show), always on top
110
+ - **Presets**: save/apply/rename/delete/export/import (`.tczp`, images included, up to 10) + drag-to-reorder
111
+ - **Global reset**: one click to restore all defaults (3-step confirm to prevent accidents)
112
+
113
+ ## Installation
114
+
115
+ ```bash
116
+ # Option 1: npm (published package)
117
+ npm install -g dsh-theme-customizer
118
+ dsh plugin --profile web add dsh-theme-customizer
119
+
120
+ # Option 2: local directory (after cloning this repo)
121
+ dsh plugin --profile web add <path-to-this-repo>
122
+ ```
123
+
124
+ Then **restart dsh web** for it to take effect. Verify: Settings → Theme should appear.
125
+
126
+ ## Usage
127
+
128
+ 1. Open **Settings → Theme** and adjust by module; changes apply instantly and save automatically (the bottom of the page shows "last saved" time)
129
+ 2. For quick tweaks, click "↗ Open float panel" at the top right — the panel is draggable
130
+ 3. To verify the conversation-area options, use the test text in [对话区测试指令.md](对话区测试指令.md)
131
+
132
+ ## Persistent Cordis button (optional)
133
+
134
+ The "Cordis button always visible" toggle in Theme settings **requires patching the dsh-client-ui-cordis package** (provided by this plugin's `apply-patch.cjs`); without the patch the toggle has no effect. Install:
135
+
136
+ ```bash
137
+ node apply-patch.cjs # apply patch (auto backup)
138
+ node apply-patch.cjs --check # check status
139
+ node apply-patch.cjs --undo # revert
140
+ ```
141
+
142
+ ⚠️ **DSH upgrades overwrite the official package** — re-run `apply-patch.cjs` after upgrading. Details in [PATCH-CORDIS-BUTTON.md](PATCH-CORDIS-BUTTON.md).
143
+
144
+ ## Build from source (developers)
145
+
146
+ ```bash
147
+ # 1. Concatenate source fragments (optimized/src/ → optimized/dist/, with syntax check + line map/symbols)
148
+ node optimized\build.cjs
149
+
150
+ # 2. Generate the static client bundle (dist/p3_2_client.js → lib/client.js)
151
+ node build_static.cjs optimized\dist\p3_2_client.js lib\client.js
152
+
153
+ # 3. Syntax check + install for testing
154
+ node --check lib\client.js
155
+ dsh plugin --profile web add <path-to-this-repo>
156
+ ```
157
+
158
+ Source layout: `optimized/src/` contains 16 fragments (`00_*`~`15_*` + `host.js`) concatenated in filename order into the plugin function body. Look up features in `optimized/INDEX.md`.
159
+
160
+ ## Preset files (.tczp)
161
+
162
+ Presets panel → "Import preset" and pick a `.tczp` file to restore a whole config (images included — no original files needed). Export each preset via "Export" in the same panel.
163
+
164
+ ## 📦 Asset Pack
165
+
166
+ The **full assets** for all four themes (original wallpapers + 8 `.tczp` presets + all showcase screenshots) are packed in `assets.7z` attached to [GitHub Releases](https://github.com/lxxz1918/dsh-theme-customizer/releases). Download and extract with 7-Zip:
167
+
168
+ ```
169
+ 展示/
170
+ ├── readme展示图/ # README screenshots (4 themes × 2 variants × 3 shots)
171
+ ├── 展示1/ ~ 展示4/ # Each: original wallpapers (landscape + portrait) + 2 .tczp presets + shots
172
+ └── (wallpaper originals: 展示N/N-0, N-1)
173
+ ```
174
+
175
+ > Import: Settings → Theme → Presets → Import → pick `展示N-N.tczp` — images included, full effect restored in one click.
176
+
177
+ ## Uninstall
178
+
179
+ ```bash
180
+ dsh plugin --profile web remove dsh-theme-customizer
181
+ ```
182
+
183
+ ## Contact & Feedback
184
+
185
+ - Bugs / feature requests → open an [issue](https://github.com/lxxz1918/dsh-theme-customizer/issues)
186
+ - Maintenance: issues are reviewed and replied to **every Sunday**
187
+ - Bilibili: [homepage](https://space.bilibili.com/38175333)
188
+
189
+ ## AI Usage
190
+
191
+ This project is designed and reviewed by [lxxz1918](https://github.com/lxxz1918); the code is written with the assistance of an AI assistant (DeepSeek). All feature requirements, UI copy and final results are confirmed by the author.
192
+
193
+ ## License
194
+
195
+ [MIT](LICENSE)
package/README.md CHANGED
@@ -10,12 +10,87 @@
10
10
  > DeepSeek Harness(DSH)Web 界面自定义主题插件:背景、文字、框线、细节全部可视化设置,刷新/重启不丢。
11
11
  > 配置存 localStorage,预设可导出 `.tczp` 文件(含图片)分享到任意电脑。
12
12
 
13
- ## 界面预览
13
+ ## 🎨 主题展示
14
14
 
15
- | | 主界面效果 | 设置面板 |
15
+ 四套 AI 生成的壁纸作为主题的示例,每套含两种主界面「显示区域」模式:**包含侧边栏**与**不包含侧边栏**,配套 `.tczp` 预设一键导入。(详见下方“资源包”)
16
+
17
+ | 🌌 星空极光(暗) | 🌇 黄昏云海(亮) |
18
+ |:---:|:---:|
19
+ | ![星空极光](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-1.jpg) | ![黄昏云海](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-1.jpg) |
20
+ | **🌃 赛博夜景(暗)** | **🌸 樱花晴天(亮)** |
21
+ | ![赛博夜景](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-1.jpg) | ![樱花晴天](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-1.jpg) |
22
+
23
+ ## 📸 界面截图
24
+
25
+ 每套主题两种模式(对应预设 `-0` / `-1`):**显示区域包含侧边栏**与**显示区域不包含侧边栏**。每种模式 3 张:正面-1 / 正面-2 / 设置面。
26
+
27
+ <details>
28
+ <summary>🌌 星空极光(暗)</summary>
29
+
30
+ **显示区域包含侧边栏(-0)**
31
+
32
+ | 正面-1 | 正面-2 | 设置面 |
33
+ |:---:|:---:|:---:|
34
+ | ![星空极光A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-1.jpg) | ![星空极光A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-front-2.jpg) | ![星空极光A-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/0-settings.jpg) |
35
+
36
+ **显示区域不包含侧边栏(-1)**
37
+
38
+ | 正面-1 | 正面-2 | 设置面 |
39
+ |:---:|:---:|:---:|
40
+ | ![星空极光B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-front-1.jpg) | ![星空极光B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-front-2.jpg) | ![星空极光B-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/1-aurora/1-settings.jpg) |
41
+
42
+ </details>
43
+
44
+ <details>
45
+ <summary>🌇 黄昏云海(亮)</summary>
46
+
47
+ **显示区域包含侧边栏(-0)**
48
+
49
+ | 正面-1 | 正面-2 | 设置面 |
50
+ |:---:|:---:|:---:|
51
+ | ![黄昏云海A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-1.jpg) | ![黄昏云海A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-front-2.jpg) | ![黄昏云海A-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/0-settings.jpg) |
52
+
53
+ **显示区域不包含侧边栏(-1)**
54
+
55
+ | 正面-1 | 正面-2 | 设置面 |
56
+ |:---:|:---:|:---:|
57
+ | ![黄昏云海B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-front-1.jpg) | ![黄昏云海B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-front-2.jpg) | ![黄昏云海B-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/2-sunset/1-settings.jpg) |
58
+
59
+ </details>
60
+
61
+ <details>
62
+ <summary>🌃 赛博夜景(暗)</summary>
63
+
64
+ **显示区域包含侧边栏(-0)**
65
+
66
+ | 正面-1 | 正面-2 | 设置面 |
67
+ |:---:|:---:|:---:|
68
+ | ![赛博夜景A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-1.jpg) | ![赛博夜景A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-front-2.jpg) | ![赛博夜景A-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/0-settings.jpg) |
69
+
70
+ **显示区域不包含侧边栏(-1)**
71
+
72
+ | 正面-1 | 正面-2 | 设置面 |
73
+ |:---:|:---:|:---:|
74
+ | ![赛博夜景B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-front-1.jpg) | ![赛博夜景B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-front-2.jpg) | ![赛博夜景B-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/3-cyber/1-settings.jpg) |
75
+
76
+ </details>
77
+
78
+ <details>
79
+ <summary>🌸 樱花晴天(亮)</summary>
80
+
81
+ **显示区域包含侧边栏(-0)**
82
+
83
+ | 正面-1 | 正面-2 | 设置面 |
16
84
  |:---:|:---:|:---:|
17
- | **示例预设 0** | ![预设0主界面](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/theme-effect.png) | ![预设0面板](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/settings-panel.png) |
18
- | **示例预设 1** | ![预设1主界面](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/preset-1-main.png) | ![预设1面板](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/preset-1-panel.png) |
85
+ | ![樱花晴天A-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-1.jpg) | ![樱花晴天A-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-front-2.jpg) | ![樱花晴天A-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/0-settings.jpg) |
86
+
87
+ **显示区域不包含侧边栏(-1)**
88
+
89
+ | 正面-1 | 正面-2 | 设置面 |
90
+ |:---:|:---:|:---:|
91
+ | ![樱花晴天B-1](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-front-1.jpg) | ![樱花晴天B-2](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-front-2.jpg) | ![樱花晴天B-设置](https://github.com/lxxz1918/dsh-theme-customizer/raw/main/docs/screenshots/4-sakura/1-settings.jpg) |
92
+
93
+ </details>
19
94
 
20
95
  ## 功能一览
21
96
 
@@ -23,6 +98,7 @@
23
98
  - 每区域:无 / 纯色 / 图片(选区裁剪)+ 透明度(**数值越大越透明**)+ 底色(独立层)
24
99
  - 主界面支持「包含侧边栏 / 不包含侧边栏」显示区域切换
25
100
  - 侧边栏图片用 mask 直接淡出,不盖顶部 UI、不挡设置面板
101
+ - **侧边栏收起后独立配置**:主界面 / 侧边栏各有一份「收起后」设置(折叠侧边栏时生效,切换淡入淡出)
26
102
  - **框线板块**:所有界面默认边框/分隔线颜色 + 透明度,主界面(含侧边栏)/ Cordis / 输入区 / 设置界面 / 浮窗 5 区域独立
27
103
  - **字体颜色板块**:正文 / 过程 / 辅助 / 弱化 / 强调 5 类文字颜色(亮暗主题共用,可恢复官方默认)
28
104
  - **标志调色**:左上角 DeepSeek Harness 标志颜色 + 透明度;「Harness」文字部分可单独调色
@@ -55,7 +131,7 @@ dsh plugin --profile web add <本仓库路径>
55
131
 
56
132
  ## Cordis 按钮常驻(可选)
57
133
 
58
- 主题设置里「Cordis 按钮常驻」开关**依赖官方 dsh-client-ui-cordis 补丁**,未打补丁时开关不生效。一键安装:
134
+ 主题设置里「Cordis 按钮常驻」开关**依赖 dsh-client-ui-cordis 补丁**(本插件随包提供 `apply-patch.cjs` 一键打补丁),未打补丁时开关不生效。安装:
59
135
 
60
136
  ```bash
61
137
  node apply-patch.cjs # 打补丁(自动备份)
@@ -85,6 +161,19 @@ dsh plugin --profile web add <本仓库路径>
85
161
 
86
162
  预设面板 → 「导入预设」选择 `.tczp` 文件即可恢复整套配置(含图片,无需原图)。导出同样在预设面板逐条「导出」。
87
163
 
164
+ ## 📦 素材包
165
+
166
+ 四套主题的**完整素材**(壁纸原图 + 8 个 `.tczp` 预设 + 全部展示截图)打包在 [GitHub Releases 附件](https://github.com/lxxz1918/dsh-theme-customizer/releases) 的 `assets.7z` 中,下载后 7-Zip 解压即可:
167
+
168
+ ```
169
+ 展示/
170
+ ├── readme展示图/ # README 用展示截图(4 主题 × 2 方案 × 3 张)
171
+ ├── 展示1/ ~ 展示4/ # 每套:壁纸原图(横版 + 竖版)+ 2 个 .tczp 预设 + 截图
172
+ └── (壁纸竖版/横版原图见 展示N/N-0、N-1)
173
+ ```
174
+
175
+ > 预设导入:设置 → 主题 → 预设面板 → 导入预设 → 选 `展示N-N.tczp`,自动带图还原整套效果。
176
+
88
177
  ## 卸载
89
178
 
90
179
  ```bash
package/apply-patch.cjs CHANGED
@@ -1,4 +1,4 @@
1
- // apply-patch.cjs —— 官方 Cordis 按钮常驻补丁一键安装/撤销(dsh-theme-customizer 随包脚本)
1
+ // apply-patch.cjs —— Cordis 按钮常驻补丁一键安装/撤销(dsh-theme-customizer 随包脚本)
2
2
  // 背景:官方 dsh-client-ui-cordis 在"没有任何动态插件活动"时 return null(按钮隐藏)。
3
3
  // 本补丁让按钮显隐受 window.__TCZ_HIDE_OFFICIAL_CORDIS 控制(主题插件「Cordis 按钮常驻」开关使用)。
4
4
  // ⚠️ DSH 升级会覆盖官方包 → 升级后需重跑本脚本。