Introduction

The default interface of the DeepSeek Harness (DSH) Web GUI may not meet the aesthetic or functional needs of every development scenario. The dsh-stzb plugin provides a custom theme scheme for DSH Web, emulating two styles: dark “Iron-Blood Battlefield” and light “Ink-Wash Classical Style”.

What Is This

dsh-stzb is a pure client-side plugin maintained by weijunliang23. It changes the interface appearance by overriding design tokens, has no React dependency, and does not include any game assets or official resources. All visual assets are generated with SVG/CSS code, with no third-party images and no copyright risk.

Core Features

  • Token-level reskinning: Overrides the full set of --dsw-* design tokens (about 115 items) and supports light/dark color palettes.
  • Global styles: Song-style serif fonts, rice paper/ink-washed canvas textures, and classical-style scrollbar and selection styles.
  • Decorative layer: Includes a top bronze-gold line, a top-left meander corner ornament, a top-right “Shuai Tu Zhi Bin” seal, and a full-screen ink-toned vignette. All decorative layers are set to pointer-events: none and do not affect interaction.
  • System adaptation: Automatically switches palettes according to system preferences (light/dark/follow system).

Installation and Enablement

The installation command is as follows:

dsh plugin --profile web add github:weijunliang23/dsh-stzb

It takes effect immediately after installation, with no changes required to the DSH core.

Typical Usage

  • Preview effect: In the project root directory, double-click preview.html to view the skin effect in a browser (including light/dark/follow-system switching).
  • Development modifications: After modifying src/tokens.js or src/skin.css, run npm run build to regenerate.

Technical Principles

The plugin uses an architecture with zero React dependencies. It stacks token layers via ctx.theme.overrideTokens and, combined with injected DOM nodes and pure CSS, implements the decorative layer. The host scans loader entries and injects a guide image, then writes the active theme’s tokens to inline CSS variables on body.

Use Cases

It is suitable for DSH Web users who want to quickly switch interface styles without modifying the DSH core code, or for custom theme development.

Conclusion

Plugin address: weijunliang23/dsh-stzb