dsh-skin-win2000: Applying the Classic Windows 2000 Look to the DSH Web GUI

Introduction

The default Web GUI for DeepSeek Harness (DSH) features a modern flat style. If you prefer the control language of classic desktop systems—neutral gray backgrounds, gradient title bars, and 1px beveled borders—relying solely on browser themes or scattered CSS changes is difficult to unify across the page and is prone to being overwritten after DSH updates.

dsh-skin-win2000 is a community-maintained DSH client plugin that transforms the entire Web canvas into the visual specification of Windows 2000. It adopts values based on System Metrics item by item, rather than simply looking “roughly like that era.” Once installed, a control panel appears in the bottom right corner, allowing you to toggle the skin or switch to a dark paint job at any time.

What is this

The plugin is a standard DSH bundle: it includes a dsh.bundle.patch pointing to cordis.patch.yml and declares a browser-side dsh.client. The implementation is a pure JavaScript single file client.js with no build step; the host side (index.js) is responsible for providing font routing within the package.

Core Features

Metrics-Level Colors & Geometry

The README explains that the skin does not perform approximate restoration but takes values against the Windows 2000 metrics table, and uses verify-metrics.mjs to verify that the colors in the code are consistent with the table. Typical values include:

  • Control surface #D4D0C8
  • Active title bar gradient #0A246A → #A6CAF0; inactive #808080 → #C0C0C0
  • Three-level shadow grays #F5F5F5 / #808080 / #404040; selection highlight #0A246A
  • Global border-radius reset to zero, and the six --dsw-radius-* tokens forced to 0px, removing corner rounding from the token source shared by DSH components
  • 1px bevel effects using stepped inset box-shadow; buttons are raised, inputs and code blocks are sunken, and pressed states sink and shift by 1px
  • The interface contains no pure white pixels: #FFFFFF from the metrics table is replaced with #F5F5F5, and the white workspace background is replaced with #D4D0C8
  • 16px sharp corner scrollbars: gray trough, white dot pattern, raised thumb

When the “Send” and “Stop” buttons share the same button class, the skin distinguishes them via aria-label; the button turns red (#CC0000) when stopping generation.

Bottom Right Skin Panel

Upon enabling, a draggable, collapsible control panel appears in the bottom right corner (position is saved in localStorage). Main controls:

Control Function
Enable Skin Toggle the full-page skin; when off, DSH reverts to default, but the panel keeps the Win2000 look
Bitmap Font Toggle the bundled unscii bitmap font; when off, it follows your font settings in DSH
Dark Mode Default off; only changes the paint job, geometry and bevels remain unchanged (surface #1A1815 etc.), preference saved in dsh.skin.win2000
Window Sample Pop up a classic dialog sample; draggable title bar, double-click to maximize; used to view inactive title bar gradient

The title bar is draggable; the button in the top right cycles through three states: Full Panel → Title Bar Only → Small “+” → Back to Full. Double-clicking the title bar returns it to the default bottom-right position.

Fonts (Optional)

The package includes the bitmap font fonts/unsciiCJKV18.woff2 (approx. 1.42 MB), served by the host via /api/dsh-skin-win2000/fonts/unsciiCJKV18.woff2. CJKV18 is used for body text; pre/code/kbd/samp use the 8-pixel high unscii-8-tall variant to align directory trees, block characters, etc., with the height of English text. The skin itself does not override font-family (except for the Marlett symbols on the window title buttons). Elements like b/strong do not synthesize bold to prevent the bitmap font from becoming blurry.

Dark Mode

A single toggle within the panel. Uses the same metrics and borders, but the paint job changes to a warm gray palette; color-scheme is set to dark to allow native controls and scrollbars to follow. The title bar retains the navy blue gradient, and selection remains dark blue.

Installation & Activation

The DSH plugin manager supports package names, Git addresses, archives, or local paths. The following commands are taken from the repository README.

Method 1: npm Package (Recommended)

dsh plugin --profile web add dsh-skin-win2000

Package URL: https://www.npmjs.com/package/dsh-skin-win2000

Method 2: Git Repository

dsh plugin --profile web add github:lildanger/dsh-skin-win2000

Method 3: Local Path (Development)

dsh plugin --profile web add link:/path/to/dsh-skin-win2000

Since DSH 0.2.0: Profile Dependency Registration

Starting from 0.2.0, plugins not written into the profile’s dependencies will be silently skipped by the host, meaning the installation might result in no UI change. The dsh plugin add command above will register automatically; if you mount manually, you must perform the same add or equivalent registration.

Confirm whether registration was successful:

dsh --profile web --dump-config | grep skin-win2000

DSH needs to be restarted after changing dependencies, as the client manifest is calculated at startup.

cordis.patch Line

In addition to dependencies, the bundle must appear in the profile’s cordis.patch.yml (dsh plugin add usually handles this). Example for manual maintenance:

- insert:
    - id: skin-win2000
      name: dsh-skin-win2000

For the graphical interface, go to Sidebar → Plugins → Add Plugin, enter the package name or Git address, and click Enable Now after installation.

Refresh the Web page. If you see no change, use Ctrl+Shift+R to force refresh—the client bundle is subject to long-term strong caching.

Runtime environment requires Node >=20 (see engines in package.json).

Typical Usage

  1. Install and enable via one of the methods in the previous section, then open the Web GUI after restarting DSH.
  2. Turn on “Enable Skin” in the bottom right panel; the entire page should turn into Win2000 gray chrome.
  3. Turn on “Bitmap Font” if you want a retro bitmap look; you can turn it off for long reading sessions to follow DSH font settings.
  4. To compare light and dark paint jobs, toggle “Dark Mode” in the panel; preferences are written to dsh.skin.win2000.
  5. Click “Window Sample” to view the title bar, menu bar, and status bar of a standalone classic window; drag the title bar or double-click to experience maximization and position memory (dsh.skin.win2000.window).

The maintainer provides check scripts in the repository, for example:

node --check client.js
node check.mjs
node verify-metrics.mjs

When DSH is already running, you can optionally use node tools/probe-live-css.mjs to verify the injected tokens on the browser side.

Use Cases & Notes

Who it’s for: Developers who want a consistent classic Windows 2000 visual experience in the DSH Web interface or for retro theme presentations. It falls under the “Fun Window Dressing” category and does not alter Harness business logic.

How the plugin runs: Like other DSH plugins, the client script executes in the browser, while the host side provides static resources like fonts. It is recommended to browse client.js and the license before installation; the bitmap font is GPL, and the skin code is MIT.

Known Limitations (Key points from the README original):

  • Some rules rely on the component library’s CSS Module class name prefixes (e.g., [class*="bubble"]). If class names change after a DSH upgrade, corresponding styles may silently fail.
  • The global font size is set to 11px according to the metrics table; sharp corners will apply to avatars, dots, switches, etc. If you need to retain circles, you must exclude them from the global selector yourself.
  • --dsw-static-* are rewritten. If individual components use the static brightest level as text color, shallow backgrounds with shallow text may occur; bubbles etc. have text colors specified separately.
  • On Windows, Chromium may not apply -webkit-font-smoothing: none.

The community plugin directory SkillHub has no official affiliation with DeepSeek or Hithink RoyalFlush; the DSH ecosystem philosophy is “Everything is a plugin,” and this skin is an optional appearance path within it.

Conclusion

dsh-skin-win2000 transforms the entire DSH Web GUI into a metrics-aligned Windows 2000 style: gray chrome, gradient title bars, sharp corners, and 16px scrollbars. It provides instant toggling via the bottom right panel, optional bitmap fonts, and a dark mode. Installation follows the dsh plugin --profile web add command in the README; since 0.2.0, ensure both profile dependencies and patches are effective.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye