DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-font-color

a

dsh-plugin-font-color

Discovered

DSH(DeepSeek Harness)字体颜色插件:正文/代码/终端/工作步骤四作用域独立调色,仅染对话区子树,宿主文件持久化跨重启保留,官方设置页原生集成

Machine translated

dsh-plugin-font-color

License: MIT DSH

DSH(DeepSeek Harness)桌面版字体颜色插件:正文 / 代码 / 终端 / 工作步骤四个作用域的 文字颜色分别自定义,设置项插入官方「设置 → 通用」页「字号大小」与「工作步骤展示」之间。

  • 四个作用域,互不干扰
    • 正文字体颜色——仅作用于对话区正文文字(侧栏 / 设置 / 菜单保持主题色);
    • 代码字体颜色——代码块 / 行内代码 / 聊天内工具终端块;
    • 终端字体颜色——侧栏终端;
    • 工作步骤字体颜色——会话中「思考 / 运行命令」等工作步骤条目。
  • 取色控件复刻 dsh-dream-skin 的强调色控件:色块 + hex、「选色…」、「随机」、 「恢复主题色」、12 预设色板;分组可折叠,交互与官方「字号大小」组同构。
  • 跨重启稳定:状态存宿主文件($DSH_HOME/dsh-font-color.json),不受桌面版 每次启动端口变化导致的 localStorage 失效影响(详见 docs/NOTES.md §5)。
  • 未设置的作用域跟随主题(代码→正文、终端→代码),与 dsh-dream-skin 等皮肤插件的 换肤 / 强调色 / 壁纸互不覆盖;全部清空即回到原生观感(零残留规则)。

安装

一句话安装(复制给你的 DSH,它自己会装好一切):

请帮我安装 dsh-plugin-font-color 字体颜色插件 (https://github.com/anticbv/dsh-plugin-font-color),装完告诉我如何重启 DSH。

方式一:DSH 插件管理器(推荐)

设置 → 插件 → 安装,安装源任选:

  • Git 仓库地址:https://github.com/anticbv/dsh-plugin-font-color
  • npm 包名(发布后可用):dsh-plugin-font-color

方式二:手动安装

  1. 下载/克隆本仓库;
  2. 把包整体拷贝为 $DSH_HOME/profiles/<你的 profile>/node_modules/dsh-plugin-font-color/ (Windows 默认 $DSH_HOME = C:\Users\<用户名>\.dsh);
  3. 在该 profile 目录的 package.json 里,把 "dsh-plugin-font-color" 加入 dsh.profile.bundles 数组;
  4. 重启 DSH。

验证

设置 → 通用 → 「字号大小」与「工作步骤展示」之间出现「正文字体颜色」分组即成功。 排障:渲染进程控制台搜 [font-color](能力探针命中计数在 window.__DFC_STATUS__)。

适配版本

DSH Desktop 区间级别
0.2.1-rc.3(含 0.2.1-rc.x)验证级(真机实测)
>=0.1.0-rc.6 <0.3.0-0声明级(能力探针兜底)
>=0.3.0-0未声明,升级后需重新评估

开发

npm test    # node --test tests/(8 项无依赖冒烟:manifest/YAML/全链路 VM 模拟/宿主 API)
  • lib/index.js 宿主半边(持久化 API + 状态文件);lib/client.js 浏览器半边 (样式引擎 + 设置 UI);tests/ 无依赖冒烟测试。
  • 开发期深度调研(token 机制、启动链路、随机端口根因、cordis 授权坑位等) 见 docs/NOTES.md——DSH 插件开发的通用硬知识,写插件可直接引用。

版本历史

见 CHANGELOG.md。

License

MIT © 2026 anticbv

Comments

Loading…

Similar plugins

dsh-font-customizer

by daha1216

DeepSeek Harness(DSH)字体定制插件:更换界面/代码字体与正文字号,识别本机已安装字体,设置持久化保存。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-font-customizer

by Alicex7777

DSH Web 界面配色调节插件:在设置里直接调整会话栏、左右侧栏与文字色,含 OKLCH 深度/鲜亮度调节、日间夜间方案与预设

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-theme-colors

by YangAtC

DSH (DeepSeek Harness) 主题自定义插件:背景图 + 界面透明度调节,开箱即用

Manifest valid

★ 0

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @yangatc/dsh-theme
dsh-any-background7

No screenshots

by Tkingxiao

Deepseek Harness 自定义主题插件,支持自定义图片/视频壁纸,对话框,侧边栏等透明度模糊度调整,全局主题色的色轮调整插件

Themes & SkinsManifest valid

★ 51

↓ 1.5k/wk

MIT

TypeScript

Oct 26, 2026

dsh plugin --profile web add dsh-any-background

by gh-gongjin

DSH (DeepSeek Harness) 外观插件:8 张内置配色皮肤走宿主官方主题通道,brand slot 换侧栏/首屏标志与名称行(内置六枚或用户自己的图片)。零第三方依赖,不写宿主文件、不注入全局 CSS。

Manifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-plugin-appearance

by BaiZhi967

DSH web plugin: real PTY terminals inside the DeepSeek Harness UI — sidebar entry, tabs, rename, theme-aware colors. DSH 网页内的终端面板插件。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-terminal-panel