Yinxe/deepseek-harness-plugins--plugins-web-style ↗★ 7

@dshp/web-style

DeepSeek Harness (DSH) web style suite: multi-theme gallery with one-click switching, persisted theme selection, interactive background effects orthogonal to the theme, global radius tuning, and Material You wallpaper color extraction — all rendered over the official light/dark token layer. 样式套件:多套主题画廊一键切换、主题选择持久化、与主题正交的可交互背景效果、全局圆角调节与 Material You 壁纸取色——全部叠加渲染在官方亮/暗 token 层之上。 适合想要自定义 DSH 界面主题、背景效果和圆角大小的用户。

Package
@dshp/web-style
Compatibility
Unverified
Version
0.5.0
License
MIT
Last updated
Oct 1, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yinxe/deepseek-harness-plugins#dbb1c022e1017f40170f0827609e6ac8c32ff148&path:plugins/web-style

配置项

配置全部落在 profile 条目 dshp-web-style 的 config:(0.1.7 契约:Host 导出条目 Config + volatile 字段,设置页经 settings.update 写入即热更新;手工编辑条目 config 重启生效):

dshp-web-style:
  themeId: supabase-dark # 空串 = 完全跟随官方「外观」(system/light/dark)
  backgroundId: flow # 空串 = 跟随主题默认;harness-dots / aurora / flow
  radius:
    global: 0 # -1 跟随主题 / 0 全锐角 / 1–24 统一圆角(px)
  # 壁纸取色:未取色为 null;accent 恒等于 seed(旧数据的 seed 字段也认)
  photoPalette:
    accent: '#8b5cf6'
    companionA: '#5cf6c8'
    companionB: '#4a3a8b'
  • 切换主题只需改 themeId(白名单外的 id 一律视为空串 = 回官方默认)。
  • 背景效果backgroundId 与 themeId 各存各的:改主题不会动它,改它不会动主题。 白名单外的值同样消毒成空串 = 跟随主题默认(harness-office → 点阵,其余 → 无)。
  • 删除持久化:把 themeId 置空串即完全跟随官方;再清 photoPalette 即丢掉取色数据。
  • wallpaper.* / glass.* 是已退役特性的历史字段,插件只原样透传、不再读写,可手动删除。