Yinxe/deepseek-harness-plugins--plugins-web-style3

@dshp/web-style

DeepSeek Harness (DSH) web style suite: multi-theme gallery with one-click switching, persisted theme selection, global radius tuning, and Material You wallpaper color extraction — all rendered over the official light/dark token layer. 样式套件:多套主题画廊一键切换、主题选择持久化、全局圆角调节与 Material You 壁纸取色——全部叠加渲染在官方亮/暗 token 层之上。

包名
@dshp/web-style
版本
0.1.0
许可证
MIT
最近更新
2026年9月12日

安装

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

配置项

配置全部落在 $DSH_HOME/settings.yamldshp-web-style 命名空间(Host 用官方 settings 服务的 installSection 注册,支持热重载与注释保留):

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