READMESource: main@e746c941
DSH Valley Spring Pixel Skin
给 DSH Desktop 和 Web UI 用的田园像素皮肤。春日农场铺在背景里,侧栏改成木质面板,主要工作区使用羊皮纸色半透明表面;默认增加 7px 背景模糊,让景色能看见,正文仍然清楚。
![]()
效果
- 原创春日农场像素背景,木屋和向日葵集中在工作区边缘
- 木质侧栏、羊皮纸面板、金色选中态和绿色主操作
- 发送按钮使用浇水壶轮廓
- 任务看板、SSH、文件树、Trajectory、Todo 和设置页保持实色工作面
- 支持字体缩放、背景模糊、亮色和暗色主题
皮肤只改变视觉。会话、模型、权限、工具调用和设置行为仍由 DSH 负责。
兼容
| 项目 | 当前值 |
|---|---|
| DSH | @deepseek-ai/dsh@0.1.0-rc.6 |
| Node.js | >= 22.19.0 |
| 运行位置 | Desktop profile、Web profile |
| DSH 包名 | dsh-client-ui-skin-valley-spring |
| 插件 ID | ui-skin-valley-spring |
本地安装
git clone https://github.com/EachSheep/dsh-valley-pixel-skin.git
cd dsh-valley-pixel-skin
npm ci
npm test
DSH Desktop:
dshd plugin --profile desktop add "link:$PWD"
DSH Web:
dsh plugin --profile web add "link:$PWD"
重启对应的 DSH 客户端后生效。同一个 profile 不应同时启用两套全局皮肤。
配置
默认值在 cordis.patch.yml:
| 配置项 | 默认值 | 作用 |
|---|---|---|
showTitlebar |
true |
显示木质季节状态栏 |
backgroundBlurPx |
7 |
工作区背景模糊,范围 0–16 |
fontScale |
1 |
字体缩放,范围 0.85–1.3 |
compatibility |
dsh-0.1.0-rc.6 |
使用当前版本适配层;tokens-only 只加载稳定主题层 |
卸载
Desktop profile:
dshd plugin --profile desktop remove dsh-client-ui-skin-valley-spring
Web profile:
dsh plugin --profile web remove dsh-client-ui-skin-valley-spring
开发
npm test
npm pack --dry-run
源码在 src/,构建脚本会把一份 WebP 背景内联到 lib/client.js。版本适配放在 src/compat/,维护约定见 AGENTS.md。
许可证
代码采用 BSD-3-Clause。背景为本项目原创生成素材,没有复制游戏截图、地图、角色、建筑、Logo 或 UI 资产。商标说明见 NOTICE.md。
No comments yet. Be the first to write one.