Repository navigation
Releases: Yinhefuluoye/dsh-glass-effect
Release list
v0.2.2 — no flicker on hover in the composer
Fixes a hover flicker in the composer.
- Hovering the composer's stop button no longer flickers the picture. The composer's background blur used to sit on the composer card itself, so the button's background-colour transition repainted inside the blurred element and re-rasterized the blur every frame. The blur now lives on its own child layer below the content — the same split the app itself uses for its menus — so text and buttons stay sharp and the blur is untouched by hovers. The composer's tuned fill (0.44 light / 0.55 dark) and the 16 px blur are unchanged.
- Ambient background no longer uses
background-attachment: fixed. The app never scrolls the body, so it painted the same pixels; it only made the background re-sample when a blurred surface above it repainted. - A new check locks the structure in: the composer card must never carry a
backdrop-filteritself, and the blur must sit on its::afterlayer withz-index: -1andpointer-events: none.
No appearance change, no API change. Requires DSH 0.2.x.
Install — Settings → Plugins → Add plugin, then paste the URL of this release's .tgz, or https://github.com/Yinhefuluoye/dsh-glass-effect; restart DSH.
修复输入框区域的一个悬停闪烁。
- 鼠标悬停在输入框的停止按钮上,画面不再抖动。 之前输入框的背景模糊加在卡片的自身上:按钮的背景色过渡会在模糊元素内部重绘,导致模糊层每帧重新栅格化。现在模糊移到内容下方的独立子图层——与 app 自己处理弹层的方式一致——文字与按钮保持锐利,悬停不再触碰模糊层。输入框填充(浅 0.44 / 深 0.55)与 16px 模糊都保持不变。
- 环境背景不再使用
background-attachment: fixed。 这个应用主体从不滚动,画出来像素相同;唯一影响是模糊层重绘时背景被重新采样。 - 新增一条断言锁定该结构:作曲卡自身不得带
backdrop-filter,模糊必须位于::after图层(z-index: -1、pointer-events: none)。
外观无变化、接口无变化。需要 DSH 0.2.x。
安装 —— 设置 → 插件 → 添加插件,填入本 Release 的 .tgz 直链,或 https://github.com/Yinhefuluoye/dsh-glass-effect;然后重启 DSH。
v0.2.1 — native menus, MIT license, scoped menu fill
v0.2.1 release notes
Fixes since 0.2.0 — the appearance itself is unchanged.
- License detection:
LICENSEis the canonical MIT text again, so GitHub reports MIT instead of NOASSERTION. The third-party notice moved toNOTICE. - Menus look native again: the shared menu token is no longer overridden, so the account menu and every other popup keep the app's own recipe. (An earlier attempt raised it globally, which made the glass switch look inverted.)
- Composer menus: the slash and
+menus get their solid fill from a single scoped rule on the app's owndata-trigger-menuhook, and the stray square hairline inside them is gone.
Install — Settings → Plugins → Add plugin, then paste the URL of this release's .tgz, or https://github.com/Yinhefuluoye/dsh-glass-effect; restart DSH.
相对 0.2.0 的修复,外观本身没有变化。
- 许可证识别:
LICENSE回归标准 MIT 文本,GitHub 现在正确显示 MIT(此前为 NOASSERTION);第三方声明移入NOTICE。 - 弹层恢复原生外观:不再覆盖共享的菜单 token,账号菜单及其他所有弹层保持应用自己的配方(此前全局抬高过,导致开关看起来"反了")。
- 输入框菜单:
/与+菜单的填充改为只作用于应用自带的data-trigger-menu钩子,并修掉了菜单里那道方角细线。
安装 —— 设置 → 插件 → 添加插件,填入本 Release 的 .tgz 直链,或 https://github.com/Yinhefuluoye/dsh-glass-effect;然后重启 DSH。
v0.2.0 — First release / 首个发布
Unified translucent glass material for the DSH interface: the composer, dialogs, menus, cards and code blocks share one material, tuned separately for the light and dark themes. One switch in Settings → General → Appearance; turning it off restores the stock appearance exactly.
Install — DSH has a graphical installer, no command line needed:
- Settings → Plugins → Add plugin
- Enter
https://github.com/Yinhefuluoye/dsh-glass-effect— or the.tgzlink of this release for a git-free install - Click Install, then restart DSH
Requires DSH 0.2.x · works on the desktop app and dsh web.
No network access, no data collection, no global shortcut, no change to the application source.
为 DSH 界面提供统一的半透明玻璃材质:输入框、弹窗、菜单、卡片与代码块共用同一套材质,浅色与深色各自取值。设置 → 通用 → 外观 内一行总开关,关闭后完全还原原生外观。
安装 —— DSH 自带图形安装器,无需命令行:
- 设置 → 插件 → 添加插件
- 填入
https://github.com/Yinhefuluoye/dsh-glass-effect;想免 git 安装就填本 Release 的.tgz直链 - 点「安装」,完成后重启 DSH
要求 DSH 0.2.x · 桌面端与 dsh web 通用。
不联网、不采集、不注册全局快捷键、不修改应用源码。