DSH Light Green Theme (dsh-light-green-theme)

Introduction

DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy, allowing users to extend or modify the functionality and appearance of the client by installing different plugins. dsh-light-green-theme is a light green theme plugin for the DSH client, maintained by catEatRabbit. It replaces the interface colors with a light green palette by overriding the default --dsw-* tokens and adjusts the styling for selected states.

Plugin Introduction

This plugin aims to provide a refreshing light green visual scheme for DSH, reducing visual fatigue during prolonged use. It not only provides a set of adjusted light and dark color schemes but also supports further customization of color details based on user needs.

Core Features

  • Token Overriding: Overrides DSH’s default color definitions via --dsw-* tokens.
  • Visual Enhancement: Bolds selected menu items and session rows to enhance visual distinction.
  • Dual-mode Color Scheme: Provides both light and dark color schemes.
  • Customizability: Allows users to customize colors by modifying the source code.

Installation

There are three ways to install this plugin, depending on your usage scenario.

  1. Install via DSH Interface (Recommended)

    • Click “Plugins” in the left sidebar.
    • Click “Add Plugin”.
    • Paste github:catEatRabbit/dsh-light-green-theme into the input box.
    • Click install and enable it immediately.
  2. Command Line Installation
    Requires the web profile. Execute the following command:

    dsh plugin --profile web add github:catEatRabbit/dsh-light-green-theme
*Note: The desktop version (`desktop` profile) does not support installing this plugin via the command line.*
  1. Local Installation
    • On the GitHub repository page, click the green Code button and select Download ZIP.
    • Extract it to any directory.
    • When installing via the DSH interface, paste the directory path (from step 2) into the plugin path field.

Colors and Customization

  • Color Source: Light colors are derived from point-by-point sampling of a UI screenshot; dark colors are derived based on the same hue (H≈126°).
  • Customization Steps: Edit the lib/client.js file in the plugin directory and locate the PALETTE object to modify it. After modification, you must run node verify.mjs to verify.

Notes

  • The desktop version (desktop profile) does not support command-line installation.
  • After modifying the colors, you must run node verify.mjs for the changes to take effect.

Conclusion

dsh-light-green-theme is a lightweight skin-changing plugin suitable for users who want to quickly change the DSH interface color or engage in secondary development. Its source code structure is clear, and it is provided under the MIT license, facilitating local debugging and customization.

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

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

Xiaoye