DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Theme Studio — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-theme-studio

Theme Studio

自定义 dsh UI 主题:12 种强调色预设、支持深色模式并带对比度保护的强调色、密度、字体系列、动画开关,以及原始设计令牌覆盖。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:hj01857655/dsh-theme-studio#bd11f1d179d61f87e5fb991e83ae36fb23ae5c7f
README兼容性版本

兼容性与来源证明

Theme Studio 以 dsh-theme-studio 发布,当前版本为 0.6.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/20

版本

0.6.3stable
2026/9/19
0.6.2stable
2026/9/19
0.6.0stable
2026/9/19
查看其余 8 个版本收起版本
0.5.2stable
2026/9/19
0.5.1stable
2026/9/19
0.5.0stable
2026/9/19
0.4.1stable
2026/9/19
0.4.0stable
2026/9/19
0.3.0stable
2026/9/19
0.2.0stable
2026/9/19
0.1.0stable
2026/9/19

相关插件

正在加载相关插件…

最新版
0.6.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
1,594
最近提交
2026/9/19
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Pet@linxin666/dsh-pet适用于 dsh Web GUI 的多宠物伴侣插件:由注册表驱动的浮动宠物,可响应模型活动,支持为每只宠物命名、抚摸/喂食互动以及亲密度评分

README

dsh-theme-studio

A dsh plugin that customizes the UI theme: accent presets, a custom accent color, content density, font family, an animation toggle, and raw design-token overrides.

What it can and cannot change

This plugin only writes design tokens that actually exist in dsh, verified by reading the shipped stylesheets (@deepseek-ai/dsh-client-ui-theme/lib/client.js). Every token it writes is listed in src/tokens.ts and enforced by tests/tokens.test.mjs.

Changes go through ctx.theme.overrideTokens() — dsh's own theme service — not direct DOM writes. See Mechanism for what that buys.

That constraint has two visible consequences:

  • No border-radius control. dsh hardcodes border-radius per component — including 50% circles and corner-shape: round — and ships no radius token. There is no faithful way to offer this, so it is not offered.
  • The animation toggle is a stylesheet, not a token. dsh ships no motion tokens, so disabling animations injects a rule compressing transition and animation durations to 0.001ms rather than 0s — a zero duration can stop transitionend / animationend from firing and hang components that wait on them. The sheet is owned by this plugin's effect scope, so unloading removes it.

Features

  • 12 presets: Ocean, Forest, Sunset, Monochrome, Nord, Dracula, Gruvbox, Solarized, Tokyo Night, Catppuccin, Rosé, Ember
  • Dark-aware presets — a preset whose dark accent differs from its light one adapts automatically when dsh enters dark mode
  • Custom accent color, plus a separate dark-mode accent
  • Contrast guard — a dark-mode accent below a WCAG luminance floor is lightened in steps, and the panel reports that it was adjusted
  • Density: Compact / Comfortable / Spacious — writes dsh's own content font size through ctx.theme.setFontSize(), so it agrees with the official Appearance control instead of shadowing it
  • Font family: System / Monospace / Serif
  • Animation toggle
  • Custom CSS — override any --dsw-* or --dsh-* token
  • Import / export themes as validated JSON. A theme exported by an older version carries a density field; it is ignored on import, since the font size is host state now
  • Live preview rendering the real tokens, showing the accent value currently in effect

Install

dsh plugin add dsh-theme-studio

From source:

git clone https://github.com/hj01857655/dsh-theme-studio.git
cd dsh-theme-studio
npm install && npm run build
dsh plugin add link:.

How it works

The plugin registers a settings.section slot (order 47). Preferences persist in localStorage.

Mechanism

Every theme change goes through dsh's theme service:

export const inject = ['slots', 'locale', 'theme']
…
ctx.theme.overrideTokens('dsh-theme-studio', overrides)

overrideTokens stacks a partial token layer over the active theme. The service handles the rest:

  • Layers compose in order, last writer wins per token. Two theme plugins can coexist without either silently clobbering the other's unrelated tokens.
  • Every value is a { light, dark } pair. A single value would go illegible on the other color scheme, so the API rejects one. src/apply.ts builds the pairs; tests/apply.test.mjs asserts the shape of every value it can emit.
  • The layer is disposable. Unloading the plugin removes exactly its layer, restoring whatever the host had underneath — including a font size the user chose in the official Appearance row.

The layer is keyed by source (dsh-theme-studio), and re-publishing replaces it wholesale, so a shrinking override set can never leave a stale token behind.

An earlier version wrote custom properties straight onto document.body with style.setProperty. That happened to work — dsh's presenter only retracts variables it wrote itself — but it bypassed the stacking order, the paired values and the dispose story, and made every reset the plugin's own responsibility.

Density drives the official font-size setting

--dsh-content-font-size is the axis the official Appearance row owns, and an override layer sits on top of the theme snapshot. Overriding that token therefore does not change the setting — it hides it, leaving the official stepper displaying a number the UI no longer rendered.

So Density does not use an override at all. It calls ctx.theme.setFontSize(), the same entry point the official control uses, and reads back through getTheme().fontSize:

  • The official stepper keeps showing (and setting) the same value.
  • Change the size there and the matching preset highlights here; pick 15px or 17px and nothing is highlighted, because no preset claims those.
  • --dsh-content-font-size never appears in this plugin's override layer. The custom-CSS box can still set it, because that is you asking, not the plugin deciding.
  • Reset restores the size the host had before you first changed it here.

An earlier version treated the size as this plugin's own state, which produced a control that silently disabled the official one on install (0.5.0) and then, once the default was made inert, one that still shadowed it whenever it was used (0.5.1).

The preview is not a mock

It renders with the same variable names the application uses, so a wrong token looks wrong in the preview too, rather than being masked by a hardcoded fallback color.

One validator for every way preferences get in

Preferences arrive three ways — localStorage, an imported JSON file, and a hand-edited version of either. All three pass through normalizePreferences(), which is the only place that validates: unknown enum values fall back to the inert default, a density: "comfortable" written by 0.5.0 migrates to "default", malformed colors become null, and non-string/non-boolean fields drop back to defaults. parseTheme intentionally keeps no whitelist of its own, so the two entry points cannot drift apart.

License

MIT