dsh-fleeting-light
Manifest validDraws an ambient glow along the window edge and a moving light band around the composer, sharing one colour table and each with its own switch.
流光 · dsh-fleeting-light
让界面安静地活着。
光标停在那里,界面一动不动。流光让这一刻不再死寂:一圈光沿着窗口的圆角缓缓绕行,一条细带沿着输入框奔跑,粉、紫、蓝、青一路走到琥珀,4.4 秒一整圈;明暗每 2.6 秒起伏一次。
它不打断你。只是让机器看起来还在呼吸。
它做了什么
- 整窗环境光 —— 沿卡片超椭圆圆角走一整圈的底光,内外两层:紧贴边缘的锐光 + 外圈的雾面弥散。四角按圆率精确挖空,不会漏白边。
- 输入框跑马光 —— 一条绕输入框奔跑的彩带,头尾在 45° 内收到 0:不是一条等粗亮线突然截断,而是真的渐细、渐隐、消失。
- 色彩同步 —— 底光、跑马灯、雾光共用同一张「角度 → 色相」表。光转到同一个位置,三层的颜色就是同一个。不会出现"跑马灯永远是紫色"这种各转各的。
- 呼吸感 —— 整层 2.6s 明暗脉动,雾光再叠一层 4.6s 错相呼吸。静止时也在缓慢流动。
- 玻璃透光 —— 边缘高光描边 + 内嵌亮边,光是从卡片边缘透出来的,不是浮在表面。
两个开关,互不打扰
设置 → 通用:
| 开关 | 管什么 | 存储键 |
|---|---|---|
| 整窗环境光 | 窗口四周的底光与雾光 | dsh-fleeting-light:enabled |
| 输入框流光 | 输入框边缘的跑马灯与柔光 | dsh-composer-light:enabled |
每组各带一个「预览」开关,可以在设置页里直接对比开/关。默认都是开的;关掉后立刻 cancelAnimationFrame,不残留定时器。
为什么它不卡
- 纯浏览器端:一个
client.js,宿主端只有一个空的apply。 - 每帧只改三个 CSS 变量(角度、光带角宽、雾带角宽),DOM 结构一次都不动。
- 固定 60fps 的 rAF,一圈 4400ms 线性推进,转速恒定。
- 全程
pointer-events:none+aria-hidden,不抢焦点、不挡点击、不进读屏。 - 系统开了
prefers-reduced-motion时,只画一帧静态光,不转。 - 明暗主题自动各调一档不透明度。
安装
从 DSH 插件市场搜「流光」,或:
npm i dsh-fleeting-light
装完如果光没出现,刷新一次页面(浏览器端模块要重新加载)。
兼容性
在 DSH 0.2.1-rc.3(桌面端 Web UI)上验证。package.json 的 engines.dsh 写的是 >=0.2.1-rc.1 <0.3.0-0,超出这个范围市场会标记为未验证。
许可
MIT © 2026 QiaoSchoco
Versions
| Latest version | Published | Size |
|---|---|---|
| 2.15.0 | — | — |
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 34.4k
↓ 175/wk
MIT
TypeScript
Oct 31, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 9.9k
↓ 225/wk
Apache-2.0
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 8.6k
↓ 225/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby PC2005-cloud
DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物
★ 5.2k
↓ 224.8k/wk
MIT
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-petby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 4.8k
↓ 99.3k/wk
MIT
TypeScript
Oct 30, 2026
dsh plugin --profile web add dsh-better-sidebarby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 4k
↓ 139k/wk
Apache-2.0
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-context