Preface¶
The DeepSeek Harness (DSH) Web interface supports functionality extension through plugins. For developers accustomed to specific visual styles, built-in themes often fail to meet their needs. dsh-plugin-dracula-color-theme is a third-party theme plugin designed to port the classic Dracula color scheme fully into the DSH Web GUI.
Plugin Overview¶
- Plugin Name:
hoodyhuo/dsh-plugin-dracula-color-theme - Core Positioning: DSH Web GUI theme plugin, applying the official Dracula color scheme, covering both alias and specific design token layers along with shiki syntax highlighting, and providing system theme takeover functionality.
- Maintainer: HoodyHuo
- License: MIT
Core Features¶
-
Comprehensive Color Coverage
The background colors adopt the official VS Code layered standard (title bar, sidebar, main content, overlays), with separate mappings for specific-level elements such as the sidebar, session bubbles, input boxes, menus, etc. -
Code Highlighting
For thecss-variablestheme based onshiki, 14 variables have been rewritten to align with the Dracula syntax palette (e.g., keyword pink, function green, constant purple, string yellow, etc.). -
Guard Mechanism
Since third-party theme IDs are not persisted, the host may fall back to built-in preferences when loading settings, pushing updates, or reconnecting. This plugin prevents fallback through a three-layer mechanism:- Body inline tokens (highest cascade priority);
- Monitoring
theme/changeevents; - 1.5-second polling.
-
Settings Toggle
In Settings → General, there is a toggle labeled “Take Over System Theme Preferences (Dracula)”. When enabled, the plugin takes over the theme; when disabled, it restores the built-in light/dark toggle logic.
Installation and Activation¶
Installing this plugin requires administrator privileges or write access to the target profile.
- Run the installation command:
dsh plugin --profile web add dsh-plugin-dracula-color-theme
-
After installation completes, you must restart
dsh web(or refresh the page if configured withpatchReload: live) for the plugin to take effect. -
In the Web UI, navigate to “Settings → General”.
- Enable the “Take Over System Theme Preferences (Dracula)” toggle.
Maintenance and Uninstallation¶
Update
If using the Git clone method, the update command is as follows:
git -C <clone-directory> pull
You can also simply re-run the installation command to update to the latest version.
Uninstall
dsh plugin --profile web remove dsh-plugin-dracula-color-theme
Notes¶
- Restart Required: The plugin will not load unless you restart the
dsh webapplication after installation. - Persistence Behavior: Third-party theme IDs are not persisted; the host will revert to built-in preferences when loading settings. This is expected behavior, and the plugin handles this through its guard mechanism.
- License: Open-sourced under the MIT License.
Summary¶
dsh-plugin-dracula-color-theme provides a complete Dracula color scheme, solving the issue of DSH’s default theme not matching personal aesthetic preferences. By covering design tokens and syntax highlighting, it offers developers an immersive coding environment. For more details, please refer to the project homepage or plugin directory.