394804078-pixel
dsh-liquid-glass
A dsh liquid glass appearance enhancement plugin that changes the styles of dialogs, settings, and buttons to make them see-through.
- Stars
- 1
- Language
- JavaScript
- Created
- Aug 15, 2026
- Updated
- Aug 15, 2026
Introduction
dsh-liquid-glass
把 DSH(DeepSeek Harness)的对话输入框和模态弹窗变成 iOS 26「液态玻璃」的纯透明玻璃质感。
特性
- 纯透明玻璃:接近无色、完全通透,无磨砂模糊
- 镜面高光:顶部亮边 + 斜向反光带 + 柔光,体现「玻璃」而非「磨砂」
- 边缘反光:亮内边 + 极淡深色外描边
- 自动适配浅色 / 深色主题
- 纯 CSS 注入,零运行时依赖
安装
方式一:插件市场
- 打开 DSH → 设置 → 插件市场
- 搜索
dsh-liquid-glass(npm),或用 GitHub 源安装:github:<你的用户名>/dsh-liquid-glass#main - 重启 DSH(设置 → 重启服务)
方式二:手动安装
- 把本仓库放进 web profile 的 node_modules:
%USERPROFILE%\.dsh\profiles\web\node_modules\dsh-liquid-glass\ - 编辑
%USERPROFILE%\.dsh\profiles\web\cordis.patch.yml,末尾追加:- insert: - id: pm-dsh-liquid-glass name: 'dsh-liquid-glass' - 重启 DSH
自定义
编辑 lib/client.js 里的 CSS 数组即可:
| 想调 | 改哪里 |
|---|---|
| 通透度 | rgba(255,255,255,.03) 的 alpha 值 |
| 镜面高光强度 | ::before 里 linear-gradient 的 alpha |
| 圆角 | border-radius:28px |
| 是否保留轻微磨砂 | backdrop-filter 加上 blur(8px) |
License
MIT