Introduction¶
DeepSeek Harness (DSH) splits the interface into global CSS variables (tokens) and various floating-layer panels. The default theme covers the main interface, but menus, dialogs, and third-party plugin panels often hard-code their backgrounds or don’t use backdrop-filter. When you want to unify opacity, frosted glass, or sidebar colors, editing source code or writing user styles is costly and makes experimentation difficult.
Below we introduce the community plugin dsh-appearance-tuner (maintainer zxyxxby, SkillHub category “Fun Dress-up”): it provides a panel within the Host page, writes changes immediately back to tokens or (optionally) directly overrides floating-layer element styles, and persists configuration in the browser’s localStorage without any build step.
What Is This¶
dsh-appearance-tuner is a client-side appearance tuning plugin for DSH: it adjusts the opacity and color scheme of floating layers/panels in real time, frosted glass blur, background and sidebar colors, accent colors, corner radius, body font size, and scrollbar width (README English summary: Appearance tuner for DSH UI tokens).
In terms of implementation, the host-side lib/index.js is an empty implementation visible to the Loader; functionality resides in lib/client.js, using the DSH client plugin format window.__ModuleLoader__.load({ id, factory }), where the factory exports name / inject / apply. The plugin does not modify DSH or third-party plugin source files—it only overrides global appearance tokens and floating-layer elements under configurable selectors. License: MIT; package version 0.1.0; README indicates it requires DSH 0.2.0-rc.2 (depends on the slots service from @deepseek-ai/dsh-client-ui-slots).
Core Features¶
Floating Layers & Panels¶
| Item | Scope & Description |
|---|---|
| Panel opacity 0–100% | Applied to all floating layers: menus, dialogs, floating cards, various panels; 100% is opaque |
| Panel color | If unchecked, follows light/dark theme; if checked, uses a fixed color combined with opacity |
| Frosted glass blur 0–60px | Higher value = more blurred; combined with opacity, blur 0 and opacity 100% means completely opaque |
| Force mode (enabled by default) | Directly writes background / backdrop-filter to floating-layer elements, overriding styles hard-coded in third-party panel CSS; target selectors can be edited in the panel |
Background, Shapes & More¶
- Main background color / Sidebar base color / Card layer color: Corresponding to the base color, sidebar, and card hierarchy respectively.
- Accent color: Selection state, links, highlights.
- Corner radius 0–24px: Menus, dialogs, cards.
- Body font size −4 ~ +8px: Conversation body scaling.
- Scrollbar width 4–20px: Sidebar scrollbars.
- Hide divider lines: Sets both border color levels to transparent.
- Show/hide floating button: Can still be accessed from Settings → Appearance Tuner when hidden (if the current profile has the settings page enabled).
The panel provides presets: Fully Opaque, Restore DSH Default, Solid Minimal, Reset All, Copy Configuration (JSON to clipboard).
Override Mechanism (Implementation Notes)¶
- Global tokens: Variables such as
body, body * { --dsw-menu-surface-fill: … !important; … }. - Force mode (element-level):
html body <target selector> { background / backdrop-filter !important }, using thehtml bodyprefix to increase specificity.
The tuning panel itself uses independent CSS with the dat- prefix to avoid being affected by the above overrides, maintaining readability under both light and dark themes.
Compatibility with dsh-watcher¶
The dsh-watcher panel does not use backdrop-filter, and its background is written in its CSS, so it won’t respond to changes like “only modifying global tokens.” The force mode enabled by default in this plugin already includes built-in selectors:
.xlpj2W_menu, .CEmiCq_hudBox, .CEmiCq_drilldownPanel, .CEmiCq_vizPanel, .CEmiCq_heatmapPanel
After installation: panel opacity/color, frosted glass (backdrop-filter added by force mode), accent color, body font size, scrollbar width, and divider lines can take effect; corner radius does not apply to the dsh-watcher main panel (its border-radius:12px is hard-coded in CSS, and this plugin does not modify third-party source code). If you don’t want to affect dsh-watcher, remove the above classes from “Target Selectors”; to override other plugin panels, add their corresponding classes.
Installation & Activation¶
The plugin runs with the permissions of the current DSH process. Before installing, it is recommended to read the GitHub repository source code and MIT license.
Install from GitHub¶
Desktop app (Desktop profile):
dsh plugin --profile desktop add github:zxyxxby/dsh-appearance-tuner
Pure Web (web profile):
dsh plugin --profile web add github:zxyxxby/dsh-appearance-tuner
After installation, reopen the Host / restart DeepSeek Harness, then refresh the page.
Install from Local Directory¶
dsh plugin --profile desktop add /path/to/dsh-appearance-tuner
Uninstall¶
dsh plugin --profile desktop remove dsh-appearance-tuner
Typical Usage¶
- Click the ◐ floating button in the bottom right corner (default ~34% opacity, brightens on hover) to expand the tuning panel.
- Or open it from Settings → Appearance Tuner (when the profile has the settings page enabled).
- Changes take effect immediately; the persistence key is
dsh-appearance-tuner:v1(browserlocalStorage).
Common combinations (from README):
- Solid panel: Opacity 100%, blur 0.
- Frosted glass: Opacity 55–85%, blur 20–60px.
For development debugging, you can run node tests/smoke.mjs to load the client distribution file offline on a minimal DOM stub; after modifying lib/client.js, simply refresh the page, and restart the Host after adjusting file structure.
Use Cases & Notes¶
Suitable for: Quickly experimenting with themes without forking DSH, unifying floating-layer appearance, or making panels with hard-coded backgrounds like dsh-watcher also support opacity and frosted glass; exporting current parameters as JSON backup or sharing.
Notes:
- Compatibility is subject to the README: DeepSeek Harness 0.2.0-rc.2; the community directory SkillHub plugin page and GitHub are independent information sources and have no official affiliation with DeepSeek / High-Flyer.
- Force mode increases CSS specificity; incorrect selectors may affect unrelated elements. When third parties hard-code properties like corner radius, this plugin cannot change them via tokens.
- Configuration is only stored in this browser’s localStorage; switching devices or clearing site data requires re-tuning or pasting the copied JSON.
Conclusion¶
dsh-appearance-tuner consolidates DSH appearance tokens and floating-layer styles into an adjustable panel, with presets and JSON copying facilitating reset and migration. For directory and details, see SkillHub: dsh-appearance-tuner; for source code and installation instructions, see GitHub: zxyxxby/dsh-appearance-tuner.