Introduction¶
The DSH (DeepSeek Harness) Web UI ships with a single, fixed visual style by default. For developers who prefer to customize the look of their development environment, there’s a notable lack of flexibility. This plugin adds a “Theme palette” row under Settings → General, allowing you to switch the interface color scheme directly within the Web UI—no need to manually modify code or configuration files.
Plugin Overview¶
This is a feature plugin that provides a theme palette selector for the DSH Web UI, maintained by raheemmi. It introduces a new palette selector row in the settings panel, letting users toggle between 9 preset color schemes while supporting combined control of dark/light mode and theme palette.
Core Features¶
Palette List¶
The plugin ships with 9 built-in theme palettes:
- Default: Preserves the DSH default unthemed appearance
- Ocean: Cool blue tones
- Forest: Deep green tones
- Sand: Warm neutral tones
- Rose: Pink tones
- Violet: Purple tones
- Ember: Warm orange tones
- Obsidian: Near-black neutral with violet accents, inspired by the Obsidian editor theme
- Cyberpunk: Neon HUD style featuring a glowing grid background, cyan/magenta accents, and a custom gradient brand mark
Special Effects of the Cyberpunk Theme¶
The Cyberpunk palette includes two additional components that only take effect when selected:
-
Backdrop: The plugin’s bundled stylesheet renders two layers of content via the
body::beforeandbody::afterpseudo-elements, including neon horizons in cyan, violet, and magenta, a 44px HUD grid, scanlines, and a soft vignette overlay. Since surface tokens are semi-transparent, panels float above the backdrop. When Appearance is set to light mode, a pale daytime variant is used instead. -
Brand Mark: An original SVG badge (gradient hexagon, diamond core, HUD tick marks, cyan glow) replaces
sidebar.brand.markand fillsconversation.hero.brand.mark. The sidebar mark occupies a single slot with a default priority of 0; this plugin registers a mark at priority -1 to override the default. When switching to another palette, the default mark is automatically restored.
How It Works¶
client.jsregisters a palette selector row insettings.general.item(order 11.5, positioned after Appearance and font size). Each palette displays a color swatch preview.- Selecting a palette overlays a layer of
ctx.theme.overrideTokens()on top of the active light/dark theme, re-coloring interface elements (surfaces, borders, text, sidebar, menus, code blocks, links, focus rings) using--dsw-*alias tokens. Each palette contains the same token set for both color modes, so the Appearance light/dark/system selection still takes effect. - The selection is stored in the plugin’s own Host configuration (
palette, a volatile text field), read and written viactx.configForms.get('theme-palette'). The configuration persists across restarts, and falls back to the default value if writing is rejected.
Installation & Activation¶
Installing via DSH Web UI¶
- Open the DSH Web UI
- Navigate to Plugins → Add plugin
- Paste the absolute path to the plugin directory
- After installation, toggle the bundle to enable the plugin
- The Theme palette row will appear in Settings → General, below Appearance
Installing via Desktop CLI¶
dsh plugin --profile desktop add /absolute/path/to/dsh-theme-palette
When installed from a local directory, the installation type is link:. After modifying client code, simply refresh the page to see changes—no reinstallation required.
Typical Usage¶
- Open Settings → General
- Find the Theme palette row below the Appearance row
- Click a color swatch preview and select a palette
- The interface immediately applies the new color scheme while preserving your Appearance light/dark mode setting
- If you select Cyberpunk, you’ll see the background grid and neon effects, along with a custom brand mark in the sidebar and conversation area
Use Cases & Notes¶
Suitable for developers who need a unified interface style or want to customize the look of their development environment for team or personal projects. The plugin runs with the permissions of the current DSH process; it is recommended to review the source code and license before installing.
Conclusion¶
By adding a theme palette selector to the DSH Web UI, this plugin allows developers to quickly switch interface color schemes without modifying any code. The 9 presets cover a wide range of styles—from clean and minimal to full cyberpunk. The Cyberpunk theme in particular includes a custom backdrop and brand mark, making it ideal for scenarios requiring a highly distinctive interface.
- Plugin directory page: https://www.skillhub.cn/plugins/raheemmi/dsh-theme-palette
- GitHub: https://github.com/raheemmi/dsh-theme-palette