dsh-theme: live palettes and typography for DeepSeek Harness
English | 中文
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.
- Fifteen curated themes, including five reading-oriented themes and the code-oriented Carbon Code theme.
- Every preset applies its color hierarchy, UI font, code font, and type sizes as one visual profile.
- 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
npx @deepseek-ai/dsh plugin --profile web add github:oil-oil/dsh-theme
Restart the web profile, then open Settings → Appearance.
0.2.0 已适配 Harness 0.1.2-rc.1(DSH Desktop 2.0.5 内置版本)。旧版插件出现 dsh-client-runtime/client 加载错误时,请更新插件后重启。安装、更新和版本核对见兼容说明。
Development
pnpm install
pnpm test
pnpm typecheck
pnpm build
For local development:
npx @deepseek-ai/dsh plugin --profile web add ./dsh-theme
Scope
The plugin uses the official Harness Theme and Slot APIs. Font families and semantic font sizes can therefore be changed without replacing Harness components.
主题值保存在当前 Harness 地址对应的浏览器存储中,不会同步到其他浏览器或不同地址下的 profile。这是插件选择的保存范围。
Harness does not currently expose a global radius token. dsh-theme intentionally avoids fragile global CSS overrides, so component radius customization is not included.
The new reading palettes reinterpret color and tone as Harness light/dark semantic tokens. They do not copy Typora CSS, DOM selectors, or font files, and use independent display names.
Theme modeling and compatibility rules are documented in docs/theme-design.md.
License
MIT
This is an independent community project and is not affiliated with or endorsed by DeepSeek. The DeepSeek Harness logo is sourced from the official DeepSeek Harness repository and is used only to identify the compatible platform.