suwenner/dsh-live2d-theme ↗★ 2
dsh-live2d-theme
DeepSeek Harness GUI 美化插件:可换背景图/主色/文本色 + Q版 Live2D 看板娘(可拖动、可缩放、可换模型)
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:suwenner/dsh-live2d-theme手动改配置
所有外观也在 config.json 里,改完保存 → 刷新页面即生效(不用重启应用):
{
"accent": "#7c5cff",
"backgroundImage": "/dsh-live2d-theme/background/bg.jpg",
"backgroundOpacity": 0.55,
"gradientDark": "radial-gradient(...)",
"gradientLight": "radial-gradient(...)",
"modelUrl": "/dsh-live2d-theme/models/HK416/model.json",
"modelWidth": 260,
"modelHeight": 300,
"marginRight": 18,
"marginBottom": 10,
"visible": true
}
| 字段 | 含义 |
|---|---|
accent | 主强调色(链接/高亮/焦点环) |
backgroundImage | 背景图 URL;默认 /dsh-live2d-theme/background/bg.jpg,文件不存在自动回退渐变 |
backgroundOpacity | 面板不透明度 0-1,越高面板越实、背景越淡 |
gradientDark / gradientLight | 无背景图时的深/浅渐变 |
modelUrl | 看板娘模型路径 |
modelWidth / modelHeight | 看板娘画布尺寸(px),模型按比例自适应不裁头 |
marginRight / marginBottom | 看板娘离右下角距离 |
visible | 是否默认显示 |
换背景图:把任意图片放到 live2\background\bg.jpg,刷新即用(也可改 backgroundImage 指到别的文件名/路径)。