DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

zhang24xiao /

zhang24xiao/dsh-skin-studio

Verified

Five-skin visual style studio for the DeepSeek Harness web GUI — pixel terminal, neon night, paper ink, frosted glass, moss, plus native reset. · DSH Web 视觉风格工坊

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@67a89dff

dsh-skin-studio

A visual-style studio for the DeepSeek Harness web GUI. A palette button in the left sidebar footer opens a picker with five full-interface skins — pixel terminal, neon night, paper ink, frosted glass and moss — plus a one-click return to the native appearance.

The choice is stored in the plugin's own settings namespace, so it survives a reload and follows the profile across browsers and devices.

Features

  • One sidebar entry. A sidebar.footer.action row labelled Visual style (a 36px palette icon in the collapsed rail) opens the picker above the trigger.
  • Five deliberately different skins.
    • Pixel terminal — dark phosphor-green CRT, monospace type, square corners, hard offset shadows and a faint scanline overlay.
    • Neon night — near-black violet, cyan/magenta accents, glow borders and a larger radius.
    • Paper ink — warm rice paper, cinnabar accent, serif interface type and printed offset shadows.
    • Frosted glass — cool pastel gradient, translucent surfaces, saturated background blur.
    • Moss — deep forest green, chartreuse accent, warm amber secondary and soft rounded surfaces.
  • Whole-interface changes. Each skin replaces the alias-token palette used by the shell, chat, composer, menus, tooltips, scrollbars, code blocks and settings, then adds the typography, texture and geometry that tokens cannot express.
  • Native appearance is untouched. The plugin uses a token override layer instead of changing the user's light/dark/system preference. Selecting Native removes the layer and restores the presenter's own theme.
  • Instant switching. No reload, no plugin remount.
  • Keyboard and pointer friendly. Enter/Space select; outside click and Esc close; the trigger carries the current skin in its tooltip.

Install

From GitHub

dsh plugin --profile web add github:zhang24xiao/dsh-skin-studio

Refresh the web GUI. The Visual style row appears in the sidebar footer, directly above the account row. The repository commits its built lib/ and client/ output, so a GitHub install needs no build permission and no allowBuilds entry.

From a local checkout

cd dsh-skin-studio
npm install
npm run build
dsh plugin --profile web add /absolute/path/to/dsh-skin-studio

From npm (after publishing)

dsh plugin --profile web add dsh-skin-studio

Update from GitHub

Pull the latest commit into the profile:

dsh plugin --profile web update dsh-skin-studio

Refreshing the page is enough when the running server's client-bundle cache notices the changed file; restart dsh web if the old bundle is still served. The add command alone does not move an existing git dependency — it reuses the lockfile resolution — so use update for revisions.

If update ever reports nothing to do, remove and re-add the bundle:

dsh plugin --profile web remove dsh-skin-studio
dsh plugin --profile web add github:zhang24xiao/dsh-skin-studio

To publish a new revision, bump version, run npm run check (which rebuilds both halves), and commit src/, lib/, client/, package.json and package-lock.json together.

Use

  1. Click the palette button in the left sidebar footer.
  2. Pick a skin. The whole interface changes immediately; the picker stays open so you can compare.
  3. Choose Restore native appearance (or the Native row) to return to the shipped DeepSeek Harness look.

The current skin is marked with a small accent bar on the sidebar row and a check in the picker.

How it works

  • Palette: src/shared/skins.ts owns the five palettes. Each one is expressed as { light, dark } token pairs so the same data can be projected onto the theme service's overrideTokens layer. The layer is replaced on every switch, so unregistering is exact.
  • Scheme: skins are scheme-locked by design (pixel/neon/moss are dark, ink/glass are light). The store asserts the skin's color-scheme and, for dark skins, body[data-ds-dark-theme] after every theme repaint. The user's native preference is never written.
  • Texture and geometry: one injected stylesheet under html[data-dsh-skin="…"] adds scanlines, paper grain, blur, glow, corners and the few hard-coded surface shapes in the shell. It is removed with the plugin.
  • Persistence: the dsh-skin-studio settings namespace stores one volatile skin field. A localStorage boot cache paints the last choice before the host settings round-trip completes; the host value wins when it arrives.
  • No host routes and no secrets. The host half only exports the settings schema.

Package surface

Item Value
Package / plugin name dsh-skin-studio
Settings namespace dsh-skin-studio (field: skin)
Browser slot sidebar.footer.action
Bundles lib/index.js (host), client/client.js (browser)
DSH >=0.2.3-alpha.2

Develop

npm install
npm run typecheck
npm run test        # builds both halves, bundles test internals, runs node --test
npm run check       # typecheck + test

The live verification used during development is not part of the npm test suite: it boots headless Chromium against a running DSH web profile, applies all five skins, checks the computed body/sidebar/composer values, switches to a phone viewport, opens the drawer, collapses the sidebar to the rail, and confirms the choice survives a reload.

Known limitations

  • Skins are scheme-locked. Pixel, neon and moss are dark; ink and glass are light. The Appearance row's light/dark/system choice still stores normally, but a skin's own scheme paints over it while active.
  • Glass uses backdrop-filter. Very old browsers or GPU-less environments may render the translucent surfaces without blur; the palette remains intact.
  • Web profile only. The browser half is declared for platform: "web"; terminal and other non-web compositions get no UI.
  • The picker is not in the official Plugins settings page. Configuration is intentionally one field and one sidebar surface; if you need a settings card, add a plugins.bundle.config registration keyed by the package name.
  • No custom skin authoring. The five palettes are compiled in; adding one means adding a SkinDefinition to src/shared/skins.ts.

License

MIT.

—/ 5

No ratings yet

Verified DSH bundle

Commit 67a89dffd1ec

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout