WangPaoPaoLab/dsh-font
Font switcher for DeepSeek Harness Web GUI: 99 UI fonts + 31 code fonts with CJK-Latin pairing, instant apply, localStorage persistence
Project Overview项目介绍
This is a font switching plugin built exclusively for the DeepSeek Harness (DSH) Web GUI. It ships with 99 interface font options and 31 code font options, organized into logical groups by language and font style to suit different user preferences. To install the plugin, you first add it as a dependency and register it in your DSH web profile’s package.json, then navigate to the profile directory at $env:USERPROFILE\.dsh\profiles\web and run pnpm install --no-frozen-lockfile, then restart your DSH web instance. Once installed, you can access the font selection menu directly in DSH’s general settings panel to pick your preferred fonts.
After installation, selecting a new font is straightforward for any DSH user. All font options are rendered in the dropdown menu using the font itself, so you can see exactly what it will look like before you apply it. There is also a live preview bar below the dropdown that shows a sample of your selected font, so you can confirm it meets your needs. Once you select a font, the change takes effect globally across DSH immediately, and no extra steps or page reloads are required to see your new font in action.
This plugin does not bundle or distribute any font files directly, it only includes configuration code and font name references. All font rendering relies on fonts that are already installed locally on the user’s system, so you must have the font you want to use installed on your machine for it to work properly. The plugin stores your font selections in the browser’s localStorage, so it works offline and does not require any network connection. All users are responsible for confirming the license terms of any fonts they choose to use, especially for commercial use cases.
这是专为 DeepSeek Harness(DSH)Web 界面设计的字体切换原生插件,提供 99 款界面字体和 31 款代码字体,完整覆盖中文(黑体、宋体、楷仿、手写创意)和西文(衬线、无衬线、展示)品类,支持中西文自动搭配,选择后立即生效,刷新页面也不会丢失配置。插件通过修改 DSH Web 的核心 CSS 字体变量实现全局换字体,覆盖正文、按钮、侧边栏、代码块、终端等所有界面区域。
安装需要先在 DSH Web 配置文件 package.json 的依赖和 bundles 字段中注册该插件,随后进入对应配置目录执行 pnpm 安装,重启 DSH Web 后就能在设置入口使用。用户打开 DSH 的「设置 → 常规」就能找到字体选择面板,界面字体和代码字体都支持下拉分组选择,选项会用对应字体渲染,还提供实时预览,选择默认就能恢复 DSH 内置字体。
本插件不包含任何字体文件,仅在仓库中保存字体名称和配置代码,实际渲染依赖用户本机已安装的对应字体。插件不联网,所有字体选择配置存储在浏览器本地存储中,不涉及云端同步。用户需要自行确认所用字体的授权,尤其是商用场景需遵守对应字体厂商的授权协议。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-font(WangPaoPaoLab/dsh-font)
仓库:https://github.com/WangPaoPaoLab/dsh-font
本站详情页:https://www.yhbd.top/plugins/wangpaopaolab-dsh-font/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 11 · 最近提交 2026-08-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- 11 stars - an early-stage project星标 11,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:WangPaoPaoLab/dsh-font
把 WangPaoPaoLab/dsh-font 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-font
为 DeepSeek Harness Web GUI 换字体的插件:99 个界面字体 + 31 个代码字体, 中文(黑体/宋体/楷仿/手写创意)+ 西文(衬线/无衬线/展示)全分组覆盖, 中西文自动搭配,即选即生效,刷新不丢。
- 界面字体(改
--dsw-font-family):正文、按钮、侧边栏、标题、菜单 - 代码字体(改
--ds-font-family-code):代码块、终端、JSON 树、diff
安装
# 1. 在 web profile 的 package.json 中注册(dependencies + dsh.profile.bundles)
# 2. 在 profile 目录安装
cd $env:USERPROFILE\.dsh\profiles\web
pnpm install --no-frozen-lockfile
# 3. 重启 dsh web,然后在 设置 → 常规 → 字体 中选择
使用
打开 设置 → 常规,找到「字体」行:
- 界面字体:99 个选项,按下拉分组:默认 / 中文黑体 / 中文宋体 / 中文楷体仿宋 / 中文手写创意 / 西文衬线 / 西文无衬线 / 西文展示手写
- 代码字体:31 个选项(默认 / 30 个等宽)
- 下拉选项以各自字体渲染,下方有实时预览条;选择立即全局生效
- 「默认」恢复内置字体
字体清单
界面字体 — 中文 · 黑体(29)
微软雅黑、思源黑体、鸿蒙黑体、苹方、阿里巴巴普惠体、小米 MiSans、 OPPO Sans、vivo Sans、荣耀 Honor Sans、得意黑、站酷快乐体、站酷文艺体、 站酷小薇 LOGO 体、站酷高端黑、站酷庆科黄油体、优设标题黑、庞门正道标题体、 钉钉进步体、方正黑体、方正中等线、方正兰亭黑、方正准圆、汉仪旗黑、汉仪文黑、 华文细黑、更纱黑体 Sarasa UI SC、黑体、等线、幼圆
界面字体 — 中文 · 宋体(8)
宋体、思源宋体、华文中宋、方正小标宋简体、方正书宋简体、 京华老宋体、悠哉明朝、装甲明朝
界面字体 — 中文 · 楷体仿宋(8)
楷体、华文楷体、仿宋、仿宋_GB2312、方正仿宋简体、朱雀仿宋、 霞鹜文楷、孤鹜别体
界面字体 — 中文 · 手写创意(11)
华文行楷、华文琥珀、华文彩云、隶书、方正卡通体、方正综艺体、 阿里巴巴刀隶体、汉仪尚巍手书、演示春风楷、沐瑶随心手写体、沐瑶软笔手写体
界面字体 — 西文 · 衬线(14)
Times New Roman、Cambria、Georgia、Garamond、Palatino Linotype、 Book Antiqua、Baskerville、Didot、Bodoni MT、Goudy Old Style、 Rockwell、Century Schoolbook、Bookman Old Style、Constantia
界面字体 — 西文 · 无衬线(19)
Arial、Calibri、Verdana、Tahoma、Segoe UI、Helvetica、Trebuchet MS、 Futura、Century Gothic、Gill Sans、Franklin Gothic、Lucida Sans、Candara、 Corbel、Optima、Avant Garde、Geneva、Arial Narrow、Bahnschrift
界面字体 — 西文 · 展示手写(9)
Comic Sans MS、Brush Script MT、Lucida Handwriting、Segoe Script、 Segoe Print、Copperplate、Impact、Arial Black、Papyrus
代码字体(30 个等宽)
Consolas、Cascadia Code、Cascadia Mono、JetBrains Mono、Fira Code、 Fira Mono、Source Code Pro、IBM Plex Mono、Roboto Mono、Ubuntu Mono、 Inconsolata、Hack、Droid Sans Mono、DejaVu Sans Mono、Liberation Mono、 PT Mono、Space Mono、Victor Mono、Iosevka、Maple Mono、SF Mono、Menlo、 Monaco、Meslo、Courier New、Cousine、更纱黑体 Sarasa Mono SC、 等距更纱黑体 Sarasa Term SC、思源等宽 Noto Sans Mono、霞鹜文楷等宽
原理
Web shell 的所有字号 token(--dsw-font-*、--dsw-font-markdown-*)都引用
:root 上的两个变量;插件注入一个 <style> 覆盖这两个变量,一处生效、全局换肤,
不打包任何字体文件、不联网、不涉及付费字体。选择存于 localStorage
(dsh-font:ui / dsh-font:code)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Small-tailqwq/dsh-deep-whale
d-dev0101/open-sea-skin
kingOfSoySauce/dsh-liang-skin
RevolutionLA/dsh-dream-skin
Fishquito7/dsh-skill-mcp-panel
01Virex/dsh-status-rotator
ymh0000123/dsh-theme-endfield
SLin-code/dsh-custom-skin