dsh-theme-wallpaper

DSH PLUGINUI 与外观

仓库 cnhenaihui/dsh-theme-wallpaper · npm @cnhenaihui/dsh-theme-wallpaper

UI 与外观 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件
安装这个插件

为 DeepSeek Harness 提供 62 套配色主题与本地壁纸的 DSH plugin,支持明暗切换、对比度修复、模糊遮罩与一键预设。

一句话选型结论

按资料字段整理

dsh-theme-wallpaper 是UI 与外观类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类UI 与外观 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-11-12 创建于 2026-10-26
README 14.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:cnhenaihui/dsh-theme-wallpaper
  1. 1
    确认版本与运行环境

    Node.js 要求 >=20.0.0;版本不匹配时安装会报错。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求>=20.0.0来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名@cnhenaihui/dsh-theme-wallpaper可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-theme-wallpaper:为 DeepSeek Harness 换上配色主题与本地壁纸

  • 62 套配色主题与 IP 预置
  • 本地背景图与轮换模糊遮罩
  • 明暗各用独立配色
  • 自动修复低对比度语义色
  • 三档一键预设与滑块说明

上游标签

cordisdeepseek-harnessdshdsh-pluginiostheme

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在UI 与外观场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-theme-wallpaper当前 未做沙盒验证 未标注 0 未标注 有
nuwa-skill 未做沙盒验证 未标注 3.8 万 未标注 有
awesome-dsh-plugin L4 · 沙盒安装通过 低风险 1.8 万 0.1.1-rc.2 有
deepseek-balance-whale-widget L4 · 沙盒安装通过 低风险 4,492 0.1.7-rc.2 等 2 个 有
dsh-better-sidebar L4 · 沙盒安装通过 低风险 4,112 0.1.7-rc.2 等 10 个 有
dsh-deep-whale L4 · 沙盒安装通过 低风险 2,470 未标注 有

仓库档案

UI 与外观
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方cnhenaihui仓库 dsh-theme-wallpaper · 默认分支 main
分类UI 与外观interface
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-10-26 · 2026-11-12最后推送 2026-11-12
本站收录2026-11-13首次进入本站目录的时间

README 全文

14.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-theme-wallpaper

A colour-theme and wallpaper plugin for DeepSeek Harness. It layers token overrides on top of the host theme service through ctx.theme.overrideTokens, so it needs no build step and no runtime dependencies.

DeepSeek Harness 的配色主题与壁纸插件。通过 ctx.theme.overrideTokens 在宿主主题服务上叠加令牌层,零构建、零运行时依赖。

> Renamed / 已改名:本包原名 @cnhenaihui/dsh-ios-theme。1.x 是一套「iOS 风格外观调节器」,2.0 起已改为「配色主题 + 壁纸」,名字不再相符,故更名。存储键与 IndexedDB 库名刻意保留旧名,见下方升级说明。
>
> This package was previously @cnhenaihui/dsh-ios-theme. Version 1.x was an iOS-flavoured appearance tuner; since 2.0 it has been a colour-theme-plus-wallpaper plugin, so the name no longer matched. The storage key and IndexedDB database name deliberately keep the old name — see Upgrading.

Features / 功能

  • 62 colour themes / 62 套配色主题 — 37 built-in themes plus 25 IP presets, grouped by hue family (warm, yellow-green, teal, cyan-blue, cool-blue, violet, translucent, special) with the IP presets in their own group. Each theme carries a full Markdown and syntax-highlight palette, so headings, bold, italics, links, inline code, blockquotes and every code token get a colour of their own instead of the host's fixed hex values. 37 套内置主题 + 25 套 IP 预置,按色系分组(暖色/黄绿/青绿/青蓝/冷蓝/蓝紫/透光/特殊),IP 预置单列一组。每套主题都自带完整的 Markdown 与语法高亮配色,标题、加粗、斜体、链接、行内代码、引用块和每一种代码 token 都有自己的颜色,不再是宿主写死的固定值。
  • Current theme is marked / 当前主题有勾选标记 — the active theme chip carries a filled ✓ badge, a brand-coloured ring, a tinted background and a heavier font weight. Four signals rather than one, so the selection stays identifiable on low-contrast themes and for colour-blind users. The chip row is exposed as a radiogroup with role="radio" + aria-checked. 当前主题的芯片带一个实心 ✓ 勾、品牌色描边、浅色底与加粗字重。四重信号而不是单靠颜色,弱对比主题与色觉障碍用户也能认出。整组芯片以 radiogroup + role="radio" + aria-checked 暴露给辅助技术。
  • Translucent themes / 透光主题 — themes whose background slots are transparent (Lucent Orange lucent-orng is the flagship) hand the canvas to the host, so a wallpaper shows through and the whole window takes on a tinted-glass look. 背景槽为 transparent 的主题(代表是透光橙 lucent-orng)把画布交给宿主,壁纸因此透出来,整窗呈现着色玻璃的观感。
  • Contrast repair / 对比度修复 — upstream ships 250 of 636 semantic colour pairs below 4.5:1 (some at 1.00:1, where bold text is literally the same colour as body text). This plugin pushes only the failing colours along the black/white axis until they clear 4.5:1, leaving passing colours byte-identical and preserving each theme's hue. 上游有 250/636 组语义色对比度低于 4.5:1(最低 1.00:1,加粗与正文同色)。本插件只把不达标的色沿黑白方向推到 4.5:1,达标的色一个字节都不动,色相保持不变。
  • Light and dark both real / 明暗各用各的配色 — most themes define a light palette as well as a dark one. The plugin emits both halves, so switching the host between light and dark gives you the theme's own light colours rather than a dark canvas pretending to be light. 多数主题同时定义了浅色与深色配色。插件两半都发射,宿主在明暗之间切换时拿到的是主题自己的浅色值,而不是一块假装成浅色的深色底。
  • Local background images / 本地背景图 — point it at local images, then choose fill or tile, sequential or random rotation, with blur, scrim, saturation and transparency. Drag-and-drop (files or whole folders), paste, and a thumbnail gallery are all supported. Images are re-encoded to ≤2560px WebP and stored as Blobs in IndexedDB. 指定本地图片作为背景,可选铺满或平铺、顺序或随机轮换,并调整模糊、遮罩、饱和度与透明度。支持拖拽(文件或整个文件夹)、粘贴,以及缩略图图库。图片统一重编码为 ≤2560px 的 WebP,以 Blob 存进 IndexedDB。
  • Three one-click presets / 三个一键预设 — 轻微 / 标准 / 通透 set blur, scrim, wallpaper opacity, interface-base opacity and saturation together as a coordinated set. The five sliders pull against each other (more blur needs more scrim; a more transparent interface makes text harder to read), so picking one by hand is fiddly. 轻微 / 标准 / 通透 三档会把模糊、遮罩、壁纸透明度、界面底透明度、饱和度一起调成协调的一组。五个滑块互相牵制(模糊越大越需要遮罩,界面底越透正文越难读),手工配平很费劲。
  • Per-slider guidance / 每个滑块带效果说明 — every slider carries a one-line hint describing which direction does what and what the cost is, rather than just restating the number. 每个滑块配一句说明,讲清「往哪边调、代价是什么」,而不是复述数值。
  • Ignore-theme-background switch / 忽略主题背景开关 — solid-canvas themes cover the wallpaper by design. Flip this on to let the wallpaper win, and the theme's canvas becomes semi-transparent instead. 实色画布的主题按设计会盖住壁纸。打开这个开关让壁纸优先,主题画布转为半透明。
  • Self-check overlay / 自检浮层 — when a wallpaper is enabled, a 15-second overlay reports whether the image layer is painted, whether the base tokens were readable, and which surfaces were covered. 启用壁纸时会出现一个 15 秒的浮层,报告渲染层是否画上、底色令牌是否读到、覆盖了哪些面。

Everything is applied through the host's theme token layer plus a small injected stylesheet for elements the token layer cannot reach (strong, em, blockquote, hr, a, inline code), so it composes with the host's own light/dark handling rather than replacing it. Typography and font families are left entirely to the host's Settings → General → Appearance.

全部效果都走宿主主题令牌层,另加一张小样式表兜住令牌层管不到的元素(strong、em、blockquote、hr、a、行内 code),因此与宿主自己的明暗处理叠加而非替换。排版与字体族完全交给宿主的「设置 → 通用 → 外观」。

How the wallpaper shows through / 壁纸怎么透出来

DSH's interface is a stack of surfaces, and each layer reads a different token. The plugin only makes two of them translucent:

Layer / 层 Token Treated
Window base / 窗口底 --dsw-alias-bg-base translucent
Sidebar / 侧栏 --dsw-specific-sidebar-fill translucent
Control surfaces / 控件级表面 --dsw-alias-bg-layer-1 opaque
Popovers & menus / 浮层与菜单 --dsw-alias-bg-layer-2 opaque
Overlays / 遮罩层 --dsw-alias-bg-layer-3, --dsw-alias-bg-overlay opaque

--dsw-alias-bg-layer-1 is not a card-only token — it is the shared base for every control-level surface (plugin-market cards, chat previews, sidebar buttons, segmented controls, JSON trees). Making it translucent turns the whole page see-through and text from lower layers shows through, which reads as overlapping type. So the wallpaper only comes through the window base and sidebar; anything stacked on top of them stays solid.

--dsw-alias-bg-layer-1 不是「卡片专用底」,而是所有控件级表面的共用底(插件市场卡片、聊天预览、侧栏按钮、分段控件、JSON 树都用它)。把它半透明化会让整页变透,下层文字浮上来,看起来就是字体重叠。所以壁纸只从窗口底与侧栏透出,压在它们之上的面一律实底。

How visible the wallpaper is, is controlled by a single interface-base opacity slider. It has no "penetration depth" setting on purpose: any such setting necessarily breaks the rule above.

壁纸的明显程度由界面底透明度一个滑块控制。刻意不提供「透出范围」分档:任何分档都必然破坏上面这条规则。

_probe/bg-harness.html in the workspace is an offline repro page that demonstrates this boundary — including a switch that deliberately reintroduces the overlap bug so you can see why the token must stay opaque.

工作区里的 _probe/bg-harness.html 是离线复现页,用来演示这条边界 —— 其中有一个开关会刻意重现叠印 bug,直观说明这个令牌为什么必须保持不透明。

Install / 安装

From GitHub:

dsh plugin --profile  add github:cnhenaihui/dsh-theme-wallpaper

From npm:

dsh plugin --profile  add @cnhenaihui/dsh-theme-wallpaper

Or from a local checkout:

dsh plugin --profile  add /absolute/path/to/dsh-theme-wallpaper

The package declares dsh.bundle.patch, so the profile loads its cordis.patch.yml automatically on startup. Do not also add a manual insert line for it — the same plugin mounted from two sources fails the loader with a duplicate entry id.

包内声明了 dsh.bundle.patch,profile 启动时会自动加载它的 cordis.patch.yml。不要再手工加一行 insert——同一插件从两处挂载会触发重复 loader entry id,导致启动失败。

Upgrading from dsh-ios-theme / 从旧包名升级

The package name, the loader entry id and the token-layer sources all changed. The storage key and IndexedDB database name did not:

Thing Value Changed?
Package name @cnhenaihui/dsh-theme-wallpaper yes
Loader entry id theme-wallpaper yes
overrideTokens sources dsh-theme-wallpaper:theme / dsh-theme-wallpaper:bg yes
localStorage key dsh-ios-theme:v1 no
IndexedDB database dsh-ios-theme no

Those last two are where your data physically lives. Renaming them would discard your selected theme, your wallpaper settings and every imported image, with no way to recover. They are internal identifiers and do not need to match the package name.

最后两行是用户数据在磁盘上的实际地址。改名等于把已选主题、壁纸参数和全部导入的图片丢掉,且无法找回。它们是内部标识,不需要跟包名一致。

To upgrade, remove the old entry from the profile's package.json (dependencies and dsh.profile.bundles) and add the new package. Do not keep both — the two would mount the same plugin twice and collide.

升级时把 profile package.json 里旧的依赖项与 dsh.profile.bundles 条目换成新包名,不要两个都留着 —— 会重复挂载同一个插件而冲突。

Configuration / 配置

All options live in DeepSeek Harness settings under Appearance & Wallpaper. Changes apply live; the plugin's overrides are removed cleanly when it is disabled or unmounted.

所有选项都在 DeepSeek Harness 设置的「外观与壁纸」里。修改即时生效;停用或卸载时插件叠加的令牌层与样式表会被干净地移除。

Requirements / 要求

  • DeepSeek Harness NEXT (desktop-next 2.0.22-next / dsh 0.2.2-rc.1 and later) with the web GUI (the plugin targets client.platform: web).
  • Node.js 20 or newer.

Verification / 验证

client.js is assembled from eight segments in docs/src/; the build has no dependencies.

node docs/_assemble.mjs          # assemble client.js (--check validates only)
node test/run-all.mjs            # 5 layers, 163 assertions
node test/run-all.mjs --mutation # extra mutation pass (temporarily edits sources, restores)
node docs/_render_page.mjs       # render 8 preview pages to docs/_page-*.html

Both the assembler and run-all.mjs need to spawn child processes. In a sandbox that forbids spawn (it surfaces as EPERM), run the five layers directly instead:

node docs/_assemble.mjs
node docs/_selfcheck.mjs        # 23
node docs/_engine_smoke.mjs     # 21
node docs/_verify_v2.mjs        # 96
node docs/_scenario.mjs         # 23
node docs/_check_bundle.mjs     # bundle guards, incl. the no-overlap rule

See tests-report.md for what each layer covers and what it does not.

client.js 由 docs/src/ 的八段拼装而成,构建零依赖。拼装脚本与 run-all.mjs 都要起子进程;在禁止 spawn 的沙箱里(表现为 EPERM)改为逐层直接跑,见上面的命令。覆盖范围与未覆盖范围见 tests-report.md。

Version history / 版本历史

> 2.1.0 — renamed to @cnhenaihui/dsh-theme-wallpaper; added the ✓ badge on the active theme with radiogroup semantics; added three one-click presets and per-slider hints; removed a "penetration depth" setting that caused page-wide text overlap.
>
> 改名为 @cnhenaihui/dsh-theme-wallpaper;当前主题加 ✓ 勾并补齐 radiogroup 语义;新增三个一键预设与每个滑块的效果说明;移除会导致整页字体重叠的「透出范围」分档。
>
> 2.0.0 — a rewrite: the plugin went from an iOS-flavoured appearance tuner to a colour-theme-plus-wallpaper plugin. Accent colours, the three-way base palette, line-height/tracking controls, the night eye-care mode and the hand-rolled semantic layer are all gone, replaced by 62 themes that bring their own Markdown and syntax palettes plus a contrast-repair pass. Saved 1.x state migrates automatically (base: 'opencode' → oc-2, base: 'night' → lucent-orng); other legacy fields are dropped.
>
> 一次重构:插件从「iOS 风格外观调节器」改为「配色主题 + 壁纸」。原先的强调色、基调三选一、行高字距、夜间护眼、自研语义角色层全部移除,取而代之的是 62 套自带 Markdown/语法配色的主题,以及一层对比度修复。1.x 保存的状态会自动迁移(base: 'opencode' → oc-2,base: 'night' → lucent-orng),其余旧字段丢弃。

License / 许可

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
dsh-theme-wallpaper 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:cnhenaihui/dsh-theme-wallpaper` 即可。对应的 npm 包名是 `@cnhenaihui/dsh-theme-wallpaper`。

dsh-theme-wallpaper 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

dsh-theme-wallpaper 安全吗?

未标注。

dsh-theme-wallpaper 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-theme-wallpaper 需要什么运行环境?

Node.js >=20.0.0。环境不满足时安装会失败,建议先确认本机版本。

dsh-theme-wallpaper 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-theme-wallpaper 有哪些功能?

62 套配色主题与 IP 预置、本地背景图与轮换模糊遮罩、明暗各用独立配色、自动修复低对比度语义色、三档一键预设与滑块说明。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
UI 与外观
按星标排序,可作替代方案

nuwa-skill

nuwa-skill

女娲 DSH plugin 只需输入一个名字,就自动调研、提炼并验证任何人的心智模型、决策启发式与表达 DNA,生成可直接调用的思维视角 S

未标注验证等级 3.8 万 星

awesome-dsh-plugin

awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harnes

L4 · 沙盒安装通过 1.8 万 星

deepseek-balance-whale-widget

DeepSeek-Balance-Whale-Widget

DSH 界面右下角的常驻小鲸鱼余额挂件,实时显示 DeepSeek 账户余额、今日已用与每轮对话消耗,支持拖拽吸附、Q 弹动画与音效,开箱即

L4 · 沙盒安装通过 4,492 星

dsh-better-sidebar

DSH-better-sidebar

面向 DeepSeek Harness 的服务化侧边栏工作台插件,把文件编辑、终端、Git 变更、子代理任务与侧边对话整合进右侧栏与底部面板

L4 · 沙盒安装通过 4,112 星

dsh-deep-whale

dsh-deep-whale

DSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)。

L4 · 沙盒安装通过 2,470 星

deepseek-design

deepseek-design

可视化设计工作室,支持网站、App 原型、海报、信息卡、报告和杂志的模板创建、元素编辑、选区级 AI 草稿衔接与导出。

L4 · 沙盒安装通过 1,438 星

cnhenaihui 的其它插件

3 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。