dsh-font-tuner: Local Font and Font Weight Tuning for the DeepSeek Harness Interface

Introduction

In DeepSeek Harness (DSH), viewing sessions for long periods, reading settings, and clicking controls often result in font sizes and weights that are only “good enough.” The app’s built-in Settings → Appearance → Font Size primarily controls session body text (10–22px); it does not change the overall page appearance, nor does it control font weight. System scaling or browser scaling tends to enlarge the layout along with the text, which is not the same thing as “just wanting larger text.”

Below is an introduction to the community client plugin dsh-font-tuner (maintainer ziyepei06): it adds a floating panel in the bottom right corner of the Web interface, supporting overall scaling, scaling only the text controlled by typography tokens, and bolding font weight; options are written to localStorage without modifying app.asar. The plugin belongs to the DSH “everything is a plugin” ecosystem, is searchable on SkillHub, and has no official store affiliation with DeepSeek / Hypoface.

What is it

dsh-font-tuner is a DSH plugin that runs solely on the browser side (dsh.client.platform: web). The Host side index.js is an empty implementation; actual logic resides in client.js: injecting styles, overriding font weight, and the Aa floating control. The version in the current documentation is 1.0.0 with a license of MIT.

It solves the problem of adjusting the font size and weight of the DSH desktop profile’s Web UI according to personal habits, without unpacking or touching app.asar, and remembering preferences locally.

Core Features

The documentation describes three adjustment methods as follows.

Mode · Overall

Uses CSS zoom on <html> to scale the entire page proportionally: text, spacing, and icons all get bigger, and the layout is rearranged by percentage; the goal is to keep the interface from overflowing the viewport.

Mode · Text Only

Only enlarges the app’s typography tokens (--dsw-font-*) and session body text size variables; spacing and control dimensions remain basically unchanged, making it suitable for “large text but not cramped.”

Size and Weight

  • Scaling: 85%–175%, step 5%; the panel provides shortcut buttons for 100 / 110 / 125 / 140.
  • Weight: Normal / Bold / Extra Bold. Implementation-wise, it reads the calculated values of --dsw-font-*, reconstructs the font shorthand, and writes it back to html:root (specificity higher than the app’s :root), then sets the base weight for body; “Bold” changes 400→600, strong token 500→700; “Extra Bold” corresponds to 700 / 800, preserving the bold hierarchy.

Default Values (as per original docs): Overall mode, 110%, Bold. “Restore Defaults” will also reset scaling to 100%.

Installation and Enablement

You need DeepSeek Harness with the dsh plugin subcommand. The plugin only modifies browser-side CSS and does not modify app.asar.

If you do not have the plugin source code locally yet, the method given in the README is to first obtain the repository directory, then install it using a file: path (the installation command is subject to the README):

git clone https://github.com/ziyepei06/dsh-font-tuner.git
dsh plugin --profile desktop add file:./dsh-font-tuner

If the source code is already under the profile’s plugins/ directory, you can use:

dsh plugin --profile desktop add file:./plugins/dsh-font-tuner

After installation, the plugin resides within the profile (irrelevant to the temporary directory on the desktop, as per original README):

~/.dsh/profiles/desktop/plugins/dsh-font-tuner
~/.dsh/profiles/desktop/node_modules/dsh-font-tuner

package.json will register dependencies and dsh.profile.bundles. The documentation states: Changes take effect on the next launch—exit and reopen DeepSeek Harness, and an Aa round button should appear in the bottom right corner.

Before installation, it is recommended to browse the GitHub repository source code and the MIT license; client plugins run locally with the current DSH process, and trust boundaries are consistent with the profile being used.

Typical Usage

  1. Click the Aa round button in the bottom right corner: opens the panel, click again to close.
  2. Hold and drag the button to change position (position is remembered).
  3. Changing mode, ratio, or weight in the panel takes effect immediately; close the panel with Esc or by clicking blank space.

Relationship with built-in appearance font size (README boundary description):

  • In Overall mode, the built-in session font size and the plugin’s scaling multiply.
  • In Text Only mode, the plugin’s override of tokens replaces the effect of built-in font size on that type of text; a few hardcoded px texts (like individual menu items) won’t change. If you want everything larger, please use “Overall” mode.

Suitable Scenarios and Notes

Suitable for: Long-term desktop profile users; those who need finer scaling steps than the built-in appearance (85%–175%) or weight steps; scenarios where settings should remain local and not sync with Host configuration docs.

Notes (all from README):

  • The setting key name is dsh-font-tuner/v1 in localStorage, local only.
  • In Overall mode, at extreme ratios (>160%), third-party components like the embedded terminal or table preview may have pixel alignment deviations; returning to 100% can restore it.
  • Uninstalling the plugin removes injected <style>, the floating control, and zoom, no need to manually clear residuals.

Uninstall method:

  • Inside the app Settings → Plugins → Uninstall dsh-font-tuner; or
  • dsh plugin --profile desktop remove dsh-font-tuner, and delete the plugins/dsh-font-tuner directory.

Then restart the application.

The repository provides a self-check that does not rely on third-party packages:

node dev/smoke.mjs

Covers default CSS structure, mode switching, uninstall cleanup, panel interaction, and six other logic items; visual final effects still need to be confirmed within the application window.

Conclusion

dsh-font-tuner gathers the font size and weight of the DSH Web interface into a bottom-right panel: overall zoom, scaling only text tokens, three weight levels, default 110% overall bold, configuration stored locally. Without modifying app.asar, uninstall and restore.

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

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

Xiaoye