The default DeepSeek Harness (DSH) interface provides a font-size option under Settings → General → Font Size. Because the entry point is buried and there is no shortcut, adjusting the font size often requires multiple clicks. The dsh-client-ui-font-scale plugin addresses this overly long operation path by embedding font-size controls directly into the Composer toolbar of the message input box, while also providing global keyboard shortcuts and mouse-wheel support.
This is a browser-side DSH client plugin. It does not modify the default settings logic; instead, it adds an independent control layer on the UI by reusing the theme service’s setFontSize API. The plugin itself does not store state—all persistence is handled uniformly by DSH’s theme service.
Core Features¶
-
Composer Toolbar Stepper
Adds a stepper control to the message input toolbar:A-on the left,A+on the right, and the current font size displayed in real time in the center. -
Reset Button
A reset button (↺) next to the stepper restores the font size to the default (14px). When the font size is already at the default, the button is automatically grayed out and disabled. -
Keyboard Shortcuts
Supports global keyboard shortcuts:Ctrl+=: Increase font sizeCtrl+-: Decrease font sizeCtrl+0: Restore default font size
-
Ctrl+Scroll Zoom
HoldCtrland scroll the mouse wheel anywhere on the page to scale page content. Scrolling up increases the size; scrolling down decreases it.
Installation and Activation¶
Install using the official plugin management command:
dsh plugin --profile <profile> add dsh-client-ui-font-scale
After installation, DSH will automatically recompose the bundle—no application restart required. To uninstall, use the remove command.
Typical Usage¶
Once installed, you can adjust the font as follows:
- Click the
A-orA+stepper in the toolbar above the message input box. - Use keyboard shortcuts directly:
Ctrl+=to increase,Ctrl+-to decrease,Ctrl+0to reset. - Hold
Ctrland scroll the mouse wheel over any blank area of the page to zoom.
The plugin automatically writes the new font size to the theme service, so changes made in the plugin are immediately reflected in the default settings panel, keeping both in sync.
Use Cases and Notes¶
- Target users: DSH users who frequently adjust font size to suit their vision or reading preferences.
- Permissions and safety: This plugin runs with the permissions of the current DSH process. Before installing, review its GitHub source code to confirm its behavior meets expectations.
- Functional positioning: This is a decorative complement to the default settings, not a replacement. The official Settings → General → Font Size remains the authoritative entry point for viewing and modifying the font size.
- Ctrl+scroll limitation: Ctrl+scroll zoom prevents the browser’s default page-zoom behavior, so within DSH this gesture is dedicated to font-size adjustment.
- Font size range: The valid range is 10px to 22px (default 14px); values outside the range are automatically clamped.
Plugin repository: https://github.com/AprilCrystal/dsh-client-ui-font-scale