← 返回列表
未验证
浏览预览并应用内置配色主题,重启后自动恢复
尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/9/3 · 已提供中文文档
可移植的 DSH/Cordis 主题插件:内置配色浏览、预览、应用与持久化;DeepSeek Harness Desktop 预装。 / Portable DSH/Cordis theme overlay plugin with builtin palettes, preview, apply, and persistence; pre-installed in DeepSeek Harness Desktop.
综合分
29.4
GitHub 分
29.4
用户评分
—
★ Stars
1
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add cherrchen/dsh-theme-studio该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/16(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
依赖的 DSH / Cordis 模块
@deepseek-ai/schemastery@deepseek-ai/cordis@deepseek-ai/dsh-api-remotes@deepseek-ai/dsh-client-connection@deepseek-ai/dsh-client-locale@deepseek-ai/dsh-client-runtime@deepseek-ai/dsh-client-ui-settings@deepseek-ai/dsh-client-ui-slots@deepseek-ai/dsh-client-ui-theme@deepseek-ai/dsh-invariants@deepseek-ai/dsh-settings用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动
README
dsh-theme-studio 可移植的 DSH/Cordis 插件:在官方外观偏好之上叠加内置配色主题。包声明 platform:web,不依赖 Electron、Node 或 Desktop。npm 作用域 @dsh-electron/ 标识发布者,不是运行时要求。 本仓库是源码权威。DeepSeek Harness Desktop 通过 git subtree 镜像到 apps/electron/runtime/plugins/dsh-theme-studio,并从源码重新构建 Host 与 Client artifacts。同一包可在 Desktop 与标准 DSH Web Host 中不变地运行。 Stage 1 提供内置主题浏览、预览、应用、持久化与插件生命周期恢复。Theme Schema、导入导出与 Theme Creator Agent 属于后续阶段。 DSH 兼容性 本仓库的 main 分支面向 DeepSeek Harness v0.1.1-rc.2。 若你使用的 DSH 是 v0.1.2(含 v0.1.2-alpha.2),请改用 develop 分支。 安装 本包仍处于试验开发阶段,计划以 @dsh-electron/dsh-theme-studio 发布到 npm;在此之前请从本仓库安装。 DeepSeek Harness Desktop — Theme Studio 是必需内置插件。Desktop 始终从 runtime plugin inventory 挂载它。 DSH Web — 构建 lib/ 后加入 profile: pnpm install pnpm build dsh plugin --profile web add . 或直接从 GitHub 安装: dsh plugin --profile web add github:cherrchen/dsh-theme-studio dsh plugin add 会启用附带的 cordis.patch.yml 层。官方外观(浅色 / 深色 / 跟随系统)仍由 dsh-client-ui-theme 拥有。Theme Studio 只在设置 → 通用 → 主题增加一行。 使用体验 设置 → 通用中,外观在前(order = 10),主题在后(id = themes,order = 20)。 - 默认清除 Theme Studio 覆盖层,回到官方主题。 - 预览是临时的,不会写入设置。 - 应用把 activeThemeId 持久化到 Host 的 theme-studio 命名空间。 - 更改外观仍切换官方浅色/深色底色;已应用的 Theme Studio 调色板会自动跟随。 重启应用会恢复上次应用的主题。卸载插件会移除两层覆盖,ThemeRuntime 回到官方主题。 运行模型 Theme Studio 不自行呈现 CSS。它调用 ctx.theme.overrideTokens(): Official Light / Dark / System ↓ ACTIVE_SOURCE (@dsh-electron/dsh-theme-studio:active) ↓ PREVIEW_SOURCE (@dsh-electron/dsh-theme-studio:preview) ↓ ThemeSnapshot → ThemePresenter → DOM Host 设置: ui-theme.preference system | light | dark theme-studio.activeThemeId null | dsh-theme-studio.* null 表示默认。内置 id 包括 dsh-theme-studio.graphite、.oled、.nordic、.paper 与 .warm。 组装 Host 插件在存在 ctx.settings 时注册 theme-studio 设置命名空间,否则为空操作。Client 插件需要 theme、settingsScope、slots、locale、connection 与 remote。Headless profile 只加载 Host 半,不会启动浏览器 UI。 npm 发布 本包将以 @dsh-electron/dsh-theme-studio 发布到 npm。当前尚未公开发布;请将 API 与版本视为预发布。 开发 使用 Node.js ^22.19 或 >=24,以及 pnpm 11。 pnpm install --frozen-lockfile pnpm typecheck pnpm test pnpm build pnpm pack --dry-run Model Experience 无。本包贡献面向用户的 Client UI,不注册模型工具或提示内容。 KV Cache effect 无。本包不增加、替换或保留模型请求 token。 已知限制与延后工作 - 仅内置主题 — Stage 1 不导入、导出或校验公开的 .dsh-theme.json schema。 - 没有公开的 ctx.themeStudio catalog — 跨插件发现 API 属于 Stage 3。 - 没有自动对比度认证 — 内置调色板经人工检查可读性;WCAG 声明等待 Stage 2 校验器。
扫码进群