DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

lyq326 /

lyq326/dsh-ink-green

Verified

自建墨绿配色 for DeepSeek Harness (DSH):146 个 --dsw-* token,亮/暗双色,纯 token 覆盖

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@9588acbc

dsh-ink-green

给 DeepSeek Harness Web 的一套自建墨绿配色。

同一色相(140–150°)的低饱和绿,只留一个高饱和亮绿当强调色: 背景、文字、边框的饱和度压在 8–12%,唯一跳到 55% 的是 brand-primary。 所以界面是「墨绿灰的底」,绿色只出现在按钮、选中态和焦点环上。

色值就是这套,事实来源是 tools/build.py 里的 LIGHT / DARK, 改色只需要动那两个常量。

颜色

角色 DSH token 亮色 暗色
背景 --dsw-alias-bg-base #EFF5F1 #222A26
卡片 / 浮层 --dsw-alias-bg-layer-1/2 #FCFDFC #2A322E / #303A34
正文 --dsw-alias-label-primary #17261F #D1DBD5
次要文字 --dsw-alias-label-secondary #576B61 #99A89E
次级背景 --dsw-alias-markdown-code-block #E0EBE4 #343D38
边框 --dsw-alias-border-l* rgba(23,38,31,.10–.28) rgba(209,219,213,.08–.24)
强调色 --dsw-alias-brand-primary #22774D #41C885
强调色上的字 --dsw-alias-label-primary-foreground #F8FBF9 #17261F
侧栏 --dsw-specific-sidebar-fill #E8F1EC #1F2823

共 146 个 token,覆盖宿主定义的全部 118 个 --dsw-alias-* / --dsw-specific-* (其余是 --shiki-* 与 --dsw-static-* 兜底)。对比度:亮色正文/背景 ≈ 14:1, 暗色 ≈ 10.4:1 —— 暗色特意没拉满,长时间盯着不累。

安装

dsh plugin --profile web add github:lyq326/dsh-ink-green
systemctl --user restart dsh

或本地目录 / tarball:

npm pack
dsh plugin --profile web add ./dsh-ink-green-1.0.0.tgz

卸载:

dsh plugin --profile web remove dsh-ink-green

目标机前置:Node ≥ 20、dsh 0.2.x、pnpm 在 PATH 里。插件本身零依赖。

改颜色

$EDITOR tools/build.py     # LIGHT / DARK 两组,或 TOKENS 表
python3 tools/build.py     # 重新生成 lib/client.js

刷新 DSH 页面即可(bundle 的 rev 随内容变,不用重启宿主)。 不要直接改 lib/client.js —— 它是生成物。

换一台机器

  • GitHub:dsh plugin --profile web add github:lyq326/dsh-ink-green
  • tarball:npm pack,把 .tgz 拷过去,dsh plugin add <路径>(装的是副本,源目录删了不影响)
  • 目录同步:rsync 到目标机后 dsh plugin add ./dsh-ink-green(装的是 link:,那个目录不能删)

改了颜色记得 npm version patch 再发,否则 pnpm 可能认为没变化。

已知边界

  • 没有首屏预着色:首帧仍用宿主原生色,脚本加载后才换成墨绿,深色下可能闪一帧黑灰。
  • 只覆盖 token:组件里把颜色写死的地方不会变。
  • 不碰布局:没有 DOM 覆盖、没有 !important、没改宿主文件。
  • 只在 Web profile 实测;桌面端是内嵌 Web UI,理论可用但没验证。

License

MIT。纯色值 + 一个 token 层,没有第三方素材。

—/ 5

No ratings yet

Verified DSH bundle

Commit 9588acbcfd76

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout