Introduction¶
The default theme of DeepSeek Harness typically uses a uniform blue tone. During extended usage or when distinguishing between different content types, visual focus can easily become scattered. XEN THEME provides a set of custom color schemes based on the ANSI palette, supporting light, dark, and high-contrast modes, allowing developers to switch interface styles according to their context.
Plugin Overview¶
XEN THEME is a theme customization plugin for DeepSeek Harness, maintained by user xenwithcode. It addresses the issue of a monochromatic interface by customizing the color palettes for panels, cards, code blocks, and scrollbars, while maintaining compatibility with system appearance settings.
Core Features¶
Three Display Modes¶
- Dark Mode: Background is deep blue-black (
#101113), primary text is a blue-gray tone (#D0E0F0), panels use gray tones (#4a4253), and code blocks use the ANSI palette to highlight keywords, functions, strings, etc. - Light Mode: Background is light pink (
#FFF0F5), primary text is dark (#101113), surfaces use a creamy pink, retaining the same color family as dark mode but with reduced saturation. - High-Contrast Mode: Replaces mid-range tones with extreme colors—text approaches white, blue becomes brighter, and borders become more prominent—ensuring readability in low-light or high-demand scenarios.
ANSI Palette Support¶
The plugin maps the full ANSI 16-color palette to CSS variables --xen-ansi-0 through --xen-ansi-15, and applies the palette to code highlighting via --shiki-* variables. This ensures code block colors are consistent with the overall interface style.
Full Interface Element Coverage¶
The plugin maps 118 interface tokens, including all --dsw-alias-* and --dsw-specific-*, covering panels, menus, diff views, scrollbars, and cards, eliminating any residual default blue from the interface.
Editable Configuration Files¶
Theme configuration is driven by three files:
- theme.json: Interface color palette
- syntax-highlighting.json: Code highlighting palette
- styles.css: Custom styles
The Host reads these files upon page load. After modifications, simply refresh the page to apply changes—no reinstallation required.
Command-Line Quick Switching¶
/xen: Toggle XEN THEME on/off/xen-contrast: Toggle between high-contrast modes
Font Settings¶
- Interface uses the system default sans-serif font
- Code blocks use JetBrains Mono, Fira Code, or Cascadia Code
Installation & Activation¶
Install from GitHub¶
Run in the terminal:
dsh plugin --profile desktop add github:xenwithcode/xen-theme
If the current environment’s pnpm does not recognize the github: alias, you can use the full URL:
dsh plugin --profile desktop add git+https://github.com/xenwithcode/xen-theme.git
Install from a Local Folder¶
Navigate to the directory containing package.json and run:
cd /ruta/a/xen-theme
dsh plugin --profile desktop add "$(pwd)"
Install in DeepSeek Harness Desktop¶
- On the GitHub repository page, click Code → Download ZIP and extract the archive
- Open DeepSeek Harness, go to Plugins → Add plugin
- Select the extracted
xen-themefolder (the one containingpackage.json) - Refresh the page; the plugin will activate automatically
Verify Installation¶
- Open Plugins in the sidebar and confirm XEN THEME is selected
- Refresh the browser page to ensure styles load correctly
- Go to Ajustes → General—you should see the XEN THEME settings row
Usage¶
Toggle Theme State¶
- Type
/xenin the chat and select from the menu. The first execution turns XEN THEME off; a subsequent execution turns it back on - In Ajustes → General → XEN THEME, check/uncheck Aplicar XEN THEME
The theme state is stored in the browser’s localStorage and syncs with other plugins’ view preferences.
Enable High Contrast¶
- Type
/xen-contrastin the chat, or check Alto contraste in the XEN THEME settings row
High-contrast mode is only available when XEN THEME is active. If you disable XEN THEME, the high-contrast setting is preserved and will take effect again upon reactivation.
Uninstall the Plugin¶
dsh plugin --profile desktop remove xen-theme
After uninstallation, the interface reverts to the DSH default theme. Adjusted font sizes (via the 16/15 buttons in Ajustes → Apariencia) are not affected.
Use Cases & Notes¶
- Ideal for developers who need to differentiate content types, use the same environment for extended periods, or have specific color preferences
- The plugin runs with the permissions of the current DSH process. Review the repository source code and license before installation
- The plugin has no external package dependencies, does not execute install scripts, and makes no network requests
- DSH version requirement:
>=0.2.2-rc.3 <0.3.0
Summary¶
XEN THEME provides a complete customizable theme solution. Through the ANSI palette and editable configuration files, users can precisely control interface colors. The three modes cover scenarios ranging from daily use to high-contrast requirements, and the dual switching methods via command line and UI settings balance efficiency with convenience. For DeepSeek Harness users who want to move beyond the default blue tone and pursue a personalized interface, this is a practical tool.
- Directory page: https://www.skillhub.cn/plugins/xenwithcode/xen-theme
- GitHub: https://github.com/xenwithcode/xen-theme