zshao56/dsh-theme-qianfu ↗★ 0

dsh-theme-qianfu

《潜伏》电视剧主题的复古配色网页主题 提供老报纸与夜间电台两套配色及专属侧栏吉祥物,适合喜爱该剧风格的用户美化界面。

包名
dsh-theme-qianfu
兼容性
待验证
版本
0.4.0
许可证
MIT
最近更新
2026年10月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zshao56/dsh-theme-qianfu

潜伏 QIANFU

English | 简体中文

A DeepSeek Harness web theme inspired by the 2009 TV drama Lurk (潜伏): aged paper, ink green, brass and seal red, with paired light and dark palettes.

Unofficial fan work. Not affiliated with or endorsed by the rights holders of Lurk or DeepSeek. No stills, logos or other copyrighted artwork are included.

preview

The two palettes

ModeNameMood
LightOld Paper ArchiveYellowed telegram paper, iron-gall ink, ink-green suits, brass corners; seal red for warnings only
DarkNight RadioA radio room at 3 a.m.: near-black green, smoked-teal surfaces, brass dials, muted crimson

The plugin does not replace the built-in light/dark themes. It stacks one alias-token layer through the official ctx.theme.overrideTokens() seam:

  • Appearance → light / dark / follow system switches between Old Paper Archive and Night Radio;
  • font sizes, font families and terminal settings are untouched;
  • disabling the plugin disposes the layer — no CSS leftovers, no profile patch to clean up.

Sidebar & mascot

On macOS the native sidebar is transparent (window vibrancy), so it shows the grey window and clashes with the paper content. Since 0.2.0 the theme paints that sidebar with the same paper colour and hangs an original "lurk whale" mascot at the bottom: fedora, trench collar, red tie, telegram and a seal-red stamp.

Above the mascot is a small "station chief quote" card. It auto-advances every five minutes, and a click moves to the next line immediately and resets the timer. The choice is remembered per browser. Nine short lines are included.

The Tianjin station is a sieve — it leaks from all four sides.

Zecheng, you are my man. Understand?

The dialogue remains the property of the show's rights holders; this is a short fan quotation. To turn it off, set QUOTES to [] in lib/client.js and reinstall.

The mascot is original artwork — no stills, actor likenesses or show logos.

Install

DSH Desktop (recommended)

  1. Settings → Plugins
  2. Install plugin
  3. Enter this directory's absolute path, e.g.:
/Users/apple/Documents/deepseek-harness/default-workspace/dsh-theme-qianfu
  1. Restart / refresh DSH when prompted
  2. Switch Appearance between light and dark to see both palettes

Web profile (CLI)

From GitHub:

dsh plugin --profile web add github:zshao56/dsh-theme-qianfu
dsh web

From a local checkout:

dsh plugin --profile web add /absolute/path/to/dsh-theme-qianfu
dsh web

Then hard-refresh the browser (Cmd/Ctrl + Shift + R).

From a tarball

cd dsh-theme-qianfu
npm pack
dsh plugin --profile web add /absolute/path/to/dsh-theme-qianfu-0.4.0.tgz

Compatibility

  • DSH 0.2.0-rc.2+ (stable ctx.theme.overrideTokens surface)
  • Tested against DSH 0.2.1-rc.2 on Desktop
  • Pure client plugin: platform: "web"; registers no model tools, makes no network requests, writes no profile state

Toggle & uninstall

  • Temporarily off: Settings → Plugins → 潜伏 QIANFU → disable. The layer is disposed with the plugin.
  • Uninstall: remove it from the same card, then restart / refresh.

Development

npm test               # contract test + WCAG contrast checks for key text/background pairs
open preview.html      # light/dark preview rendered from the real tokens

preview.html loads lib/client.js, calls the plugin with a fake ctx.theme, and paints the preview from the actual token table — the preview cannot drift from the implementation.

Design constraints

  • Colours are expressed only through --dsw-alias-* / --dsw-specific-* tokens; no component selectors, no layout overrides
  • Body, secondary, tertiary, link, state and button text pairs all meet ≥ 4.5:1 in both palettes
  • Colour only: no font, size, radius, shadow or motion changes

License

MIT