linshufan21/dsh-ui-font
linshufan21★ 1JavaScript最后同步: 2026-08-16
DSH 字体插件:界面字体/代码字体/显示比例/行高/字体浏览器 | DSH font plugin: UI/code fonts, display scale, line-height, font browser with CJK glyph marking
README 摘要
dsh-ui-font — DSH 字体插件 DSH Font Plugin English : A client plugin that restyles the whole DSH UI — UI/code fonts, display scale, line-height, font smoothing, code ligatures, and a font browser with CJK glyph marking (Settings → Fonts). 中文 : 修改整个 DSH 界面文字显示效果的客户端插件(设置 → 字体 / Fonts)。 功能 - 正文字体 :预设(微软雅黑 / 苹方 / 等线 / 思源黑体 / 更纱黑体 / 思源宋体 / 霞鹜文楷 / HarmonyOS Sans / MiSans)或自定义字体栈 - 代码字体 :预设(Cascadia Code / Consolas / JetBrains Mono / Fira Code / 更纱等宽 SC / Maple Mono / Maple Mono NF)或自定义 - 显示比例 :80–130% 等比缩放( zoom ,默认 100% = 无变化) - 聊天区行高 :1.3–2.0 - 字体平滑 :抗锯齿开关 - 代码连字 : font-variant-ligatures - 字体浏览器 :自定义字体时可打开子窗口,以列表形式展示本机所有已安装字体(每项用自身字形预览),点击即应用;枚举失败时自动降级为常见字体名单 - 中文字形标记 :字体浏览器中无中文字形的字体带「英文」角标,选择时会提示,避免中文显示回退 - 应用反馈 :应用按钮显示「已应用 ✓ / 无效输入 / ⚠ 无中文字形」,不再静默失败 - 输入框字体跟随开关 :默认关闭(避免输入法组合时光标错位);开启后输入框使用正文字体 - markdown 全覆盖 :智能体回复的正文、标题、列表、表格、链接等全部跟随正文字体(代码块保持等宽字体) - 实时预览 + 恢复默认 所有设置存浏览器 localStorage ( dsh-ui-font: ),刷新保持。 架构 - lib/client.js — 浏览器端:设置分类注册 + 样式注入(静态规则一次注入,之后仅更新 CSS 变量,避免高频重建) - lib/index.js — 宿主端空实现(纯客户端插件) - cordis.patch.yml — bundle patch:把插件注册进 loader( insert ),供 dsh-client-modules 发现 client bundle - package.json — dsh.bundle.patch + dsh.client 声明 关键约定(与 DSH rc.6 匹配) - exports.inject…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,271
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,588
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,692