Introduction¶
DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture. In the Web Profile environment, developers can extend the interface through browser-side plugins. vlantech/dsh-glassic-mist-theme is a pure client-side theme plugin designed to overlay a mist-blue mask and dynamic cloud layers on the default skin, and to give popups a frosted-glass texture.
Core Features¶
The plugin uses the default day skin as its base, is registered as the mist-blue theme, and implements the following features through CSS layering:
- Mist-blue mask and clouds: Overlays a near-white mist-blue background and soft white light spots at the bottom layer of the page, and generates multiple radial-gradient white cloud layers that drift slowly using
translate3dandscale(74s cycle). When the system enablesprefers-reduced-motion, the animation is automatically disabled. - Frosted glass for all popups: Applies
backdrop-filterblur effects to components such as input fields, context panels, Modal, HoverCard, Toast, and Tooltip, with tiered intensities of input field 20px / context panel 24px / Modal 28px. - Settings persistence: Toggle in Settings → General → “Mist-blue Theme”; state is written to
localStorage(keydsh-mistblue.enabled) and automatically restored after refresh. - Intensity adjustment: A 10%–100% slider is provided inline in settings to adjust the mask and cloud intensity in real time; the default is 50%, and 100% doubles saturation. The state key is
dsh-mistblue.intensity.v2. - Shortcut command: Enter
/mistthemeto quickly toggle the theme. - Zero intrusion: All custom CSS is scoped under the
body[style*='--dsh-mistblue']selector, leaving no residue after disabling.
Installation and Enablement¶
Installation¶
The plugin must be mounted under the Web Profile’s node_modules.
- Create the directory and copy files:
mkdir -p ~/.dsh/profiles/web/node_modules/dsh-mistblue
cp -R <本仓库目录>/. ~/.dsh/profiles/web/node_modules/dsh-mistblue/
- Register the bundle and dependency in the Profile’s
package.json:
{
"dsh": {
"profile": {
"bundles": ["...", "dsh-mistblue"]
}
},
"dependencies": {
"dsh-mistblue": "file:./node_modules/dsh-mistblue"
}
}
- Run the build:
npm run build
- Restart Harness.
Enablement¶
- Settings panel: Settings → General → “Mist-blue Theme” → “Enable Mist-blue”.
- Shortcut command: Type
/mistthemein the input field and select “Enable Mist-blue Theme / Disable Mist-blue Theme”. - Adjust intensity: Drag the “Mist-blue Intensity” slider inline in settings (10%–100%).
Design and Implementation¶
The plugin achieves flexible control through scope isolation and token overrides.
- Scope isolation: All custom CSS uses
body[style*='--dsh-mistblue']as the prefix. When the theme is activated, the framework writes this style marker to the body, and the CSS takes effect; after disabling, the selector no longer matches, so the default theme is unaffected. - Performance optimization: The cloud animation uses
will-change: transform, opacityand compositor layers to avoid reflow. The animation cycle is restrained (74s), and the drift amplitude is small. - Frosted-glass tiering: Different layers apply different blur intensities and saturations (e.g., Modal uses
blur(28px) saturate(1.3)). - Safari compatibility: Safari approval cards/issue cards use a nearly opaque background (
rgba(248, 251, 254, 0.97)). This is intentional to prevent abnormal content clipping.
Typical Usage¶
- Settings → General → “Mist-blue Theme” → “Enable Mist-blue”.
- Type
/mistthemein the input field → select “Enable Mist-blue Theme / Disable Mist-blue Theme”. - Drag the “Mist-blue Intensity” slider (10%–100%).
Applicable Scenarios and Notes¶
- Target platform: DeepSeek Harness Web interface (browser-side plugin).
- Theme adaptation: The theme is registered as the light-mode
mist-bluetheme. Users with dark system settings are advised to use it under a light theme. - Dependency mechanism: Depends on Harness’s
dsh.clientclient manifest mechanism. - Safari limitation: Safari approval cards/issue cards use a nearly opaque background and are not fully transparent.
Conclusion¶
By overlaying a mask, cloud animation effects, and frosted-glass texture, this plugin provides a lightweight visual enhancement solution for the DSH Web interface without replacing the default skin. The source code and configuration are available on GitHub.