394804078-pixel/dsh-liquid-glass ↗★ 2

dsh-liquid-glass

iOS 26 液态玻璃样式:让 DSH 的对话输入框和模态弹窗呈现纯透明玻璃质感(镜面高光 + 边缘反光),自动适配明暗主题。 适合偏好液态玻璃视觉风格的用户,仅影响外观,不提供功能性能力扩展。

Package
dsh-liquid-glass
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Aug 15, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

dsh-liquid-glass

把 DSH(DeepSeek Harness)的对话输入框和模态弹窗变成 iOS 26「液态玻璃」的纯透明玻璃质感。

特性

  • 纯透明玻璃:接近无色、完全通透,无磨砂模糊
  • 镜面高光:顶部亮边 + 斜向反光带 + 柔光,体现「玻璃」而非「磨砂」
  • 边缘反光:亮内边 + 极淡深色外描边
  • 自动适配浅色 / 深色主题
  • 纯 CSS 注入,零运行时依赖

安装

方式一:插件市场

  1. 打开 DSH → 设置 → 插件市场
  2. 搜索 dsh-liquid-glass(npm),或用 GitHub 源安装:
    github:/dsh-liquid-glass#main
    
  3. 重启 DSH(设置 → 重启服务)

方式二:手动安装

  1. 把本仓库放进 web profile 的 node_modules:
    %USERPROFILE%\.dsh\profiles\web\node_modules\dsh-liquid-glass\
    
  2. 编辑 %USERPROFILE%\.dsh\profiles\web\cordis.patch.yml,末尾追加:
    - insert:
        - id: pm-dsh-liquid-glass
          name: 'dsh-liquid-glass'
    
  3. 重启 DSH

自定义

编辑 lib/client.js 里的 CSS 数组即可:

想调改哪里
通透度rgba(255,255,255,.03) 的 alpha 值
镜面高光强度::before 里 linear-gradient 的 alpha
圆角border-radius:28px
是否保留轻微磨砂backdrop-filter 加上 blur(8px)

License

MIT