dsh-liya-ui-plugin: Liya DSH UI Enhancement Plugin

Introduction

DeepSeek Harness (DSH) WebUI provides customization capabilities. dsh-liya-ui-plugin is a UI refinement plugin. Its core function is to uniformly increase the border radius of the interface to improve visual aesthetics. This plugin is compatible with DSH version 0.2.0-rc.2.

Features

The plugin mainly provides the following capabilities:

  • Unified Border Radius Increase: Uniformly increases the border radius for common elements in the interface, such as inputs, dialogs, and menus.
  • Configurable Radius: Supports configuration of the border radius, with a value range of 4 to 48.
  • Instant Effect: Changes take effect immediately upon saving modifications to the configuration.
  • Semantic Adaptation: Uses semantic selectors (role / tags) instead of hashed class names to avoid selector failure caused by DSH upgrades.

Installation & Enablement

After installing the plugin using the CLI, you need to restart the WebUI to load the styles.

# Install plugin
dsh plugin --profile web add <plugin-directory>

Configuration & Usage

Configuration options are located on the “Settings → Plugins” page.

  1. Open the settings page and go to the “Plugins” tab.
  2. Find the dsh-liya-ui-plugin.
  3. Modify the radius configuration (range 4-48).
  4. Click save, and the interface will update immediately.

If you need to fine-tune the border radius coefficient for specific surfaces, you can modify the radiusCss() function in the index.js file.

Notes

Please pay attention to the following edge cases when using:

  • Selector Coverage: Only covers surfaces hit by semantic role or tag selectors. If a component uses an unconventional role, it might be missed.
  • Inline Style Override: The plugin uses !important to override component inline styles. If the original design intentionally used small border radius (e.g., small badges), they will be enlarged uniformly.
  • Extending to New Surfaces: Adding new surfaces requires modifying the radiusCss() function in index.js. Avoid using * for global overrides to prevent squashing circular elements.
  • Dual License: The code uses the MIT License, and the documentation uses the CC BY 4.0 License.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye