DeepSeek Harness 插件

zhijun-dai/Catppuccin-dsh-theme

Star 数 ★ 3 分类 主题与外观 收录于 2026-08-15 npm dsh-catppuccin

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/palettepalette.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

 

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →