dsh-theme-paper
纸质主题 — a warm paper-texture appearance for DeepSeek Harness, inspired by Claude Code (cream paper, ink text, terracotta accents).
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WuWL-98/dsh-theme-paper说明文档
阅读完整 README ↗dsh-theme-paper — 纸质主题
为 DeepSeek Harness(Web GUI)设计的暖色"纸质"外观主题,设计语言参考 Claude Code:奶油纸背景(#FAF9F5)、暖墨水文字(#3D3929)、陶土色强调(#C96442)、 衬线 CJK 友好字体与暖色代码块。
这是一个正式的 DSH 客户端插件(dsh.client 平台条目):主题通过平台主题服务注册,
外观行被替换为四方块版本 —— 浅色 / 深色 / 跟随系统 / 纸质 —— 与内置行处于同一单元格。
卸载插件后内置外观行原样恢复。
界面预览
纸质主题下的会话列表(奶油纸背景 #FAF9F5、暖墨水文字、陶土色强调):

设置 → 常规 → 外观:一行四个方块,纸质 已选中(衬线字体、暖色界面元素):

会话界面(暖色代码块与思考块、书卷质感排版):

工作原理
| 环节 | 位置 |
|---|---|
| 加载条目 | ~/.dsh/profiles/web/package.json 的 bundle 层 dsh-theme-paper(dsh.profile.bundles);条目由本包的 cordis.patch.yml 提供 |
| 包解析 | ~/.dsh/profiles/web/node_modules/dsh-theme-paper(junction 链接 → 本目录) |
| 主题注册 | lib/client.js 中 ctx.theme.register({ id: "paper", colorScheme: "light", tokens }) |
| 设置界面 | 以槽位优先级 -1 遮蔽 settings.general.item 内置的 appearance 单元格(最低优先级渲染;卸载后内置行恢复) |
| 持久化 | 纸质选择存于 localStorage(dsh.ui-theme.paper);内置选项仍走 settings.yaml |
| 启动层 | web shell 的 dist 中有一份同选择器/同 key 的调色板镜像与引导脚本,避免首帧闪烁;没有它插件也能完整工作 |
安装(一条命令,官方 bundle 形式)
本包是profile bundle(声明了 dsh.bundle.patch),这是 DSH 分发插件的标准方式:
安装进 profile 即自动激活。
# 任意目录下执行(需要 PATH 上有 pnpm):
dsh plugin --profile web add
# 例如:dsh plugin --profile web add github:WuWL-98/dsh-theme-paper
# 或者:dsh plugin --profile web add D:\path\to\dsh-theme-paper
# 重启 Web 界面以加载新条目:
dsh web
dsh plugin 会在 profile 目录运行 pnpm 安装,并自动把本包追加到 profile 的
dsh.profile.bundles 层,无需手动改任何配置。