dshbase

Plugin directory / UI & Skins / dsh-font-size

dsh-font-size

Verified · install-tested on dsh chengoak

✓ Actively maintained 2 contributors

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-24Last push
Cross-platformPlatform

What it does

DSH Web GUI plugin: 'Conversation font size' slider (12-22 px) in Settings → General.

✅
Our take
Works — verified, early-stage project

DSH Web GUI plugin: 'Conversation font size' slider (12-22 px) in Settings → General. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-font-size

DeepSeek Harness 聊天字体大小调节插件。「设置 → 通用」新增一行滑块,12–22 px,拖动立即生效。

默认 16 px 调至 22 px
16px 22px

设置面板

它能干什么

聊天消息(用户气泡 + 助手正文)统一放大/缩小。12–22 px,整数步进。设置存在浏览器本地(localStorage),换浏览器或清空站点数据回到默认 16 px。

工作原理

MessageItem.module.css 和 AssistantMarkdown.module.css 把 font-size: 16px 硬编码了,没暴露 CSS 变量。插件注入一段全局 <style> 用属性选择器覆盖,!important 赢级联。不改 core 源码。

目录

dsh-font-size/
├── package.json
├── cordis.patch.yml
├── lib/index.js        # 宿主半边
├── lib/client.js       # 浏览器半边
├── docs/               # 截图
└── README.md

安装 / 卸载

# 安装
dsh plugin --profile web add github:chengoak/dsh-font-size

# 本地开发
dsh plugin --profile web add link:$(pwd)

# 卸载
dsh plugin --profile web remove dsh-font-size

装完重启 dsh web(dsh web --port 3080),打开 http://127.0.0.1:3080/,「设置 → 通用」里就能看到「对话字体大小」一行。

lib/ 已 build 进 git,安装无需构建授权。从 deepseek-harness 源码仓库跑 dsh 时,把上面 dsh 替换成 pnpm dsh。

更新记录

v0.1.1(2026-08-22)

  • 修复:AI 回复正文字号不生效。 原选择器锚定 [data-streaming],但助手回复实际渲染在 _markdown_* 类下,匹配 0 个节点。新增 [class*="_root"] [class*="_markdown"] 规则,用户气泡与助手正文均生效,侧边栏/设置面板/输入框不受影响。

已知边界

  • 跨浏览器/跨设备不共享字号。
  • 只覆盖聊天消息,侧边栏/设置面板/输入框不动。
  • 核心样式未来若改成 CSS 变量,选择器会失效,需同步更新。

License

MIT.

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-font-size for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:chengoak/dsh-font-size

Headless (CLI) profile:

dsh plugin --profile headless add github:chengoak/dsh-font-size

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in UI & Skins

Browse all 7819 plugins →