Themes & Appearance

dsh-liquid-glass

xingyingyuzhui/dsh-liquid-glass · ★ 15

xingyingyuzhuiCurated

Wallpaper plus optional Liquid Glass islands for the DSH Web UI: Ice/Deepwater presets, import, wallpaper opacity, and per-island blur on official light/dark/system.

README body is shown in Chinese.

License
MIT
Added
2026-08-16
Maintenance
active
Install kind
github
Manifest details
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add github:xingyingyuzhui/dsh-liquid-glass

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: zh · Read Chinese README

Table of contents
  1. 预览
  2. 功能
  3. 安装
  4. 使用
  5. 工作原理
  6. 卸载
  7. 开发
  8. License

DeepSeek Harness(DSH)Web 皮肤:在官方浅色 / 深色 / 跟随系统之上叠加壁纸,以及可选的液态玻璃岛。

对照官方基线:DeepSeek Harness 47f943859bef60e4160492346772ded9b24f765a。

预览

冰原 深水
冰原壁纸下的新会话 深水壁纸下的对话
设置 自定义壁纸
设置里选择壁纸 导入的自定义壁纸

功能

  • 壁纸预设:冰原(浅色)、深水(深色),也可导入自己的图
  • 壁纸透明度:只改壁纸本身,不糊整张图
  • 玻璃模糊:只糊每个玻璃岛背后那一层(侧栏、标题、正文、输入区)
  • 液态玻璃开关:关材质后官方表面回来,壁纸可以继续留着
  • 不抢官方几何:会话滚动仍由 data-conversation-scroll 管,输入区 sticky 不改

安装

前置:已安装 DSH(dsh web 可运行)。

dsh plugin --profile web add github:xingyingyuzhui/dsh-liquid-glass

装完重启 DSH(dsh web),然后打开 设置 → 通用 → Liquid Glass。

使用

控件 作用
Wallpaper 预设 / 导入。滑杆只改壁纸透明度。
Glass blur 每个玻璃岛背后的 backdrop blur。壁纸保持清晰。
Liquid Glass 开/关材质。关了恢复官方表面,壁纸可单独留着。

旧的「壁纸模糊」存储键不再读取,也不会自动换成新的玻璃模糊。

工作原理

面 文件 说明
Host host.js 托管冰原 / 深水 JPEG。哈希 URL 一年 immutable,legacy URL no-cache。
Client client.js __ModuleLoader__ bundle:设置行 + 壁纸层 + 玻璃岛 CSS。源码在 src/client/,client.js 由 npm run build 生成。

CSS 只挂在 body[data-dsh-liquid-glass] 下。模糊只发生在各岛 ::before,不糊壁纸、body 或官方滚动容器。

卸载

dsh plugin --profile web remove dsh-liquid-glass

然后重启 dsh web。

开发

# 改 src/client/ 后重新生成 client.js
npm run build
npm test          # 只读检查,生成物过期会失败

# 本地验证
dsh plugin --profile web add file:/absolute/path/to/dsh-liquid-glass
# 或
dsh plugin --profile web add link:/absolute/path/to/dsh-liquid-glass

不要手改 client.js 和 src/client/generated-optics-fallbacks.js。

License

MIT