nevertoday/dsh-theme-plugin 预览 preview

nevertoday/dsh-theme-plugin

Plugin插件 Native原生 ⭐ 25 MIT UI & Themes界面与主题

中国传统的颜色,作为DeepSeek Harness主题包。

Project Overview项目介绍

This is a native theme plugin built exclusively for DeepSeek Harness (DSH), offering a complete theme pack inspired by traditional Chinese colors. To install the plugin, you do not need to clone the repository or build it locally on your machine. You can run a single one-line command npx -y @deepseek-ai/dsh plugin --profile web add dsh-theme-plugin@latest to pull the prebuilt bundle directly from the npm registry. After installation finishes, you can start the DSH web profile and access the dedicated theme picker in the DSH settings panel.

The plugin provides multiple ways to find your preferred theme. You can browse all 49 themes of the current light or dark branch grouped by paper family, filter themes by working mood, search by Chinese name, pinyin, or mood tag, or just view the curated 12-theme shortlist when you don’t want too many options. Switched themes take effect immediately, and you can also switch themes directly via a URL hash parameter, which overrides any previously saved user preference.

The plugin is released under the open-source MIT license, so you can modify or redistribute it freely per the terms of the license. If you want to develop the plugin locally, you need Node.js 20 or newer and the pnpm 10.15 package manager to install dependencies and build the output bundle. The project includes built-in scripts for contrast checking and functionality testing, and theme generation uses a fully deterministic process that produces identical output from the same input.

这是专为DeepSeek Harness(DSH)打造的原生主题插件,是一个基于中国传统颜色开发的主题包。它包含49种基础主色,每种主色对应浅色和深色两个变体,总共提供98款主题。所有主题都覆盖了完整的DSH令牌词汇表,全部通过WCAG AA对比度验证,其中12种主色被整理为精选短列表。

安装方式十分简便,无需克隆仓库或本地构建,直接通过DSH官方命令行工具即可一键安装。安装后可以在DSH的设置面板中直接挑选主题,切换即时生效,也支持通过URL哈希参数直接切换指定主题。用户的主题选择保存在浏览器localStorage中,不会跨设备同步。

该项目基于MIT协议开源,本地二次开发需要Node.js 20以上版本和pnpm 10.15包管理器。构建产物大小严格控制在预算内,自带对比度检测和功能测试脚本,生成主题依赖上游中国传统颜色仓库,生成过程完全确定性。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 25 stars - an early-stage project星标 25,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

npx -y @deepseek-ai/dsh plugin --profile web add dsh-theme-plugin@latest

把 nevertoday/dsh-theme-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-theme-plugin

Chinese traditional colors as a DeepSeek Harness theme pack. 49 anchor colors × light/dark = 98 themes, each writing the full token vocabulary (98 tokens: 89 --dsw-* plus 9 --shiki-token-* syntax slots) and clearing WCAG AA on all 3136 contrast assertions. Twelve of the anchors are marked as a curated shortlist.

📖 中文文档

竹青 light: raw-silk paper, a green wash on the bubble, and a send button in the anchor green itself 朱红 dark: sized-xuan paper in warm ink, a deep maroon wash, and a vermilion send button
群青 light: violet-tinted silk paper, a blue wash, and a blue send button 藤黄 dark: ochre paper in olive ink, an olive wash, and a gold send button

竹青 · light(素绢)  |  朱红 · dark(熟宣)
群青 · light(雪青)  |  藤黄 · dark(赭纸)

One anchor per paper family, same conversation in each. The most saturated patch on screen is always the color you picked.

Install

npx -y @deepseek-ai/dsh plugin --profile web add dsh-theme-plugin@latest
npx -y @deepseek-ai/dsh --profile web          # boot → open http://127.0.0.1:3080/

This pulls the prebuilt bundle from npm — no clone, no build step. The web profile is created on first boot under ~/.dsh/profiles/web.

  • Verify — the browser console logs registered 98/98 themes (49 light / 49 dark), and dsh --profile web --dump-config shows a theme-zhongguo row.
  • Update — run the same add command again.
  • Uninstall — dsh plugin --profile web remove dsh-theme-plugin

Usage

Open Settings → Traditional Colors and pick a theme; it applies immediately. Themes also have deep links:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-tinyfish-search 下一个 Next dsh-qa →