DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-answer-style

d

dsh-answer-style

Manifest valid

Restyles only the model answers in the DSH Web UI: font family, body and heading weight, and a color for bold runs, with a one-click reset. Its HTTP routes have no DSH access check, so a web page open

UI (client)hasBundlePatch

dsh-answer-style · 回答字体

English | 中文

只改 DeepSeek Harness(DSH) 里「模型回答」的排版:字体、正文与标题字重、文字颜色(可选上色范围),随时一键恢复默认。你的消息、工具行和界面控件不受影响。

npm DSH license build network

截图

默认效果与思源宋体加蓝色/棕色加粗的对比

左边保持默认,右边换成思源宋体、标题加粗、只给加粗片段上色(蓝 #1d4ed8 / 棕 #b45309)。

设置页字体下拉
回答字体设置页字体下拉列表

功能

设置说明
字体分组预设:中文系统字体、西文系统字体、等宽、需自行安装的开源字体;也可读取本机已装字体,或自定义 font-family
字重正文与标题 h1–h6 各自独立,默认跟随主题
颜色预设色块、系统取色器,或直接填 #1d4ed8 / rgb(…);上色范围可勾选:加粗片段、标题、表头
开关一键启用/停用;「恢复默认」清空全部偏好并移除注入样式

作用范围是模型回答的正文(含思考过程、列表与表格),改动即时生效,偏好保存在 Host,所有浏览器与桌面端共用。

安装

# Web(推荐)
dsh plugin --profile web add dsh-answer-style

# DSH Desktop
dsh plugin --profile desktop add dsh-answer-style

# 或直接从 GitHub 装
dsh plugin --profile web add github:Luoqiaocong/dsh-answer-style

装完刷新页面;设置里没有「回答字体」就重启一次 dsh web。手动安装见 开发文档。

使用

  1. 打开 设置 → 回答字体
  2. 选字体、调正文与标题字重、给需要强调的部分挑颜色
  3. 想回到原样点「恢复默认」;单项还原用「跟随主题」/「默认」

兼容性

项目说明
DSH0.2.2-rc.1 及以上(写在 dsh.engines.dsh,安装时校验),0.2.x 系列
平台Web(Chrome / Edge / Firefox / Safari)与 DSH Desktop
系统Windows / macOS / Linux,字体以本机已安装的为准
依赖无运行时依赖;不打包字体、不联网、不采集数据

原理

  • 只作用于聊天中 [data-chat-flow-kind="assistant-step"] 这一行,所以用户消息与界面控件天然不受影响;
  • 改动通过一个 <style> 注入,恢复默认 = 删除它,不留残留;
  • 偏好由 Host 写在 ~/.dsh/answer-style.json(设置了 $DSH_HOME 就用它),多浏览器与桌面端共用;
  • 代码块保留自己的等宽字体与颜色,不会被覆盖。

实现细节(选择器、配置文件结构、配置路由)见 设计说明。

限制

  • 只覆盖模型回答,界面其他部分不变;
  • 字体必须是本机已安装的字体;
  • DSH 若调整聊天锚点或 Markdown 类名,需要同步改 lib/client.js 里的选择器。

开发

无需构建,改 lib/client.js 即可;npm run check 跑语法检查与零依赖冒烟测试。发布走 GitHub Actions(推 v* 标签)。详见 开发文档。

License

MIT

Comments

Loading…

Similar plugins

codex-ui4

No screenshots

codex-ui

by rinDBeans

DSH Web 的 Codex 化界面插件 · A Codex-style interface plugin for DSH Web

Themes & SkinsUI & ExperienceManifest valid

★ 4

↓ 28/wk

MIT

CSS

Oct 1, 2026

dsh plugin --profile web add codex-ui

by Anna-la

Clean-mode for the Web GUI: hover any element and right-click to remove it; removals survive reloads and are restorable from the settings page.

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 144/wk

MIT

JavaScript

Aug 28, 2026

dsh plugin --profile web add dsh-simplify

Mobile adaptation for the DSH Web UI: compact typography, full-width composer with caret fix, drawer sidebar with overlay-close, two-page settings flow, responsive tables and stats, safe touch targets

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add dsh-mobile-css
dsh-font-enhancer

No screenshots

by loyalchiiina

DIY your DSH UI fonts and colors: per-region styling, unified overrides, theme save and switch, random font and color.

Themes & SkinsUI & ExperienceManifest valid

★ 4

↓ 1.2k/wk

MIT

HTML

Nov 16, 2026

dsh plugin --profile web add dsh-font-enhancer
dsh-thinking-quips

No screenshots

by Saknutella

Personalises the DSH running-turn status line: rotating bilingual quips, a configurable animated loading icon (5 styles x 3 sizes) and one-click matching to the active theme colour, all in a General-s

Themes & SkinsUI & ExperienceManifest valid

★ 3

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-thinking-quips
dsh-background-by-model3

No screenshots

by HarmlessFunny

Per-model appearance for the DSH Web UI: an ordered rule list matched against the current session model name, each rule carrying its own wallpaper, theme colour, layout mode, framing and wallpaper opa

Themes & SkinsManifest valid

★ 25

↓ 1.5k/wk

MIT

TypeScript

Nov 15, 2026

dsh plugin --profile web add dsh-background-by-model