跳到正文

oil-oil/dsh-theme

141最近提交 2026年8月14日

dsh-theme DSH 插件

dsh-theme 是一个社区插件,允许你自定义 DeepSeek Harness Web UI 的外观。它提供亮色、暗色和系统模式,九种精选调色板,以及实时控制强调色、背景、前景、表面和侧边栏颜色的功能。主题设置存储在浏览器本地,刷新后保持,并支持版本管理。

如何安装 dsh-theme DSH 插件

dsh plugin --profile web add github:oil-oil/dsh-theme

复制不会执行命令。安装 dsh-theme DSH 插件前请核对仓库和版本。

dsh-theme DSH 插件数据来源

dsh-theme DSH 插件快照日期:2026年8月16日

discovered

dsh-theme DSH 插件能做什么

  • 亮色、暗色和系统外观模式
  • 九种精选调色板:Clear Blue、Paper Green、Forest Green、Cool White、Warm Sand、Cool Violet、Soft Gray、High Contrast 和 Rose Mist
  • 实时控制强调色、背景、前景、表面和侧边栏颜色
  • 独立的 UI 和代码字体族及字号调整
  • 版本化的浏览器本地主题设置,刷新后保持不变

dsh-theme DSH 插件适合哪些场景

  • 个性化 DeepSeek Harness 界面,匹配个人视觉偏好
  • 通过高对比度主题提高可读性,满足无障碍需求
  • 应用自定义配色方案以保持品牌一致性
  • 根据环境光线在亮色和暗色模式间切换
  • 在不重启 Harness 的情况下快速尝试不同调色板

dsh-theme DSH 插件适合谁

  • 希望自定义 DeepSeek Harness Web UI 外观的用户
  • 需要高对比度或色盲友好主题以提高可访问性的开发者

dsh-theme DSH 插件的限制

  • 主题值存储在当前 Harness 来源的浏览器存储中,不会跨浏览器或不同来源的配置文件同步
  • 不支持组件圆角定制,因为 Harness 没有暴露全局圆角令牌,且插件有意避免脆弱的全局 CSS 覆盖

dsh-theme DSH 插件的仓库 README 摘录

以下文字摘自 dsh-theme DSH 插件的上游仓库 oil-oil/dsh-theme 的 README,版权归原作者,仅作引用。

English | <a href="./README.zh.md">中文</a> </p> <p align="center"> <a href="https://github.com/oil-oil/dsh-theme/actions"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/oil-oil/dsh-theme/ci.yml?style=flat-square&amp;label=CI"></a> <a href="./LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-3167E3?style=flat-square"></a> <img alt="DeepSeek Harness" src="https://img.shields.io/badge/DeepSeek%20Harness-0.1.0--rc.6-3167E3?style=flat-square"> </p> `dsh-theme` is a standalone community plugin for customizing the DeepSeek Harness Web UI. Changes are applied immediately and restored on refresh in the current browser. ## Features - Light, dark, and system appearance modes. - Nine curated palettes: Clear Blue, Paper Green, Forest Green, Cool White, Warm Sand, Cool Violet, Soft Gray, High Contrast, and Rose Mist. - Live accent, background, foreground, surface, and sidebar color controls. - Separate UI and code font families. - Separate UI and code font sizes. - Versioned browser-local theme settings that survive refreshes. ## Install ```sh npx @deepseek-ai/dsh plugin --profile web add github:oil-oil/dsh-theme ``` Restart the `

阅读完整 README仓库许可: MIT

dsh-theme DSH 插件常见问题

如何安装 dsh-theme?

在终端中运行 `npx @deepseek-ai/dsh plugin --profile web add github:oil-oil/dsh-theme`,然后重启 web 配置文件,打开设置 → 外观即可看到插件选项。

关闭浏览器后主题设置会保留吗?

会。主题值存储在当前 Harness 来源的浏览器本地存储中,只要你不清除站点数据,刷新页面或重启浏览器后设置都会保留。

dsh-theme 支持多浏览器配置文件或同步吗?

不支持。设置按来源存储在本地,不会跨浏览器、设备或不同来源的配置文件同步。你需要为每个实例单独配置。

除了九种预设调色板,我能添加自定义颜色吗?

可以。插件提供强调色、背景、前景、表面和侧边栏的实时颜色控制,你可以独立调整这些值,不限于预设调色板。

dsh-theme 会影响 DeepSeek Harness 的性能吗?

插件使用官方的 Harness 主题和 Slot API,应用更改时不会产生大量开销。设置存储在本地并在页面加载时应用,因此性能影响很小。