silk-background
dsh web-profile client plugin: WebGL silk shader background for the Web GUI. v4: the glass effect rides the official theme service (overrideTokens token layers with light/dark pairs); the node half is a no-op. @deepseek-ai/dsh-client-modules discovers dsh.client, serves /plugins/silk-background/client.js and injects it into the boot manifest; the dsh.bundle.patch declaration lets `dsh plugin --profile web add` wire the entry automatically.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:z21for99/silk-background说明文档
阅读完整 README ↗🧵 silk-background
dsh Web GUI 客户端插件:WebGL "Silk" 丝绸着色器动态背景 + 全站玻璃化皮肤。
基于官方 web-profile 插件机制(dsh.client 声明 + bundle patch 层)实现,
不修改 dsh 任何源码或前端产物,卸载即还原。
🖼️ 预览


✨ 特性
视觉
- 🎨 WebGL Silk 着色器(21st.dev Shader Builder):全屏动态丝绸纹理,指针跟随/扭曲
- 🖥️ 自适应分辨率与 2M 像素预算,页面不可见时自动停渲染(省电)
- 🌗 三模式:
off/dim(默认,可读性优先玻璃)/vivid(高亮丝绸)
主题
- 🧊 全站玻璃化:通过 dsh 官方 theme 服务的
overrideTokens注册 alias token 覆盖层 (--dsw-alias-bg-base、--dsw-alias-bg-layer-1/2、--dsw-specific-sidebar-fill,亮/暗两套值) - 🔄 主题重同步与亮暗切换自动保持,无需逐元素 DOM 手术(v4)
控制
- 🔘 右下角圆形按钮一键循环切换模式,选择持久化在
localStorage - ⚙️ 独立设置面板:速度/强度滑杆、7 套配色、4 色 RGB 取色板,全部持久化
健壮性
- ♿
prefers-reduced-motion适配 - 🛡️ WebGL 上下文丢失/恢复、主题重同步自愈
调试
- 🐞 URL 加
?silk-debug打开状态面板;控制台可用 ( / / )