dsh-frosted-glass
Verified@szhl/dsh-frosted-glass · v1.0.1 · MIT · Web UI
DeepSeek Harness appearance bundle: a slate-blue alias-token skin plus two sliders for how much of the window backdrop shows through the sidebar and the page (the frosted-glass strength on macOS).
Install
dsh plugin add @szhl/dsh-frosted-glass Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Readme
@szhl/dsh-frosted-glass
毛玻璃 / Frosted Glass —— DeepSeek Harness 的外观包:一套板岩蓝的冷调暗色配色,加上侧栏底部两条滑块,用来调"窗口背景透过多少"。
安装
dsh plugin --profile desktop add @szhl/dsh-frosted-glass
--profile 换成你自己的 profile 名(桌面版是 desktop);dsh plugin 会把后面的参数转交给 profile 里的 pnpm。装完重启 DSH 生效。
或在 DSH 的插件界面里填包名安装(安装源选「默认安装源」或「npm 官方源」)。
它做什么
- 配色:只通过
ctx.theme.overrideTokens叠一层 alias token,内置浅色/深色主题不被修改,卸载即恢复。 - 两条滑块(侧栏底部,收起侧栏时变成两条 36px 宽的轨道):
- 侧栏:侧栏自身的透出比例。macOS 上侧栏默认只有
color-mix(<token> 50%, transparent)那一层,所以插件会在运行期定位并校验那一列后替换它的填充,并把body自带的那层页面底色清掉 —— 这样滑块才能真正推到全透明。 - 页面:页面本体的透出比例,在 macOS 上就是毛玻璃强度。
- 侧栏:侧栏自身的透出比例。macOS 上侧栏默认只有
- 两条滑块显示的是最终合成结果(透出比例),不是原始 alpha;macOS 上未认领成功时轨道下限会抬高,避免手柄承诺平台给不了的透明度。
备注
- 位置存在浏览器
localStorage的dsh-skin.veil键里(这是它在叫"皮肤"时用的键名,改名后有意保留,以便升级不丢设置)。 - 需要
@deepseek-ai/dsh-client-ui-theme。RTL 镜像未处理:轨道填充锚定物理左边缘,这是已知限制。 - 只测过 macOS 与 Linux/Windows 的常规布局;认领失败时会静默退化为受限透明度,不会画错元素。
许可
MIT © 2026 suzhilin