Skip to content

dsh-glow

Verified

dsh-glow · v0.1.0 · MIT · Web UI

White halo outside the region under the pointer, across the whole DeepSeek Harness surface. Configurable intensity and color.

Install

dsh plugin add dsh-glow

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

Creators

Readme

dsh-glow

鼠标经过哪里,哪一块区域的外侧就亮起白色光晕。全平台生效,强度与光色可调。

实现要点

不是给目标元素加 box-shadow(会被 overflow:hidden 裁掉、被后面的兄弟元素盖住、依赖主题变量时还可能整条失效), 而是维护一个 position:fixed 的浮层:跟随指针下方最近一块「区域状」元素的矩形与圆角, 用绝对 rgba 画四层外发光,pointer-events:none,z-index 极高。所以不会被裁、不会被盖。

设置

设置页「泛光」:

  • 开关
  • 强度:20%–100%,映射到 14–44px 的光晕半径
  • 光色:白色(默认)/ 跟随主题文字色
  • 一行诊断:命中/未命中计数与最近命中的元素,用来判断「类有没有挂上」

边界

  • iframe 内部(浏览器预览、嵌入文档)进不去,不会有光晕;
  • 父级 overflow:hidden 会裁掉外扩部分,但浮层方案已经把这种影响降到最低。

安装

dsh plugin --profile <profile> add dsh-glow