dsh-font-manager
Font settings for DeepSeek Harness · DeepSeek Harness 字体设置插件
Fine-grained font control for the DeepSeek Harness web UI, styled to blend into the built-in General settings page.
对 DeepSeek Harness 网页界面做精细字体控制,界面与内置「通用」设置页完全同风格。
Features · 功能
- Per-role fonts · 按角色设置字体 — interface font, content (conversation body) font, and code font are strictly isolated and configured independently 界面字体、正文字体、代码字体严格分开隔离,各自独立设置
- Family + weight · 字体族 + 字重 — each role has a family picker and a weight picker; the weight list is read live from the actual selected family 每个角色有字体族与字重两个下拉;字重列表从所选字体实时读取
- Local font scan · 本机字体扫描 — scans installed system fonts on startup (Local Font Access API) so the pickers list every family on your machine; falls back to a curated preset list 启动时自动扫描本机已安装字体(Local Font Access API),下拉列出全部本机字体家族;失败时退回常见字体预设
- Applies everywhere · 全局生效 — CSS variables are applied at boot (before first paint) and kept in sync on every change 通过 CSS 变量在首帧前注入,并在每次修改后即时生效
- Native look · 原生风格 — rows and menu popups replicate the built-in settings controls via the host theme tokens 行与弹层菜单按宿主主题 token 复刻内置控件样式
Install · 安装
From the DeepSeek Harness plugin market (after the plugin is listed), or directly:
dsh plugin --profile desktop add npm:dsh-font-manager
# or from GitHub source
dsh plugin --profile desktop add github:xiaomu1110/dsh-font-manager
Inside the app: Settings → Plugins → Discover.
在应用内:设置 → 插件 → 发现。
Configure · 配置
Open Settings → General and scroll to the three font rows. Leave a family empty to fall back:
打开 设置 → 通用,找到三行字体设置。留空即回退:
| Role 角色 | Empty means 留空含义 |
|---|---|
| Interface font 界面字体 | Built-in default stack 内置默认字体栈 |
| Content font 正文字体 | Same as the interface font 与界面字体相同 |
| Code font 代码字体 | Built-in monospace stack 内置等宽字体栈 |
Your choices persist in the profile configuration (~/.dsh/profiles/<profile>/cordis.patch.yml).
所选字体会持久化到 profile 配置(~/.dsh/profiles/<profile>/cordis.patch.yml)。
Requirements · 要求
- A Chromium-based renderer for local font scanning (the Harness desktop app qualifies). Without it the preset list is used.
- 本机字体扫描需要 Chromium 内核渲染器(Harness 桌面端满足);不支持时使用预设列表。
No comments yet. Be the first to write one.