Nebula Spectrum: Aurora Canvas Theme for DeepSeek Harness

Introduction

The default Web interface styling of DeepSeek Harness (DSH) prioritizes practicality. If you’d like a richer visual hierarchy, you can fine-tune things at the theme level. Nebula Spectrum is an Aurora Canvas theme designed for the DSH Web UI, bringing the aurora canvas visual effect into the DSH interface through elements such as spectrum strips along the window edges and a glassmorphism sidebar. The theme was ported from the identically named PI-Desktop plugin and faithfully reproduces the original color palettes and details version by version.

Plugin Overview

Nebula Spectrum is a “visual reskin” plugin provided by maintainer LiuHongXuMaritime. It offers multiple visual styles for the DSH Web interface, allowing users to switch to an Aurora Canvas look while preserving the original functional layout. The plugin does not modify host files nor proactively write to user configuration. Once installed via the plugin manager, you can select different editions in the settings.

Core Features

Nebula Spectrum provides eight visual editions for DSH, split into dark and light groups, each retaining its own spectrum strip along the window edges.

Edition List

  • Four dark editions:
  • Spectrum · Indigo
  • Spectrum · Ember
  • Spectrum · Crimson
  • Spectrum · Neon
  • Four light editions:
  • Spectrum · Rainbow
  • Spectrum · Sunrise
  • Spectrum · Glacier
  • Spectrum · Rose
  • Follow Appearance: Uses Indigo when DSH is in dark mode, and Rainbow when in light mode.

Visual Elements

Each edition presents the following elements consistently across the DSH interface:

  • Canvas Aurora: The application frame is transparent, and the background aurora is rendered at the bottom of the window via a six-petal layout.
  • Glass Sidebar: The sidebar adopts a semi-transparent glassmorphism effect with colored segments and dividers.
  • Composer Spectrum Border: The input box edges feature a dual-layer spectrum border that highlights on focus.
  • Gradient Send Button: The send button uses a gradient matching the current edition.
  • User Bubbles: User message bubbles become block-shaped with an accent color and a surrounding border.
  • Code Block Strip: Code block backgrounds use the edition-specific color palette, with a spectrum strip along the top.
  • Window Title Bar (Desktop): In the desktop app, the minimize/maximize/close button strip in the upper-right corner of the window is redrawn, with colors synced to the accent color.

Installation & Activation

Nebula Spectrum is installed via the plugin manager—no manual modification of host files or configuration is required.

  1. In DSH’s plugin manager, install the plugin from this directory or the latest Release tarball.
  2. After installation, refresh the page (or restart the app).
  3. Open Settings → General, find the “Nebula Spectrum” option, and select the desired edition or “Follow Appearance.”

Once installed, the plugin saves the selected edition in localStorage["dsh.nebula-spectrum.v1"] and adds data-nebula-edition (palette) and data-nebula-scheme (native control color scheme) attributes to the document element.

Implementation Details

Nebula Spectrum does not call ctx.theme.register or ctx.theme.overrideTokens. Instead, it implements theme overrides through the following approach:

  • Under the html[data-nebula-edition="…"] scope, it redefines DSH design tokens (--dsw-alias-*, --dsw-specific-*, as well as neutral/accent --dsw-static-*, etc.).
  • It colors interface elements through stable class-name hooks: CSS module class-name suffixes (e.g., [class$="_sidebarCol"], [class$="_composerSeat"]), layout-package hardcoded class names (mP3x-q_frame, wtg9ga_root), and the code block class .md-code-block.
  • The stylesheet is mounted to <head>, and !important is applied to each custom property to ensure it takes priority over the host’s inline styles.

This implementation hands theme control back to DSH’s built-in Appearance row, maintaining full support for light/dark/system modes, while “Follow Appearance” continuously tracks the host’s settings.

Building & Syncing

If you need to adjust or extend the editions yourself, follow these steps:

  1. Edit src/skin.css to modify palettes and surface rules.
  2. Edit src/client.template.js to adjust mounting and settings-row logic.
  3. Run the build commands:
   node build.js
   npm run icon   # or: node scripts/make-icon.mjs
  1. To import a new edition set from a PI plugin package, use:
   node scripts/sync-pi.mjs "path/to/local.nebula-spectrum-0.9.0.piplug"

Notes

  • This plugin has been verified on DeepSeek Harness 0.2.2-rc.3 / desktop 0.2.2-rc.5 (Windows). If a host update changes CSS class names, the class-name hooks must be updated accordingly.
  • Each edition locks in its own color scheme. Even if the built-in Appearance row is toggled to the opposite mode, dark editions remain dark and light editions remain light.
  • Window title bar redrawing is only available in the desktop app. In a regular browser, window buttons are native browser controls and are not affected by the plugin.
  • The plugin runs with the current DSH process privileges. It is recommended to review the source code and license (MIT) before installing.
  • The plugin detail page is located at docs/DETAIL.md and is displayed in the plugin manager.

Summary

Nebula Spectrum brings the Aurora Canvas style, ported from PI-Desktop, to the DSH Web interface. Through multiple editions and the “Follow Appearance” option, it caters to visual preferences in different scenarios. Without intruding on host files, it implements theme overrides via token redefinition and class-name hooks, making it ideal for developers and users who want to enhance the interface’s visual appeal.

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

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

Xiaoye