Interface Text Size: Adding Two Adjustable Font Size Levels to DeepSeek Harness

Introduction

When building agents with DeepSeek Harness (DSH), UI text size may not be the most noticeable factor, but poor sizing can hurt comfort during extended use. The default font size can feel too small or too large, and after a theme change or a DSH upgrade, you often have to re-tune everything. What you need is a simple, persistent way to adjust only the UI text font size without touching the theme.

What This Is

This is a plugin that adds two adjustable UI text font-size tiers to DeepSeek Harness, provided by maintainer lesliejackson. It addresses the problem of “how to uniformly adjust DSH UI text size across all panels without modifying the theme,” making font-size adaptation more controllable.

Core Features

The plugin exposes two font-size settings under Settings → General, takes effect in real time, and persists to the settings document.

Tier Field Range Default Scope
Title font size fontSize 10–24 15 Left-sidebar conversation/group titles & navigation, top-bar conversation title & view tabs, right-sidebar tabs & guide entry cards, right-sidebar panel font-size scale
Secondary text font size smallFontSize 9–22 12 Timestamps, meta labels, breadcrumb separators, the “Standard Mode” badge beside conversation titles, card descriptions

After adjusting the values on the settings page, most text in the left sidebar, top bar, and right sidebar updates immediately, and the right-sidebar panel font-size scale is remapped in sync.

Installation and Activation

There is no unified dsh plugin add github:owner/repo command. Install it the way described in the README:

  • Local (development directory): In DSH go to Plugins → Add Plugin → Local Directory and select this directory; or add a link: entry in your profile.
  • Other machines: Use the tarball in dist/; or publish to npm and install by package name — see PUBLISHING.md at the repo root for details.

Once installed, the sidebar-fontsize setting will appear under Settings → General in DSH.

Typical Usage

  1. Open Settings → General and locate the sidebar-fontsize entry.
  2. Click - or + to adjust fontSize (10–24) and smallFontSize (9–22).
  3. Text in the left sidebar, top bar, and right sidebar updates immediately, and the settings are persisted.

Default configuration (overridable):

- id: sidebar-fontsize
  name: '@local/dsh-sidebar-fontsize'
  config:
    fontSize: 15
    smallFontSize: 12

Use Cases and Caveats

Ideal for developers and agent teams who need a unified way to adjust DSH UI text size. Keep the following in mind:

  • The plugin runs with the current DSH process permissions — review the source code and license before installing.
  • Text elements are matched via CSS module class-name suffixes. If a DSH or panel-plugin upgrade renames a class, the corresponding rule will silently stop working and the plugin needs updating.
  • The right-sidebar panel font-size scale is generated on every page render; after changing the setting, refresh the page to see it reflected in those panels. All other areas update in real time.
  • This plugin only changes font size. It does not alter line spacing (beyond line height), icons, or spacing. Terminal font size is still governed by the theme’s “Terminal Font Size” setting.

In Closing

This two-tier font-size approach lets DSH’s UI text become more comfortable without any theme modification. Directory page and source code:

  • Directory page: https://www.skillhub.cn/plugins/lesliejackson/dsh-sidebar-fontsize
  • GitHub: https://github.com/lesliejackson/dsh-sidebar-fontsize
羽毛球分组比赛记分
小程序二维码

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

Xiaoye