dsh-skin-leg
August 19, 2026 · View on GitHub
English | 中文
「美腿」—— DeepSeek Harness (DSH) Web GUI 的热插拔皮肤插件:以 2K 插画(2560×1440 JPEG)为整屏背景画(cover / fixed),上覆随亮/暗主题实时切换的阅读遮罩,面板采用半透明表面让画作透光,保留基础主题 token 体系。
特性
- 2K 全视口背景:2560×1440 JPEG 内嵌为 base64 data URL(约 253KB),皮肤不依赖任何静态资源路由
- 主题自适应:亮色/暗色双遮罩(scrim),随
data-ds-dark-theme实时切换 - 半透明面板:移植官方皮肤的 68 个半透明 token(
--dsw-alias-bg-*/--aion-bg-*等),UI 表面透出背景画 - 热插拔:标准 DSH bundle 形态,可通过皮肤管理器(如 dsh-skinctl)一键切换
安装
# 从 GitHub
dsh plugin --profile web add github:lovetpy/dsh-skin-leg
安装后重启 dsh web,刷新页面即生效。皮肤只改浏览器 DOM,不触及模型请求。
使用
- 皮肤安装后默认与当前激活皮肤并存,用皮肤管理器切换为唯一激活
- 命令行切换:
dsh-skinctl的「皮肤管理」面板 → 点击「美腿」→ 应用
更换背景图
背景图编译在 lib/client.js 内(base64 data URL,无外部图片文件)。更换步骤:
- 准备一张新图(建议 16:9,≥2560×1440)
- 将其转为 ~250KB 的 2K JPEG 并 base64 内嵌,替换
lib/client.js中的GDX_ART常量(命名沿用,见文件内注释) - 更新
skin.json的tagline/description - 重新
npm pack并重装
版权声明
背景插画来自网络,仅作个人学习交流使用,无任何商业用途。如涉及侵权,请联系作者下架处理。
皮肤元数据(skin.json)
| 字段 | 值 |
|---|---|
id | leg |
name | 美腿 |
bodyAttr | data-dsh-skin-leg |
wiring.id | ui-skin-leg |
任何 DSH 皮肤管理器扫描到本包的 skin.json 即可自动列出。
License
MIT
English
dsh-skin-leg (Weimei) — a hot-pluggable skin for the DeepSeek Harness (DSH) web GUI: a 2K (2560×1440) full-viewport backdrop (cover/fixed) under a live light/dark reading scrim, with translucent panels that let the artwork show through.
Features
- 2K backdrop inlined as a base64 JPEG data URL (~253KB) — no static-asset routes
- Light/dark scrims that swap live with
data-ds-dark-theme - Translucent surfaces via 68 ported
--dsw-*/--aion-*alpha tokens - Standard DSH bundle shape; switchable at runtime by skin managers (e.g. dsh-skinctl)
Install
dsh plugin --profile web add github:lovetpy/dsh-skin-leg
Restart dsh web and refresh. The skin only touches browser DOM — it never touches model requests.
Copyright Notice
The backdrop artwork comes from the internet and is used for personal, non-commercial purposes only. Contact the author for removal if it infringes any rights.