dsh-skin-prts
Manifest validPRTS —— DSH (DeepSeek Harness) UI Skin: Rhodes Island Terminal style, right-angle cut corners + black hairline lines + yellow-black warning stripes, paper/terminal dual background sets that follow the application theme
PRTS · DSH UI 皮肤
罗德岛终端风格 · 直角切角 · 黑色发丝线 · 黄黑警示条 · DIN 技术字
按 dsh.ecosystem.ui-skin-loader/v1 公约实现的 DSH 皮肤包。装好后出现在
设置 → 皮肤 的卡片墙里,与其它皮肤并列,一键切换。

这是一个 DSH 插件
本仓库是 DeepSeek Harness 的插件(皮肤类)。
按官方 README「Community and support」一节的要求,仓库已打上
dsh-plugin topic,便于在
github.com/topics/dsh-plugin 被发现;
package.json 的 keywords 与 dsh.skin.tags 里同样带 dsh-plugin。
三种安装方式,任选其一:
| 方式 | 命令 / 操作 |
|---|---|
| git(无需下载包) | dsh plugin --profile desktop add https://github.com/tenebris173/dsh-skin-prts |
| 美化包 | 从 Releases 下 PRTS-UI-*.zip,双击 安装PRTS皮肤.cmd |
| 本地源码 | 见下方「安装 → B. 从源码装」 |
装完必须重启 DSH(插件包只在启动时进启动图),随后在 设置 → 皮肤 里一键切换。
外观
| 项 | 选项 | 默认 |
|---|---|---|
| 外观 | 跟随应用 / 纸面(亮)/ 终端(暗) | 跟随应用 |
| 强调色 | 警示黄 / 工程橙 / 信号青 | 警示黄 |
| 圆角 | 直角 0px / 工作台 6px / 圆润 12px | 直角 |
| 纹理 | 全屏细网格 + 扫描线 + 四角登记标记 | 开 |
| 硬投影 | 浮窗错位实心影 + 按钮按压位移 | 开 |
| DIN 技术字 | 拉丁文用 Bahnschrift(中文回落雅黑) | 开 |
3 × 3 × 3 × 2 × 2 × 2 = 216 种组合,改档即时生效并跨重启保留
(皮肤自治:localStorage,键 dsh.skin.prts.preferences.v1)。
跟随应用:读 ctx.theme.getTheme().preference,为 system 时用 prefers-color-scheme
判定;1s 轮询 + matchMedia 监听,应用换主题时自动重算。
两套底
| 纸面(Paper · 亮) | 终端(Terminal · 暗) | |
|---|---|---|
| 底 / 面板 / 卡片 | #f4f5f7 / #ffffff / #ffffff | #0d1012 / #121618 / #171c1f |
| 发丝线 | 黑 18–60% | 冷白 15–60% |
| 实心块(徽标 / 主按钮 / DONE 章) | 黑底白字 | 反相:冷白底深字 |
| 代码 token | #1d3f63 #7a4b12 #b5342a | #8ab7ea #e0a45c #ff9a8a |
| 警示黄 | #ffd100 | #ffd100 |
安装
A. 用打包好的美化包(推荐给最终用户)
下载 release 里的 PRTS-UI-*.zip,解压后双击 安装PRTS皮肤.cmd。脚本会找到本机 DSH
(优先用你正在运行的那个),用官方途径装进 desktop profile,并把 activeSkin 切到本皮肤。
B. 从源码装(开发)
# 应用目录(默认装在当前用户的 LocalAppData 下;装在 Program Files 时改成对应路径)
$app = "$env:LOCALAPPDATA\Programs\DeepSeek Harness"
$cli = "$app\resources\app.asar\dsh\node_modules\@deepseek-ai\dsh-desktop-host\lib\cli.js"
# 以软链方式安装(改代码刷新即生效)
& "$app\DeepSeek Harness.exe" $cli plugin --profile desktop add "<本仓库绝对路径>"
# 卸载
& "$app\DeepSeek Harness.exe" $cli plugin --profile desktop remove dsh-skin-prts
装完必须重启 DSH(新增插件包只在启动时进启动图)。切换皮肤也可以直接在 设置 → 皮肤 里点,不必手改配置。
设计语言
- 纸面/终端,不是"深色科幻" —— 层级只靠 1px 线与明度差,零阴影、零光晕、零圆角。
- 切角而非圆角 ——
border-radius: 0;面板头是黑底白字条 + 黄色 ▶;浮窗用错位实心影。 - 警示黄只给四处 —— 当前 / 可点 / 运行中 / 焦点;其余全部黑白灰。
- DIN 技术字 + 字距 —— 拉丁文 Bahnschrift 大写标签;中文雅黑托底;数字等宽。
实现要点
- 观感承载:
theme.overrideTokens()覆盖宿主公开 token ——--dsw-alias-*(107)、--dsw-specific-*(11)、--dsw-menu-*、--dsw-linear-*、--dsw-radius-*(直角 0)、--dsw-static-neutral(-bluish)-*中性灰阶、--dsw-font-family/--ds-font-family-code。 - 驱动宿主亮暗开关:
body[data-ds-dark-theme]由皮肤按有效底置位 / 摘除 —— 否则--dsw-specific-*这类"只在 scheme 分支里有定义"的表面会落在错误的一档(实测过: 纸面模式下输入框仍是深色)。 - 浮层实色兜底:
[role="dialog"] / [aria-modal] / [role="menu|listbox|tooltip"]强制实色 + 直角(PRTS 的表面本就是实心的,弹窗天然不透出正文)。 - 装饰层:注入 7 个自有节点(网格、扫描线、左缘警示条、四角登记标记),
pointer-events:none+z-index:1(低于菜单 100 / 弹窗 1000),退出时整体移除。 - 生命周期(公约 §4.3 / R8):activate 的每项副作用都登记 disposer,teardown 幂等;
deactivate/skinCtx.signalabort / fiber 意外 dispose 三路汇合,退出后 token 与节点全部还原。 - 主题注册兜底:重复 id 时改用带序号的 id,皮肤重载后不会整次回滚成默认。
- 设置面板:经
settings.section席位注册 React 组件,只在皮肤激活时出现。
自测
# 真实浏览器引擎里跑真实 bundle(需 Chrome 以 --remote-debugging-port=9222 启动)
node tests/browser-smoke.mjs
30 项断言:登记载荷 → activate 副作用 → 装饰层 7 节点 → 两套底的真实 CSS 层叠
(getComputedStyle 读 token 与弹窗实色)→ 跟随应用主题切换 → 纹理 / 投影开关 → teardown 净场。
目录
lib/index.js 宿主半(空 apply:观感全在 client 半)
lib/client.js 皮肤本体(登记 / token 表 / 两套底 / 外观面板 / 生命周期)
cordis.patch.yml bundle patch(row id = 设置命名空间)
install/ 一键安装 / 卸载脚本(美化包同款)
preview/ 外观矩阵图 + 卡片预览 SVG
tests/browser-smoke.mjs
更新记录
见 CHANGELOG.md。
许可
MIT。
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 30.4k
↓ 108/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.6k
↓ 125/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 7.6k
↓ 119/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 4.1k
↓ 38.1k/wk
MIT
TypeScript
Oct 9, 2026
dsh plugin --profile web add dsh-better-sidebarby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby shaobeichen
把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +
★ 1.6k
↓ 3.2k/wk
GPL-2.0
JavaScript
Sep 16, 2026
dsh plugin --profile web add dsh-pocket