warmwine/dsh-ui-font 预览 preview

warmwine/dsh-ui-font

Plugin插件 Native原生 ⭐ 10 MIT UI & Themes界面与主题

给你的 DeepSeek Harness 网页界面换字体、调字号的小工具。专为看小字费劲的人打造:界面每个角落的字都能放大,而且不用猜"这个设置管哪块"——用准星点一下就知道。

catalog descriptioncatalog 简介 / catalog description:DSH老花眼插件,对眼睛不好看不了小字的朋友相当有善。

Project Overview项目介绍

This is a native UI font adjustment plugin built exclusively for the DeepSeek Harness (DSH) web client. Its core purpose is to let users customize the font family and size of every text element across the DSH interface. To install the plugin, you run the command dsh plugin --profile web add github:warmwine/dsh-ui-font via the DSH CLI, then restart the DSH web service after installation completes. The plugin has no external bundled dependencies; it only uses built-in Node.js modules on the host side and relies on DSH-provided React on the client side.

Users can pick separate fonts for general interface text and code from fonts already installed on their local system, and adjust a global font size offset that ranges from -3 to +20 pixels, with changes taking effect immediately. The plugin includes a unique crosshair selection tool: when activated, your cursor turns into a red crosshair, hovering over any text element shows its current type and size, and clicking opens an inline adjuster to tweak the size directly. This tool is especially useful for users who want fine-grained control over specific text elements that don’t match their preferred global size setting.

All user configurations, including font selections, size offsets, and custom hotkeys, are saved to DSH’s main settings.yaml file, so they can be synced across devices and backed up with the rest of your DSH configuration. The plugin does not bundle any font files, so it will automatically fall back to the system default font stack if a selected font is missing. It is released under the open source MIT license, and has known limitations: it does not support adjusting fonts in xterm terminals or iframe-rendered web previews, and will defer to font settings from active DSH themes.

这是一款专为 DeepSeek Harness(DSH)网页界面打造的原生字体调整插件,核心功能是替换界面字体、调整全局和局部字号,适配觉得默认界面字号太小看不清文字的用户需求。它允许用户分别从系统已安装字体中挑选普通文本和代码的字体,提供从-3到+20像素的全局字号偏移滑块,拖动即可即时生效,还独创了准星选取功能,点击任意界面区域就能对应当前区域调整字号。

开启准星选取后,鼠标会变为红色准星,悬停任意区域都会显示红框标注和当前文字类型、字号信息,点击后弹出悬浮调整条,增减字号所见即所得。调整后的所有区域偏移会自动记录,最终实际缩放为全局偏移加对应区域的单独偏移,还支持自定义配置三个快捷键,分别触发准星选取、全局增减字号。本插件适合对默认界面字体、字号不满意,需要精细化调整 DSH 界面显示的用户使用。

本插件需要通过 DSH 命令行安装,命令为 dsh plugin --profile web add github:warmwine/dsh-ui-font,安装后需重启 DSH web 服务。插件没有额外捆绑依赖,不包含字体文件,仅读取系统已安装字体,配置会存入 DSH 的 settings.yaml 随配置同步备份。它遵循 MIT 许可开放源代码,已知不支持 xterm 终端字体和 iframe 内网页内容调整,换肤插件激活时会以皮肤字体设置为准。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 10 stars - an early-stage project星标 10,属于早期项目
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:warmwine/dsh-ui-font

把 warmwine/dsh-ui-font 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-ui-font

Awesome DSH Plugin

给你的 DeepSeek Harness 网页界面换字体、调字号的小工具。专为看小字费劲的人打造:界面每个角落的字都能放大,而且不用猜"这个设置管哪块"——用准星点一下就知道。

效果

安装前 安装后
安装前 安装后

设置界面(侧边栏 → 设置 → 字体):

设置界面

它能干什么

字体随便换

界面上两处字体(普通文字和代码)分别从你电脑里装了的字体里挑。字体列表是实时读你系统的,装了新字体刷新一下就能看到;挑了个后来又卸载的字体,列表里会标"(未安装)",不会出乱子。

字号整体放大

一个滑杆管全局,-3 到 +20 像素,拖动立即生效。聊天记录、代码块、侧边栏、设置页、各插件面板——页面上所有文字一起变大。

🎯 准星选取:点哪调哪

这是解决"我根本不知道这块界面归哪个设置管"的功能。

设置页里点「选取区域」,或者按你自己设的快捷键(见下),鼠标会变成一个红色准星。这时候把鼠标移到界面任何地方:

  • 鼠标划过哪里,哪里就亮起红框
  • 旁边小气泡告诉你:这块文字是什么类型、现在字号多大
  • 点一下,原地弹出一个悬浮条,上面有 − 和 + 两个按钮,按一下字就变一次,所见即所得
  • 调完点「完成」,或者按 ESC / 右键 / 点别处退出

点下去会发生什么,取决于那块文字的字号是怎么定义的,选取器会自动选最合适的调法:

你点的文字 悬浮条显示 调整范围
聊天正文、标题、行内代码、代码块 "聊天正文 / 标题一 / 行内代码 / 代码块(文字类型)" 同类文字全局统一变——聊天和轨迹视图里的正文是一套,改一处全都跟着
底部 LLM 用量条、用户气泡、各插件的边框标签 "插件名 · 具体组件名" 只动这一个组件——比如把用量条调大而气泡不动,完全可以
其他兜不到的 "主界面(全局偏移)" 跟全局滑杆走

比如你觉得聊天记录里的代码块字太小,但工具栏的按钮字又刚好——先点代码块加几个加号,再点工具栏单独减回去,互不影响。

每块界面单独微调

准星点过的区域会记在设置页的「按界面区域微调」列表里。这个列表其实包含了页面上所有带样式的插件,每行左边是插件名和一句话介绍(自动读自各插件自己的描述),右边是一个步进器:

[合计 +6]  [−]  ±0  [+]  [✕]

所有区域的实际缩放 = 全局偏移 + 该区域的个体偏移,两者叠加。 左边的"合计"胶囊就是最终生效的数值。举例子:全局 +6 让整个界面变大,但你不想让代码区跟着变大——找到它那行,个体调到 -6,合计就是 0,代码区保持原样,其他地方照样 +6。

快捷键自己录

三个快捷键槽位,都在设置页里配,默认全部留空(不占任何键):

  • UI 捕捉:召唤准星选取。为什么要自己设?浏览器和编辑器的搜索键基本都是 Ctrl+F 系,写死默认键太容易撞车
  • 字号放大 / 缩小:按一下全局偏移 ±1px,随时调字号不用开设置。旁边有 Ctrl = / Ctrl - 一键预填——用了之后浏览器同键位的页面缩放就被本插件接管(毕竟咱们的字号偏移就是浏览器缩放的精细替代品)

每个槽位都支持自由录制(点「录制」再按组合键,需含 Ctrl/Alt/Meta 之一)。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-llm-github-copilot 下一个 Next dsh-zen-remote →