dsh-theme-tuner
Manifest valid★ 3Add a theme-adjustment panel under Appearance to customize accent, background, foreground, contrast and gradient, applied live through theme token overrides.
dsh-theme-tuner
在 DeepSeek Harness (DSH) 的「通用设置 → 外观」下方直接调整界面主题——强调色 / 背景 / 前景 / 对比度 / 渐变度,实时生效。
复用「外观」自带的 浅色 / 深色 / 跟随系统 切换,无需重复的切换按钮。
效果
![]() 深色 · 主题效果 | ![]() 深色 · 主题效果 | ![]() 深色 · 主题效果 |
|---|---|---|
![]() 深色 · 主题效果 | ![]() 浅色 · 主题效果 | ![]() 主题调节面板 |
功能
- 挂在「通用设置 → 外观」正下方,调整 强调色 / 背景 / 前景 / 对比度 / 渐变度。
- 复用「外观」的 浅色 / 深色 / 跟随系统 切换,针对当前激活主题调整。
- 浅色、深色两套配色分别保存;对比度按当前主题微调前景文字的清晰度。
- 改动实时生效(
theme.overrideTokens写入--dsw-alias-*设计变量),可一键恢复当前主题默认。
安装
dsh plugin --profile web add github:shawnlone/dsh-theme-tuner
本仓库按「仓库根即插件包」组织:
package.json声明了dsh.bundle.patch(安装入口)与dsh.client(浏览器端 UI),根目录放置cordis.patch.yml。 新增插件需 重启一次对应的 web profile 才会生效。另提供scripts/install.ps1/scripts/install.sh一键脚本(内含 pnpm 供应链策略无法通过时的本地 junction 安装回退)。
原理
插件通过 theme.overrideTokens 把自定义值写入 DSH 的设计 token:
- 强调色:
--dsw-alias-brand-primary/--dsw-alias-button-primary-fill/--dsw-alias-state-business-primary - 背景:
--dsw-alias-bg-base/--dsw-alias-bg-layer-1/2/3/--dsw-specific-sidebar-fill - 前景:
--dsw-alias-label-primary/secondary/tertiary(由所选前景色 + 对比度自动推导)
设置经 theme-tuner 命名空间持久化;设置行注册到 settings.general.item(order 10.5),排在「外观」(order 10)正下方(DSH 0.1.2-rc.1 起新增的「字号大小」在 order 11、「对话显示」在 order 12,故用 10.5 保持紧贴外观)。
目录结构
dsh-theme-tuner/
package.json # 双面插件清单:dsh.client + dsh.bundle.patch
cordis.patch.yml # bundle 挂载行 (insert)
lib/index.js # 主机半区:注册 theme-tuner 设置命名空间 + schema
lib/client.js # 浏览器半区:设置行 UI + 实时 token 应用
scripts/ # install.ps1 / install.sh
preview.html # 独立效果演示
assets/ # 文档 / 插件市场截图
许可证
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.4 | — | — |
Comments
Loading…
Similar plugins
by MoYu-CN
Extra light and dark color themes for the DSH UI, registered as pure color tokens on top of the official theme runtime.
★ 0
MIT
JavaScript
Oct 12, 2026
dsh plugin --profile web add dsh-theme-packby lssyd20070106
Third-party DSH WebUI enhancement plugin: custom backgrounds, theme colors, prompt presets, token/context visibility, and manual compact.
★ 6
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-ui-preset-enhanceby lxxz1918
DeepSeek Harness(DSH)Web 界面自定义主题插件:背景/文字/框线/细节全可视化调整,可导入导出预设,持久化保存。
★ 3
↓ 278/wk
MIT
JavaScript
Aug 27, 2026
dsh plugin --profile web add dsh-theme-customizer✦
No screenshots
by BeiZi6
DSH Web GUI theme studio: presets + per-mode customization (accent, background, foreground, fonts, translucent sidebar, contrast) via the official webServer.tapIndex seam
★ 4
↓ 173/wk
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-theme-pluginby TQSY114514
Appearance customization plugin for DeepSeek Harness: theme color palette, background image, opacity/blur, glass effect
★ 26
↓ 1.1k/wk
MIT
TypeScript
Oct 25, 2026
dsh plugin --profile web add dsh-ui-appearanceby Alicex7777
DSH Web 界面配色调节插件:在设置里直接调整会话栏、左右侧栏与文字色,含 OKLCH 深度/鲜亮度调节、日间夜间方案与预设
★ 0
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-theme-colors






