packages/dsh-task-board
zhu1090093659/dsh-web侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
在设置页自定义界面中英文与代码字体,支持只放大拉丁字形的英文字形缩放(100-160%)与 -4..+8 px 的内容字号偏移,刷新后保留设置;lsh2002/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.
A pure client-side plugin (no host half, no restart needed). Once installed it adds a Fonts (字体) page under Settings:
pre/code/kbd/samp). (Consolas, JetBrains Mono, Fira Code, Cascadia Code, Sarasa Mono SC…)The plugin injects one global stylesheet:
:root { --dsh-custom-fonts-en: 'English'; --dsh-custom-fonts-zh: 'Chinese'; }
@font-face { /* English glyph scale ≠ 100% */
font-family: "dsh-latin-scaled";
src: local('English'), local('English Regular');
unicode-range: U+0000-024F, U+1E00-1EFF; /* Latin blocks only */
size-adjust: 120%;
}
body, body * { font-family: 'English font', 'Chinese font' !important; }
pre, code, kbd, samp { font-family: 'Code font' !important; }
body { /* offset ≠ 0 only */
--dsh-content-font-size: 17px !important;
--dsh-content-font-delta: 3px !important;
--dsh-content-font-size-secondary: 15px !important;
--dsh-content-font-delta-secondary: 2px !important;
}
@font-face + size-adjust; Han glyphs are untouched. unicode-range deliberately excludes U+2000-206F / 3000-303F / FF00-FFEF so Chinese punctuation is not enlarged, and if local() cannot resolve the face the @font-face simply never loads — the plain stack stays.--dsh-content-font-size and friends on <body>, and descendants only reference those variables, so overriding font-size on arbitrary elements cannot reach them; the plugin writes concrete px values on body instead. The new value is the body's original --dsh-content-font-size plus N, injected only while the offset is non-zero, and recomputed when the app changes the body style — so both settings can be combined.Changes apply immediately and globally (message body, sidebar, inputs, everything).
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:it-glen/dsh-custom-fonts
Client-only plugin: after a page refresh it is live — no restart required.
Remove it from Settings → Plugins → Plugin configuration (or dsh plugin --profile web remove dsh-custom-fonts), refresh the page; your fonts are reverted automatically.
MIT
Forked from lsh2002/dsh-custom-fonts v1.1.0; this fork adds the English glyph scale, settings persistence and the content font-size offset fix.