dsh-theme-customizer 1.0.3 → 1.0.5
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.
- package/PATCH-CORDIS-BUTTON.md +1 -1
- package/README.en.md +7 -5
- package/README.md +7 -5
- package/apply-patch.cjs +1 -1
- package/lib/client.js +3584 -3191
- package/package.json +50 -50
package/PATCH-CORDIS-BUTTON.md
CHANGED
package/README.en.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
## 🎨 Theme Gallery
|
|
14
14
|
|
|
15
|
-
Four AI-generated wallpaper themes
|
|
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
16
|
|
|
17
17
|
| 🌌 Aurora Nights (dark) | 🌇 Sunset Clouds (bright) |
|
|
18
18
|
|:---:|:---:|
|
|
@@ -22,7 +22,7 @@ Four AI-generated wallpaper themes (alternating dark/bright), each with two main
|
|
|
22
22
|
|
|
23
23
|
## 📸 Screenshots
|
|
24
24
|
|
|
25
|
-
Each theme has two modes (presets `-0` / `-1`): **display area includes sidebar**
|
|
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
26
|
|
|
27
27
|
<details>
|
|
28
28
|
<summary>🌌 Aurora Nights (dark)</summary>
|
|
@@ -98,9 +98,11 @@ Each theme has two modes (presets `-0` / `-1`): **display area includes sidebar*
|
|
|
98
98
|
- Each area: None / Solid color / Image (with crop & selection) + opacity (**larger value = more transparent**) + base color (independent layer)
|
|
99
99
|
- Main background supports "include sidebar / exclude sidebar" display area toggle
|
|
100
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)
|
|
101
102
|
- **Borders module**: color + opacity for all default UI borders/dividers, independently for 5 areas (Main incl. sidebar / Cordis / Composer / Settings / Floating panel)
|
|
102
103
|
- **Text colors module**: 5 categories (Body / Process / Auxiliary / Faded / Accent), shared across light & dark themes, restorable to official defaults
|
|
103
|
-
- **Brand color**: color + opacity for the top-left DeepSeek Harness logo; the "Harness" wordmark can be tinted separately
|
|
104
|
+
- **Brand color**: color + opacity for the top-left DeepSeek Harness logo; the "Harness" wordmark can be tinted separately; the collapsed-sidebar logo (whale icon) has its own independent setting (follows the expanded state by default)
|
|
105
|
+
- **Welcome page tinting**: on the empty state, the whale icon / "探索未至之境" headline / "预览版" badge text / badge background can each be tinted with color + opacity (official colors by default, decoupled from the body text color)
|
|
104
106
|
- **Conversation details**: user bubble / inline code / code block background / code block scrollbar / conversation scrollbar / todo panel collapsed & expanded / "scroll to bottom" button background
|
|
105
107
|
- **Composer**: background, fixed input height (1–10 rows), stats line takeover (9 independent toggles + full expand), command button & menu backgrounds
|
|
106
108
|
- **New session button**: None/Solid/Image style + show text/icon toggles + independent icon/text colors + base color
|
|
@@ -130,7 +132,7 @@ Then **restart dsh web** for it to take effect. Verify: Settings → Theme shoul
|
|
|
130
132
|
|
|
131
133
|
## Persistent Cordis button (optional)
|
|
132
134
|
|
|
133
|
-
The "Cordis button always visible" toggle in Theme settings **requires
|
|
135
|
+
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:
|
|
134
136
|
|
|
135
137
|
```bash
|
|
136
138
|
node apply-patch.cjs # apply patch (auto backup)
|
|
@@ -162,7 +164,7 @@ Presets panel → "Import preset" and pick a `.tczp` file to restore a whole con
|
|
|
162
164
|
|
|
163
165
|
## 📦 Asset Pack
|
|
164
166
|
|
|
165
|
-
The **full assets** for all four themes (original wallpapers + 8 `.tczp` presets + all showcase screenshots) are packed in
|
|
167
|
+
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:
|
|
166
168
|
|
|
167
169
|
```
|
|
168
170
|
展示/
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
## 🎨 主题展示
|
|
14
14
|
|
|
15
|
-
四套 AI
|
|
15
|
+
四套 AI 生成的壁纸作为主题的示例,每套含两种主界面「显示区域」模式:**包含侧边栏**与**不包含侧边栏**,配套 `.tczp` 预设一键导入。(详见下方“资源包”)
|
|
16
16
|
|
|
17
17
|
| 🌌 星空极光(暗) | 🌇 黄昏云海(亮) |
|
|
18
18
|
|:---:|:---:|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
## 📸 界面截图
|
|
24
24
|
|
|
25
|
-
每套主题两种模式(对应预设 `-0` / `-1
|
|
25
|
+
每套主题两种模式(对应预设 `-0` / `-1`):**显示区域包含侧边栏**与**显示区域不包含侧边栏**。每种模式 3 张:正面-1 / 正面-2 / 设置面。
|
|
26
26
|
|
|
27
27
|
<details>
|
|
28
28
|
<summary>🌌 星空极光(暗)</summary>
|
|
@@ -98,9 +98,11 @@
|
|
|
98
98
|
- 每区域:无 / 纯色 / 图片(选区裁剪)+ 透明度(**数值越大越透明**)+ 底色(独立层)
|
|
99
99
|
- 主界面支持「包含侧边栏 / 不包含侧边栏」显示区域切换
|
|
100
100
|
- 侧边栏图片用 mask 直接淡出,不盖顶部 UI、不挡设置面板
|
|
101
|
+
- **侧边栏收起后独立配置**:主界面 / 侧边栏各有一份「收起后」设置(折叠侧边栏时生效,切换淡入淡出)
|
|
101
102
|
- **框线板块**:所有界面默认边框/分隔线颜色 + 透明度,主界面(含侧边栏)/ Cordis / 输入区 / 设置界面 / 浮窗 5 区域独立
|
|
102
103
|
- **字体颜色板块**:正文 / 过程 / 辅助 / 弱化 / 强调 5 类文字颜色(亮暗主题共用,可恢复官方默认)
|
|
103
|
-
- **标志调色**:左上角 DeepSeek Harness 标志颜色 + 透明度;「Harness
|
|
104
|
+
- **标志调色**:左上角 DeepSeek Harness 标志颜色 + 透明度;「Harness」文字部分可单独调色;侧边栏**收起后的标志**(鲸鱼图标)可独立配置(默认跟随展开态)
|
|
105
|
+
- **新会话欢迎页调色**:空态页鲸鱼图标 / 「探索未至之境」标题 / 「预览版」徽章文字 / 徽章背景,各可独立调色 + 透明度(默认官方原色,与正文文字颜色解耦)
|
|
104
106
|
- **对话区细节**:用户发言气泡 / 行内代码 / 代码块背景 / 代码块滚动条 / 对话区滚动条 / 任务栏收起展开 / 「一键到底」按钮背景
|
|
105
107
|
- **输入区**:背景、输入框固定高度(1~10 行)、统计条接管渲染(9 项独立开关 + 完全展开)、命令按钮/菜单背景
|
|
106
108
|
- **新会话按钮**:无/纯色/图片样式 + 显示文本/图标开关 + 图标/文本颜色独立设置 + 底色
|
|
@@ -130,7 +132,7 @@ dsh plugin --profile web add <本仓库路径>
|
|
|
130
132
|
|
|
131
133
|
## Cordis 按钮常驻(可选)
|
|
132
134
|
|
|
133
|
-
主题设置里「Cordis
|
|
135
|
+
主题设置里「Cordis 按钮常驻」开关**依赖 dsh-client-ui-cordis 补丁**(本插件随包提供 `apply-patch.cjs` 一键打补丁),未打补丁时开关不生效。安装:
|
|
134
136
|
|
|
135
137
|
```bash
|
|
136
138
|
node apply-patch.cjs # 打补丁(自动备份)
|
|
@@ -162,7 +164,7 @@ dsh plugin --profile web add <本仓库路径>
|
|
|
162
164
|
|
|
163
165
|
## 📦 素材包
|
|
164
166
|
|
|
165
|
-
四套主题的**完整素材**(壁纸原图 + 8 个 `.tczp` 预设 + 全部展示截图)打包在 [GitHub Releases 附件](https://github.com/lxxz1918/dsh-theme-customizer/releases) 的
|
|
167
|
+
四套主题的**完整素材**(壁纸原图 + 8 个 `.tczp` 预设 + 全部展示截图)打包在 [GitHub Releases 附件](https://github.com/lxxz1918/dsh-theme-customizer/releases) 的 `assets.7z` 中,下载后 7-Zip 解压即可:
|
|
166
168
|
|
|
167
169
|
```
|
|
168
170
|
展示/
|
package/apply-patch.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// apply-patch.cjs ——
|
|
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 升级会覆盖官方包 → 升级后需重跑本脚本。
|