dsh-plugin-appearance: Customize DSH Desktop Colors and Brand Elements via the Official Theme Channel

Preface

DeepSeek Harness (DSH) desktop comes with a built-in light and dark theme, along with a fixed brand presentation for the sidebar and the session home screen. If you wish to change the workbench color scheme or apply your own logo and name line without modifying the host installation directory or injecting global CSS, the common approach is to edit style files or apply patches—which are difficult to maintain and prone to being overwritten during host updates.

Below is an introduction to the community plugin dsh-plugin-appearance (maintainer gh-gongjin). It utilizes the host’s public ctx.theme overlay and brand slot, recording selections within ctx.storageDomain. Upon initial mounting, the interface retains its official look; overlays or placeholders are applied only after the user selects options within the panel.

What is this?

dsh-plugin-appearance is an appearance-type plugin for DSH, categorized as “Fun Dress-up” in the SkillHub community directory. The package version is 0.0.2, licensed under MIT, with zero third-party dependencies.

In a nutshell: It applies 8 built-in color skins (plus a “No Overlay” default option) through the official theme channel; it replaces sidebar icons, session home screen icons, and name lines via the brand slot (using six built-in logos or user-uploaded images). It does not write to host files, inject global CSS, or modify system settings.

Core Features

Color Skins

  1. The color section offers “No Overlay” + 8 built-in skins. “No Overlay” is selected by default when entering the panel, meaning no changes are made to the host color scheme (actual runtime reading applied:0).
  2. After a user selects a skin, the plugin submits CSS variable overrides to the host via ctx.theme. Each skin overrides 28 tokens under both Light / Dark modes (24 --dsw-alias-* and 4 sidebar-specific --dsw-specific-sidebar-*); the host has 128 semantic tokens in total, with the rest retaining built-in values. The panel text clarifies the override scope.
  3. Color cards feature a miniature preview of the skin. Footnotes can display “Changed 28 colors” and WCAG body contrast readings (omitted if uncalculated; numbers turn red if below 4.5).
  4. The built-in “Settings → General → Appearance” for Light / Dark / System is still controlled by the host; this plugin’s color layer overlays on top and switches according to the light/dark mode.

Logo and Name Line

  1. Sidebar icon slot and Session home screen icon slot: Can be chosen between “Original”, six built-in logos, or a local image; custom images occupy the brand slot with priority -1.
  2. Sidebar name line: The “Source” dropdown offers Official Wordmark / Custom Text / Custom Image. Text and images are stored in separate fields; switching the source does not delete the other. If an image is selected but not yet uploaded, the interface degrades gracefully to show the entered text or official wordmark, with a hint “Image not selected yet”.
  3. Image upload: Supports PNG / JPEG / WebP / SVG, etc. (list derived from whitelist constants). Original images are relaxed to ≤10MB. The browser automatically center-crops to a square, scales down to 512px, and compresses to ≤200KB before submission (the host still performs 200KB and type validation). Icon slots and the name line support file clicking, dragging, and Ctrl+V pasting after focusing.
  4. The page header provides “Restore All to Official”: Resets color, logo, and name line in one click; the button is grayed out if already consistent with the official settings.

Storage and Architecture Constraints

Selections are written to the host storage domain appearance_prefs (tables prefs / logo). The plugin relies on official client injection points such as @deepseek-ai/dsh-client-ui-theme, renderer, and sidebar. The host side does not import @deepseek-ai/* packages. The README documents successful mounting and operation on desktop 0.2.0-rc.2; fully quitting and restarting dsh is required to load the new client bundle (whether hot-reload is sufficient is not verified in the README).

Installation and Activation

Method A: Official CLI (web profile)

The CLI uses pnpm internally; ensure pnpm is in your PATH. The installation command is:

dsh plugin --profile web add github:gh-gongjin/dsh-plugin-appearance

You can also point to a downloaded plugin directory on your local machine:

dsh plugin --profile web add <absolute path to this repo>

Method B: DSH desktop plugin panel

Fill in the actual path of the local plugin directory in the desktop’s plugin panel (placeholder conventions align with installPathTemplateHint in the official asar). The app will automatically run pnpm link and write to the profile.

Note: The command line dsh plugin --profile desktop … is rejected by the official tool (profile "desktop" is managed exclusively by the Electron application). If you need to manually modify the desktop profile shape, refer to the cordis.yml comments in the repository. Please back up package.json before making changes.

Typical Usage

  1. After installing and enabling the plugin, open the “Desktop Appearance” panel provided by the plugin in DSH (route prefix /appearance, registered by index.js).
  2. Change Colors: Click a skin card in the color section (the entire card acts as a single-select entry); to restore the built-in color scheme, select “No Overlay” or click “Restore All to Official” in the header.
  3. Change Logo: Click a built-in square or “Select Image” in the logo section; for the name line, select Text or Image in the Source dropdown and follow the input boxes / upload controls that appear.
  4. The header summary chips provide feedback on the current color scheme, light/dark mode, and logo status (including a screen-reader-friendly aria-live region).

Developers can run offline tests within the repository:

npm test

Live runtime read-only verification (requires the dsh process to be running):

node test/api-shape.mjs

Scenarios and Notes

Who it is for: Users and teams who use DSH desktop long-term and wish to personalize the workbench colors and sidebar/home screen branding within official extension points, without touching host files or global styles.

What it cannot do (explicitly listed in README): Desktop wallpapers, background images, fonts; window title bar names (build-time constant DSH_CLIENT_TITLE); exe and tray icons (located in the installation directory, easily restored by updates).

Security and Permissions: The plugin runs with the permissions of the current dsh process and can read/write its declared storage domains and register themes and brands via host APIs. Before installation, you should read the GitHub Source Code and the MIT license to judge whether you trust the maintainer and the code paths.

Ecosystem Note: DSH adheres to “Everything is a Plugin”; SkillHub is a community directory site and has no official affiliation with DeepSeek / High-Flyer. This article does not represent an official app store entry.

Conclusion

dsh-plugin-appearance consolidates skin and logo changing into the host’s existing theme overlay and brand slot: zero changes by default, instant effect upon selection, with choices stored in the host archive. If you want to perform lightweight “Fun Dress-up” on DSH Desktop, you can obtain the plugin from the community directory or GitHub, install it via the CLI or desktop panel methods described above, and operate within “Desktop Appearance”.

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

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

Xiaoye