Skip to main content
S

dsh-protocol-theme

shkelqiusa-hub/dsh-protocol-theme

Calm dark theme for DeepSeek Harness: animated silk wave, hairlines, Inter, an opaque composer, a hide-the-dolphin switch, and styling for a prompt button row that other plugins mark up with data attributes.

Install

dsh plugin --profile web add github:shkelqiusa-hub/dsh-protocol-theme

README

dsh-protocol-theme

A calm dark theme for DeepSeek Harness 0.2.x: an animated silk wave, hairlines, Inter, an opaque composer and styled prompt chips. DSH grey and DeepSeek blue stay intact.

Start screen

This is a fork of version 1.1.1 by Axi (MIT). What changed is listed in CHANGELOG.md. German documentation: README.de.md.

Requirements

  • DeepSeek Harness 0.2.2 or newer (tested with 0.2.2-rc.5)
  • Dark mode: Settings → General → Appearance → Dark. In light mode the theme does nothing.
  • No network access: nothing is fetched at runtime; Inter is embedded (SIL OFL 1.1, assets/Inter-OFL.txt).

Install

  1. Put dsh-protocol-theme-1.2.0.tgz somewhere permanent — the path stays in your profile configuration.

  2. Install it (desktop is the profile name):

    dsh plugin --profile desktop add "C:\path\to\dsh-protocol-theme-1.2.0.tgz"
    
  3. Restart DeepSeek Harness → Settings → Protocol theme.

Update: run dsh plugin --profile desktop remove dsh-protocol-theme first, then add the new file. Adding the same version twice is rejected by the package manager.

Remove: dsh plugin --profile desktop remove dsh-protocol-theme

Settings

SwitchEffect
Enable Protocol themeOff restores the original look immediately, no uninstall needed.
Depth"Original grey" keeps DSH background colours exactly; "Protocol black" goes deeper.
Hide the dolphin on the start pageHides [data-home-whale] (a DSH element, not a plugin).

All three only apply while the theme is enabled and dark mode is on.

Hooking up the prompt bar

The theme styles a row of buttons above the composer if a plugin marks it up like this:

PositionAttribute
Container of the rowdata-protocol-chipbar
Individual buttondata-protocol-chip
Active buttonaria-pressed="true"

Without those attributes a fallback applies: a container whose class name contains "praefix", "prefix", "chipbar" or "chips", plus the buttons inside it. The attribute route is the supported one.

The theme does not reserve space for that row — the plugin that renders it must do so, for example with [data-composer-card]:has(.dsh-pp-wrap) { padding-top: 38px }. Otherwise the chips sit on top of the placeholder text.

Build from source

node scripts/build.mjs     # writes lib/client.js from src/*
npm pack                   # writes dsh-protocol-theme-1.2.0.tgz
  • Colours: src/tokens.json (variants original and deep)
  • Rules and shapes: src/theme.css
  • Wave: src/wave-animiert.svg (inlined as base64)
  • Settings page UI: src/client.template.js

Stability: what the theme depends on

Two kinds of selectors, with different durability:

Robust — data attributes set by DSH (they break when the UI is rebuilt, not on every build): data-slot, data-phase, data-home-whale, data-composer-card, data-composer-input, data-composer-placeholder, data-conversation-content, data-conversation-scroll, data-window-drag, data-chat-flow-kind, data-message-bubble, data-code-block-banner, data-menu-material, data-radix-popper-content-wrapper, data-sidebar-workspace-header.

Fragile — DSH class names (matched by substring, e.g. [class*="_sessionRow"]): _sidebarCol, _root, _logoRow, _brandName, _newSession, _panelRow, _panelGlyph, _sectionLabel, _sessionRow, _projectRow, _footArea, _centerCol, _mainPanel, _body, _scrollBody, _headline, _titleGroup, _fish, _previewBadge, _workspace, _seat, WorkspaceTrigger, _add, _primary, _standardControls, _bubble.

Those names come from the CSS-module build of DSH. If DSH renames them, individual rules stop matching — that spot looks different, nothing breaks. The package contains no hash selectors such as GrGSL_card.

Colour variables

Of the 85 variable names in src/tokens.json, the DSH runtime documents only 14 (including --dsw-alias-bg-base, --dsw-alias-bg-layer-1, --dsw-alias-border-l1, --dsw-alias-label-primary). The others were checked against the running UI, but not against the application's own stylesheets; an unknown name has no effect and does no harm.

What was tested

Measured on 2026-11-30, DSH 0.2.2-rc.5, Windows 11, 1920 × 1080 at 125 % scaling, dark mode:

Content widthRowLinesRow left edge = placeholder left edgeGap row → textComposer height
746 px580 px wide, 24 px high149 = 4940 px164 px
886 px580 px wide, 24 px high184 = 8440 px164 px
1536 px580 px wide, 24 px high1311 = 3116 px130 px

The extra 40 px at narrow widths comes from a deliberate reserve in the prefix plugin (@media (max-width: 1240px) { padding-top: 72px }): it prevents the chips from ever landing on the text.

Not tested: 4K and multi-monitor setups, light mode, the "Original grey" depth at all three widths, runtime cost of the SVG animation.

Licence

MIT — original work Copyright (c) 2026 Axi. Changes in this version: see CHANGELOG.md. The licence text in LICENSE is unchanged and must ship with any copy, together with the copyright notice.

Related plugins