dsh-sylvan-appearance
IdentifiedNative appearance settings for DeepSeek Harness with the Sylvan theme, a live theme editor and JSON import/export. Verified on DSH Web 0.2.2-rc.3 and the Desktop 0.2.2-rc.5 bundled host.
DSH 外观 · Sylvan
在 DeepSeek Harness 的「设置 → 外观」切换系统、浅色、深色和 Sylvan · 松雨。复制一个主题即可自定义配色、字体和代码高亮。右侧的对话预览即时更新,点击「保存并应用」将主题应用到整个客户端。
安装
在 DSH Desktop 的「插件」里从 npm 添加 dsh-sylvan-appearance。在 DSH Web 使用 CLI 安装。
dsh plugin --profile web add dsh-sylvan-appearance
也可下载 GitHub Release 的 .tgz,用绝对路径替换安装命令中的包名。安装后打开「设置 → 外观」。Web 和 Desktop 各自使用所在 DSH profile 的主题设置。通过「导出当前主题」获取 .dsh-theme.json,可以在另一个 profile 里导入、预览并保存。导入会创建一个新主题。首次切换时,插件记住所用的原主题,可在同一页恢复。
已验证 DeepSeek Harness Web 0.2.2-rc.3 和 Desktop 0.2.2-rc.5。两端使用同一安装包。
松雨的界面沿用近黑底和松绿调色板,代码颜色映射自 VS Code 现代深色 的高亮规则。DSH 的同一类高亮令牌共用一个颜色。字体使用本机字体列表,缺少首选字体时按列表顺序回退。
从其他插件贡献主题
主题插件在客户端清单的 dsh.client.inject 中声明 dsh-sylvan-appearance,然后在客户端入口注入 Cordis 服务 sylvanAppearanceThemes。注册返回一个注销函数,可直接交给 ctx.effect 在插件卸载时释放。使用带包名前缀的稳定 ID。
const inject = ['sylvanAppearanceThemes']
function apply(ctx) {
ctx.effect(() => ctx.sylvanAppearanceThemes.register('example:evergreen', {
name: '长青',
colorScheme: 'dark',
tokens: {
'--dsw-alias-bg-base': '#0f0f11',
'--dsw-alias-label-primary': '#e3e4e6',
'--dsw-alias-brand-primary': '#4fa66b',
'--shiki-token-keyword': '#c586c0',
},
}))
}
主题接受浅色或深色底色、六位十六进制颜色和逗号分隔的字体名称。支持的配色项见 松雨预设。打开「外观」即可切换至插件贡献的主题,也可以把它复制成独立的自定义版本。
运行 npm run build 重新生成客户端入口。运行 npm pack 生成安装包。
软件采用 MIT 许可证。
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
✦
No screenshots
by Smith-yue
Adds two switchable themes, built-in and local-folder background slideshows, and per-session token usage details to DeepSeek Harness Web and Desktop.
★ 1
↓ 119/wk
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add dsh-skin-token-dashboard✦
No screenshots
Interface and code typography, three-color themes, and named presets for DeepSeek Harness, tested on Windows Desktop 0.2.1-rc.5.
★ 0
dsh plugin --profile web add dsh-stylebookby kleinklein0824
非官方社区项目。为 DeepSeek Harness(DSH)打造的官网风格主题插件:深色模式含流体极光、粒子鲸鱼与星座网格,浅色模式采用蓝色 Hero 渐变与琉璃玻璃面板,并支持跟随 DSH 深浅色设置一键切换。
★ 0
MIT
JavaScript
Nov 7, 2026
dsh plugin --profile web add dsh-official-skinby cozylove-girl
Manage skins, themes, backgrounds, and widgets in separate layers and save appearance presets for DeepSeek Harness.
★ 0
MIT
JavaScript
Oct 29, 2026
dsh plugin --profile web add dsh-appearance-masterby Goku-Raku
Appearance themes, wallpaper, frosted glass and typography for official DeepSeek Harness Desktop. DSH 皮肤、外观主题与壁纸插件。
★ 0
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-appearance-studioby iasiv5
DeepSeek Harness Web 界面主题/皮肤管理插件,可切换多种视觉风格。(本仓库后续更新提交至:https://github.com/iasiv5/dsh-skins)
★ 0
↓ 48/wk
MIT
JavaScript
Sep 6, 2026
dsh plugin --profile web add dsh-skins