dshbase

Plugin directory / Developer / dsh-custom-fonts

dsh-custom-fonts

Unverified lsh2002

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
Language
2026-08-24Last push
Cross-platformPlatform

What it does

deepseek-harness的修改字体插件

Our take
Unverified — not yet verified

deepseek-harness的修改字体插件 Not yet verified — install and test it yourself.

“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

Plugin author? Get the “Verified” label — submit your own evidence (screenshots, logs, or a short demo) and we'll review and flip the badge.

Submit verification evidence ↗

README

dsh-custom-fonts

Customize the Chinese and English fonts, the code font, and the global font size of the DeepSeek Harness Web UI — right from a settings page, with a live preview.

中文说明

What it does

A pure client-side plugin (no host half, no restart needed). Once installed it adds a Fonts (字体) page under Settings:

  • UI font · English — used for Latin characters. (Segoe UI, Arial, Georgia, Consolas…)
  • UI font · Chinese — used for Han characters. (微软雅黑 / 宋体 / 黑体 / 楷体 / 思源黑体 / 苹方…)
  • Code font — a separate mono face for code blocks and inline code (pre/code/kbd/samp). (Consolas, JetBrains Mono, Fira Code, Cascadia Code, Sarasa Mono SC…)
  • Font-size offset — a -4..+8 px global slider; kernel text stays sharp, no layout blow-up (see below).
  • Live preview — mixed Chinese/English UI sample plus a code-font sample render as you type (comma-separated font lists and free-form names are both supported).
  • Reset — clears every control and removes all injected styles.

How it works

The plugin injects one global stylesheet:

:root { --dsh-custom-fonts-en: 'English'; --dsh-custom-fonts-zh: 'Chinese'; }
body, body * { font-family: 'English font', 'Chinese font' !important; }
pre, code, kbd, samp { font-family: 'Code font' !important; }
body, body * { font-size: calc(1em + 2px) !important; }  /* when offset ≠ 0 */
  • The font-family fallback chain is the standard way to split fonts by script: Latin characters match the English font first, and Han characters — which the English font has no glyphs for — fall back to the Chinese font. No language detection, no DOM surgery.
  • The code-font rule comes later and wins inside code regions only.
  • The size offset applies calc(1em ± Npx) relative to each element's own size, so every nesting level shifts by exactly N — no exponential cascade. Clearing it (0) restores the default.

Changes apply immediately and globally (message body, sidebar, inputs, everything).

Install

From the plugin market (Settings → Plugin Market) once the entry is published, or:

dsh plugin --profile web add dsh-custom-fonts

or directly from the repository:

dsh plugin --profile web add github:lsh2002/dsh-custom-fonts

Client-only plugin: after a page refresh it is live — no restart required.

Uninstall

Remove it from Settings → Plugins → Plugin configuration (or dsh plugin --profile web remove dsh-custom-fonts), refresh the page; your fonts are reverted automatically.

License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-custom-fonts for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:lsh2002/dsh-custom-fonts

Headless (CLI) profile:

dsh plugin --profile headless add github:lsh2002/dsh-custom-fonts

Test report

Not yet L3-verified — see failure note below if we already ran it.

Status: pending · last test 2026-08-26
Note: 验证: runtime-fail Browse all pending failures →
Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7789 plugins →