394804078-pixel/dsh-liquid-glass

Plugin插件 Native原生 ⭐ 2 MIT UI & Themes界面与主题

A dsh liquid glass appearance enhancement plugin that changes the styles of dialogs, settings, and buttons to make them see-through.

Project Overview项目介绍

dsh-liquid-glass is a DSH visual plugin that injects pure CSS to restyle the chat input box and modal dialogs in an iOS 26 "liquid glass" look. Its core capability delivers fully transparent glass surfaces with top highlight edges, diagonal reflection bands, inner light borders, and subtle outer outlines, while automatically adapting to light and dark themes with zero runtime dependencies. Use it when you want a cleaner, more modern chat interface. Note: the effect targets the web profile, so changes require restarting the DSH service.

dsh-liquid-glass 是一款 DSH 视觉插件,通过纯 CSS 注入,把对话输入框和模态弹窗替换为 iOS 26「液态玻璃」风格。核心能力包括纯透明玻璃质感、顶部亮边与斜向反光带构成的镜面高光、亮内边加深色外描边,并自动适配浅色与深色主题,零运行时依赖。适用于希望强化聊天界面通透感和现代美感的用户。注意:效果依赖 web profile,改动需要重启 DSH 服务生效。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:394804078-pixel/dsh-liquid-glass

394804078-pixel/dsh-liquid-glass 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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 值
镜面高光强度 ::beforelinear-gradient 的 alpha
圆角 border-radius:28px
是否保留轻微磨砂 backdrop-filter 加上 blur(8px)

License

MIT

上一个 Prev dsh-plugin-marketplace 下一个 Next project-change-router-skill