dsh-color-style: Bringing Tinta's 10 Markdown Color Schemes into DSH

Preface

Using DeepSeek Harness (DSH) for extended periods to view conversations and Markdown, the default interface color scheme may not be suitable for long-term reading, nor does it necessarily match the reading colors you are accustomed to in other tools. Changing the browser theme separately often only affects part of the area; the conversation area, sidebar, and code highlighting often operate independently. Below is an introduction to the community plugin dsh-color-style (maintainer abuluoshuai, SkillHub category “Fun Skins”): porting the ten color schemes of the Tinta Markdown reader into DSH. It uses design tokens and style sheets as a fallback to make the background and conversation rendering align as much as possible, and provides clickable scheme options and several optional extensions in the settings.

What is it

dsh-color-style is a color scheme plugin for the DSH Web client (npm package name dsh-color-style, repository abuluoshuai/DSH-color-style). The core problem it solves is: using a reading color scheme consistent with Tinta within DSH, covering the window background, conversation area Markdown (including Shiki syntax highlighting), and additionally providing session list status coloring, custom colors for user message bubbles, and a Windows taskbar flash notification when the window loses focus during a round of sessions or requires tool/approval (approval/request) or structured questions (user-questions/request). The license is MIT; package.json declares dependency DSH >=0.2.0-rc.1 <0.3.0, and the README badge indicates DSH 0.2.2-rc.1+4d6bfe.

Core Features

Color Tokens: Surface and Ink

The plugin breaks colors down into two sets of tokens:

  • Surface Group: Background, border, scrollbar, various fills. Defaults globally via overrideTokens, and have style sheet level fallbacks on html/body (!important) and #root, making the sidebar, input box, menu, popup layers, bubbles, code blocks, diff backgrounds, etc., as consistent as possible.
  • Ink Group: Text, icons, brand accent colors, syntax highlighting. The token set is fully redeclared on the conversation area root node [data-conversation-content], and Markdown elements are aligned according to Tinta rules (headings, links, inline code and code blocks, blockquotes, table grids, h1 underlines, Shiki colors, etc.).

The background defaults to following the selected scheme and is not restricted by the two “Scope Switches” below.

Ten Schemes and Settings Page

Settings navigation is registered via settings.section to an independent “Color Scheme” page. The page displays ten schemes in two columns: the left column has five light schemes (Paper, Sakura, Arctic, Meadow, Dusk), and the right column has five corresponding dark schemes (Midnight, Dracula, Forest, Ember, Abyss). The cards contain a real-time preview (background, title color, accent color and syntax color dots, code background), and clicking switches the scheme. There are two scope switches and “Restore Default Appearance” at the bottom of the page. The current scheme ID is saved in the browser’s localStorage at dsh.color-style.active. When migrating from the old tinta-themes plugin, the README explains that the selected record will be automatically migrated to this plugin.

Color Value Table (excerpted from README, derived from Tinta THEMES[]):

Scheme Light/Dark Background Main Text Accent Color
Paper (Paper) Light #F5F1E8 #3D3329 #B85A3C
Sakura Light #FDF8F8 #404040 #C44569
Arctic Light #F7FAFC #2D3748 #2B6CB0
Meadow Light #F7FAF7 #1A2F1A #2F855A
Dusk Light #FFFBF5 #553C10 #A66A12
Midnight Dark #0D1B2A #E0E1DD #38C6E4
Dracula Dark #282A36 #F8F8F2 #BD93F9
Forest Dark #0D1512 #B8C5B2 #68D391
Ember Dark #1A1614 #D4C5B9 #F1975A
Abyss Dark #000000 #EDEDED #2EE6CF

Scope Switches (Default Off)

The two switches control the Ink (text and icons), not the background scheme:

Switch Default Effect
Brand Identifier Area Off The ink in the DeepSeek Harness logo row at the top left follows the scheme’s title color (H1), and the row background is filled with the scheme’s sidebar color
Other Interface Areas Off The ink in interface areas outside the conversation follows the scheme

State is saved in localStorage and a cookie mirror (dsh.color-style.scope.brand / dsh.color-style.scope.chrome).

Session Status Background

Workspace session rows are dyed based on uiSession.sessionStatus and data from the conversation area error rows (independent of the specific color scheme): Working (yellow background + adjustable period scan light), Completed Unread (default bright green #4ade80), Waiting for Selection (orange flash), Abnormal (red background, e.g., turnErrorRow). Read items have no background; right-click to “Mark as Unread”. The four colors, alpha, scan speed, and unread set can be adjusted in settings, with keys dsh.color-style.status.colors, .alpha, .speed, .unread.

User Message Bubble Custom Colors

Background and text for historical user message bubbles ([data-message-bubble]) can be specified separately, defaulting to follow the current scheme. Path: Settings → Color Scheme → “User Message Area” at the bottom of the page. Supports a color picker or #rrggbb (can omit # or use three-digit shorthand), “Follow Theme” to restore default; saved in localStorage as dsh.color-style.userMessages.v1.

Windows Taskbar Flash (Host Side)

In addition to the color scheme, the Host process will flash the taskbar button via FlashWindowEx by calling scripts/flash-window.ps1 included in the package when the DSH desktop window is not in the foreground during a round of root session completion or requiring tool approval (approval/request) or structured questions (user-questions/request). It does not flash when in the foreground; sub-agent events can be ignored, and events are merged during the cooldown. Only Windows; macOS Dock bounce is marked as not implemented in the README.

Config is written in cordis.patch.yml under the color-style plugin’s config.taskbarFlash (only write the needed keys when replacing the entire config):

- id: color-style
  config:
    taskbarFlash:
      enabled: true
      ignoreSubagents: true
      onlyWhenUnfocused: true
      onInteraction: true
      flashCount: 0
      cooldownMs: 1500
      processName: DeepSeek Harness
      powerShellCommand: powershell.exe
      log: true

For troubleshooting, check $DSH_HOME/taskbar-flash/attention.log.

Transparency and Safety

The README states that the plugin does not inject full-screen masks, does not modify pointer-events, and the background only falls on existing elements; menus and popups still retain their original semi-transparent compositing.

Installation and Enablement

Official installation command for Web profile (original README text):

dsh plugin --profile web add dsh-color-style

Refresh the page once after installation.

For Desktop profile local development, you need to link the directory into the profile’s node_modules, declare link: dependencies and bundles in profiles/desktop/package.json, and then restart DSH; the README provides a Windows mklink /J example, and the path needs to be changed to your local plugin directory.

Typical Usage

  1. Execute the installation command above and refresh the Web client.
  2. Open Settings → Color Scheme, click on a light or dark scheme in the double-column cards; if necessary, turn on the “Brand Identifier Area” or “Other Interface Areas” switches to see if the sidebar and logo row meet expectations.
  3. If your historical bubbles in the conversation need fixed colors, set the background and text in “User Message Area” at the bottom of the settings page, or click “Follow Theme”.
  4. If using the Windows desktop version and want taskbar notifications when background tasks finish or are pending approval, configure taskbarFlash in cordis.patch.yml as per the README, and manually test the flash command with logs and PowerShell from the documentation if necessary.

After selecting a scheme, the plugin will align the appearance’s light/dark mode with the scheme itself (the README explains a maximum of 5 retries); clicking “Restore Default Appearance” will completely exit the scheme layer.

Applicable Scenarios and Notes

Suitable for users who want to obtain a reading experience close to Tinta in DSH and uniformly manage Markdown and window colors. Session status colors and taskbar flashing are suitable for scenarios where you need to quickly distinguish “Running”, “Unread”, and “Awaiting Your Approval” among a bunch of sessions.

It is recommended to view the GitHub repository source code and MIT license yourself before installing. The plugin runs under the current DSH process permissions and has no affiliation with the official app store; the community directory SkillHub Plugin Page is an independent collection site. Taskbar flashing relies on Windows and system PowerShell; it cannot flash when the window has no taskbar button in the tray; Node engine requires >=22.19.0 (see package.json).

Conclusion

dsh-color-style brings Tinta’s ten color scheme surface and ink tokens, conversation area Markdown alignment, settings page scheme selection, session status and user bubble customization, and Windows unfocused notifications into one plugin; just select a scheme from the installation and settings page to get started. Directory page: https://www.skillhub.cn/plugins/abuluoshuai/DSH-color-style; source code and full config docs: https://github.com/abuluoshuai/DSH-color-style.

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

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

Xiaoye