dsh-pixel-icons
在终端中运行以下命令:
dsh plugin install TableRogue/dsh-pixel-icons
将以下提示词粘贴到 DeepSeek Harness 对话框中:
请在 DeepSeek Harness 中执行 dsh plugin install TableRogue/dsh-pixel-icons 安装该插件,源码地址为 https://github.com/TableRogue/dsh-pixel-icons,安装后自动写入 profile bundles,启动 dsh --profile web 即生效。
插件介绍
The DeepSeek Harness Web GUI ships with smooth vector SVG icons filled with currentColor, a standard modern-UI look. The moment you swap in the Fusion Pixel pixel font, the contrast between rounded Bézier curves and blocky pixel characters becomes jarring. dsh-pixel-icons closes that gap: at runtime it rasterizes every icon-level SVG and rebuilds it as 1-pixel blocks so the entire interface lives under one cohesive pixel aesthetic.
The rasterization is not a naive downscale-and-upscale. The plugin uses 3× supersampling combined with a block-coverage threshold (default 0.35) so that thin strokes remain continuous and evenly weighted after pixelation, with no gaps or aliasing. It selectively targets only SVGs carrying currentColor, automatically skipping functional graphics such as context progress rings, and mutates nodes in place to preserve React reconciliation, keeping sidebar folding and other layout logic working as expected.
If you are already running the dsh-fusion-pixel-font and dsh-fusion-pixel-ui-adapt theme and just need the last non-pixel piece of the puzzle, this is that piece. It loads automatically with your profile on every start. Tweak SCALE or the coverage threshold and refresh the page to re-rasterize if you want a coarser or finer grain.
使用场景
- 搭配 Fusion Pixel 像素字体统一整套 Web GUI 视觉风格
- 调整超采样倍数与覆盖率阈值,获得更粗或更细的像素颗粒
- 在不破坏侧栏折叠等交互的前提下,让所有 currentColor 图标变为像素块
适合人员
- 喜欢像素风格、想让界面从头到脚统一视觉语言的用户
- 已在用 dsh-fusion-pixel-font 与 dsh-fusion-pixel-ui-adapt 主题,缺图标这块拼图的用户
- 想快速试用像素图标效果、按调参刷新页面即可看到变化的轻量定制者