DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-font-size

c

dsh-font-size

Manifest valid

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

UI (client)hasBundlePatch

dsh-font-size

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

默认 16 px调至 22 px
16px22px

设置面板

它能干什么

聊天消息(用户气泡 + 助手正文)统一放大/缩小。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.

Comments

Loading…

Similar plugins

dsh-wide-conversation

by yunxiyang

DSH web client plugin: pins the conversation column to a configurable percentage of its width (default full width) instead of the built-in 680-920px reading measure.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-wide-conversation

by AprilCrystal

Conversation font-size controls for the DeepSeek Harness Web UI: a composer-row stepper, keyboard shortcuts, and Ctrl+wheel zoom, all writing through the theme service's setFontSize

UI & ExperienceTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-client-ui-font-scale

by alexzshl

Resizable DSH settings dialog: size presets plus width/height sliders in Settings → General, persisted per browser

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-settings-size

by secyborg

DSH web plugin: a settings card to tune chat reading density — font size, line height, and block spacing of the conversation area (assistant markdown + user bubbles), applied live

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Aug 28, 2026

dsh plugin --profile web add dsh-compact-chat-ui

by LyaxZ

Font plugin for the DeepSeek Harness Web GUI: the conversation gets its own font, size, line height and weight, the interface has a font and a weight of its own and follows the conversation by default

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 7

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-fonttune

by chen-001

Adjust the width of dsh's reply.

UI & ExperienceManifest valid

★ 6

BSD-3-Clause

TypeScript

Aug 13, 2026

dsh plugin --profile web add @chen-001/dsh-chat-width