Catppuccin 主题插件:为 DSH Web 主题运行时提供 Latte、Frappé、Macchiato、Mocha 四套皮肤。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-catppuccin
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:zhijun-dai/Catppuccin-dsh-theme
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
预览
使用
这是 DeepSeek Harness(dsh)的双面主题插件。它把 Catppuccin 的四个风味(Flavor)注册进内置主题运行时,在 设置 → 通用 → Catppuccin 主题 中即可选择。
安装
从 GitHub 仓库安装:
dsh plugin --profile web add github:zhijun-dai/Catppuccin-dsh-theme
从本地目录安装(-w 参数必需——profile 目录是 pnpm workspace 根):
dsh plugin --profile web add -w /path/to/Catppuccin-dsh-theme
从 npm 安装:
dsh plugin --profile web add dsh-catppuccin
安装后重启 web 服务:
dsh web
切换主题
打开 Web UI,进入 设置 → 通用,选择四个 Catppuccin 风味之一(选「默认」恢复内置外观)。选择按浏览器保存在 localStorage。
工作原理
主题定义由官方 catppuccin/palette 的 palette.json 生成(不手改色值)。scripts/gen-themes.mjs 把每个风味的 26 个 Catppuccin 颜色映射到 dsh @deepseek-ai/dsh-client-ui-theme 样式表的 --dsw-alias-* token 目录(含 --shiki-* 语法高亮色和少量泄漏的 --dsw-static-deepseek-* 静态色),写出 themes/ 下的逐风味 token 表,并内嵌进浏览器端 bundle lib/client.js。
node scripts/gen-themes.mjs
💝 Thanks to
- zhijun-dai
- Catppuccin
- KinGao294/dsh-skin — 本插件的参考实现
- DeepSeek
链接
同类插件
Small-tailqwq/dsh-deep-whale★ 652
DSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)。
KinGao294/dsh-skin★ 10
Codex 风格皮肤切换器 + 自定义壁纸层,可调透明度与模糊。
PAKIKNOWLEDGE/dsh-client-ui-skin-claude★ 3
Claude 风格皮肤:暖黑画布、陶橙点缀、衬线 UI,跟随原生亮/暗主题。
starslittle/dsh-blue-whale★ 3
复刻 DeepSeek Chat 的蓝鲸配色(主色 #4D6BFE),亮色/深色跟随系统外观。
Tkingxiao/dsh-any-background★ 3
自定义外观插件:换背景图(可调大小和位置)、用色轮自定义主题色,主界面和设置界面的透明度都能单独调。
tianyhjg-lab/dsh-font★ 2
DSH Web GUI 字体切换器:99 个界面字体与 31 个代码字体,中西文自动搭配,即选即生效,localStorage 持久化。