Introduction¶
DeepSeek Harness (DSH) is built on the design philosophy that “everything is a plugin.” When localizing or customizing the Web interface, the default rendering often cannot perfectly match a specific pixel font style, leading to visual blurring or layout misalignment. dsh-fusion-pixel-ui-adapt is a UI adaptation plugin for the Web GUI, aiming to keep the interface consistent with the Fusion Pixel font style through configuration adjustments.
Plugin Overview¶
This plugin is maintained by TableRogue. It adapts the interface to a pixel style by modifying CSS and configuration items. It does not directly load font files; instead, it focuses on typography adaptation to ensure that interface elements remain visually cohesive with the Fusion Pixel font.
Core Features¶
This plugin mainly implements adaptation in the following four areas:
- Visual Sharpening: Disables subpixel antialiasing and sets letter spacing to zero, ensuring sharp pixel font edges.
- Shape Unification: Sets all corner radii to zero, presenting a square interface style in accordance with pixel aesthetics.
- Layout Rearrangement: Hides the brand logo in the top-left corner and moves the “Collapse Sidebar” button to the same row to the right of the “New Session” button.
- Typography Grid: Forces all
--dsw-font-*related font sizes and line heights to snap to a 12px pixel grid (for example, body text 12/18, headings 24/36), avoiding blurring caused by non-integer multiples.
Installation and Enablement¶
Prerequisites¶
You must first install the dsh-fusion-pixel-font plugin. This plugin is only responsible for typography adaptation and does not load font files.
Installation Command¶
Run the following command to append the plugin to the current profile’s dsh.profile.bundles:
dsh plugin --profile web add github:TableRogue/dsh-fusion-pixel-ui-adapt
Startup and Verification¶
The changes take effect automatically after installation. Run the following command to start the Web interface:
dsh --profile web
Verify that the configuration has been loaded correctly:
dsh --profile web --dump-config
In the output, you should be able to see the configuration for the # == dsh-fusion-pixel-ui-adapt layer.
Uninstallation¶
To remove this adaptation:
dsh plugin --profile web remove dsh-fusion-pixel-ui-adapt
Notes¶
- Runtime Mode: The plugin provides a temporary mode (dynamic plugin, single process).
- License: This project is subject to the MIT License.
Summary¶
dsh-fusion-pixel-ui-adapt resolves the mismatch between the default UI and pixel font styles by adjusting rendering parameters and layout structure. The related plugin directory and source code are available through the links below.