tzy168/dsh-web-theme-packs ↗★ 2
dsh-web-theme-packs
加载基于文件夹的主题包(令牌、CSS、字体、图片)并切换。 适合想自定义 Web 主题的用户;需配置主题包根目录。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tzy168/dsh-web-theme-packs说明文档
阅读完整 README ↗Configuration
- id: web-theme-packs
name: dsh-web-theme-packs
config:
roots:
- !!js dshHomePath('theme-packs')
routePrefix: /dsh-theme-packs
An empty roots list (the default) scans bundled themes/ then $DSH_HOME/theme-packs. Later roots win on duplicate ids. routePrefix must start with /, must not be /, and must not end with /.
The Host serves GET {prefix}/catalog.json, GET {prefix}/events (SSE revision stream), rewritten {prefix}/{id}/theme.css, and other pack files. The selected pack id is stored in the theme-packs.active settings section; Light / Dark / System under Appearance clears it.