BeiZi6/dsh-theme-plugin

Plugin插件 Native原生 ⭐ 4 MIT UI & Themes界面与主题

DSH Web GUI 主题工作室:预设 + 各模式自定义(强调色、背景、前景、字体、半透明侧边栏、对比度),通过官方 webServer.tapIndex 接口实现

Project Overview项目介绍

This is a native theme plugin built exclusively for the DeepSeek Harness (DSH) Web GUI, designed to let users customize the visual appearance of DSH's web interface. To install the plugin, you need to have DSH set up with the web profile enabled, then run the command dsh plugin --profile web add github:BeiZi6/dsh-theme-plugin via the DSH CLI, and restart the dsh web process for the plugin to load properly. It ships five built-in presets and supports full customization of light and dark mode palettes, including accent color, background, foreground, fonts, translucent sidebar, and contrast level, with all changes applied instantly without page reload.

After you install and restart DSH web, a new "Theme Studio" section will appear under the DSH Settings page. You can select any of the five presets with one click, or switch to custom mode to adjust every visual parameter to your preference. Every change you make is applied instantly, and all your selections are saved to the browser's localStorage, so they persist across page reloads and DSH restarts. This plugin is for any DSH web user that wants to adjust the interface appearance to match their personal visual preferences or workflow needs.

This plugin requires Node.js version 22.19 or newer, and has two peer dependencies: @deepseek-ai/cordis version 4 or higher, and @deepseek-ai/dsh-host-webserver version 0.1.0-rc.6 or higher. It only uses official DSH API seams like webServer.tapIndex to inject theme styles, so it does not modify any original vendor files, which keeps it compatible with future DSH updates. It is released under the permissive MIT open source license, and all features are free to use without any cost or hidden restrictions.

这是一款专为 DeepSeek Harness(DSH)Web 图形界面打造的原生主题插件,用于自定义 DSH 网页端的界面外观。它内置了 5 套预设主题,同时支持对亮色/暗色模式下的强调色、背景色、前景色、UI 字体、代码字体、侧边栏透明度、对比度进行完全自定义,所有修改都可以立即生效,无需刷新页面。你可以通过 DSH 命令行工具安装,执行 dsh plugin --profile web add github:BeiZi6/dsh-theme-plugin 后重启 dsh web 即可启用。

安装重启完成后,用户可以打开 DSH 的设置页,找到新增的「主题工作室」面板进行调整。你可以一键选择内置预设,也可以在自定义模式下逐个调整颜色、字体、侧边栏透明度和对比度,所有设置都会自动保存在浏览器本地存储中,页面刷新后也不会丢失。这款插件面向所有需要自定义 DSH Web 端界面外观的用户,满足个性化的视觉偏好需求。

本插件要求你的 DSH 实例已开启 web 配置文件,依赖 Node.js 版本不低于 22.19,同时需要 @deepseek-ai/cordis(^4)和 @deepseek-ai/dsh-host-webserver(^0.1.0-rc.6)作为对等依赖。它仅使用 DSH 官方提供的接口注入主题,不会修改任何官方源码文件,遵循 MIT 开源协议开放使用,所有功能都免费提供给用户。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:BeiZi6/dsh-theme-plugin

把 BeiZi6/dsh-theme-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-theme-plugin

English · 简体中文

Theme studio for the DeepSeek Harness (DSH) Web GUI: five built-in presets plus fully customizable light/dark palettes — accent, background, foreground, UI and code fonts, translucent sidebar and contrast — applied instantly, with no page refresh.

Features

  • 🎨 5 built-in presets — codex-warm, nord, solarized, graphite, plus the stock DeepSeek theme
  • 🖌️ Full customization — per-mode (light.* / dark.*) accent, background, foreground, UI font, code font, translucent sidebar and contrast; custom mode starts from scratch
  • ⚡ Instant hot-swap — a Settings GUI ("Theme Studio") applies changes immediately through the official ctx.theme.overrideTokens API; light/dark follow the system preference
  • 💾 Persistent — the selection is saved in browser localStorage and survives reloads
  • 🧮 70+ derived tokens — three colors plus a contrast value expand into the whole semantic token set (borders, layers, scrollbar, tooltip, code blocks, bubbles, sidebar states…)
  • 🪟 Translucent sidebar — real frosted sidebar via the --dsw-specific-sidebar-fill variable
  • 🔌 Official seams only — host-side injection through webServer.tapIndex, no patched vendor files

Installation

Requires DeepSeek Harness with the web profile enabled. Install from the official registry:

dsh plugin --profile web add github:BeiZi6/dsh-theme-plugin

Restart dsh web for the plugin to take effect.

To remove:

dsh plugin --profile web remove dsh-theme-plugin

Usage

Settings GUI (recommended)

After a restart, open Settings → Theme Studio:

  • Preset — one-click chips: DeepSeek default / Codex warm / Nord / Solarized / Graphite / Custom
  • Colors — color pickers for accent, background and foreground, with a "follow preset" reset
  • Fonts — dropdowns for the UI font and the code font (common stacks included)
  • Translucent sidebar — follow preset / on / off
  • Contrast — slider 0–100 with preset restore

Every change applies instantly and persists locally; GUI selections take priority over host config.

The stock preset derives no palette: color controls are disabled and only fonts can be overridden.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-code-reading-coach 下一个 Next dsh-http-proxy →