dsh-leafy-skin: Eye-Friendly Green Skin for DeepSeek Harness

Introduction

When developing and debugging agents, staring at the default white or black interface for extended periods can easily cause visual fatigue. dsh-leafy-skin is a theme plugin for the DeepSeek Harness (DSH) Web GUI, designed to reduce visual strain and provide a more comfortable editing environment through a unified green color scheme and layered design.

Plugin Overview

This plugin is maintained by user badai147 and is released under the MIT license. It is positioned as a “fun customization” plugin that essentially overlays a style layer on top of the official DSH Web GUI theme. After installation, it automatically adapts to light, dark, and system-following modes without requiring manual color switching.

Core Features

  1. Layered Greens: Instead of filling with a single green, the plugin constructs a visual hierarchy using misty green canvases, raised panels, and deeper sidebars. Light mode uses emerald accents, while dark mode uses mint.
  2. Comfort-Driven Construction: Pure white and pure black backgrounds are removed in favor of a unified green palette. All body text contrast meets the WCAG AA standard (≥ 4.5:1).
  3. Detailed Texture: Softer rounded corners, green-tinted diffuse shadows, low-contrast thin lines, and glass-like menu surfaces are used. Text selection color is mint, and the font stack includes Inter, Noto Sans SC, and Cascadia Code, with a thin scrollbar.
  4. Tunability: The palette is centralized in the annotated TOKENS table inside lib/client.js. A self-check script is provided to validate token shapes, text contrast, and syntax. The style layer includes a toggle to enable or disable the entire skin.

Installation and Activation

Install the plugin via the command line:

dsh plugin --profile web add dsh-leafy-skin

After installation, you must restart DSH so the configuration file can be reassembled and the skin takes effect. Afterwards, any color edits only require a page refresh (client-side hot reload takes about 1 second).

Usage and Configuration

Once the application loads, the plugin automatically overlays the green skin layer on the currently active theme. Because the plugin automatically detects the system’s light or dark mode, you get light or dark variants without additional configuration.

To modify the color scheme, edit the TOKENS table in the lib/client.js file. To completely disable the style layer, set ENABLE_CSS_LAYER to false in that file. After making changes, it is recommended to run the node tools/check-palette.mjs script to validate palette data shape, text contrast, and style-layer constraints.

Notes and Limitations

  1. Window Title Bar: The native window title bar belongs to the DSH desktop shell, not this plugin. Before the page is drawn, the title bar will briefly display DSH’s default gray.
  2. Glass Effects: True translucent glass effects are not available on Windows. The sidebar depth and translucent menu effects are achieved through color layering, not window blur.
  3. Component Locking: Font sizes and layouts are hardcoded within components (using hashed CSS modules). This plugin intentionally leaves them unchanged, so these details will not be adjusted.
  4. Contributing: Pull requests are not accepted.

Conclusion

dsh-leafy-skin is suitable for developers who want a unified green theme in DSH and care about WCAG contrast standards. For more details, see its GitHub repository.

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

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

Xiaoye