secyborg/dsh-compact-chat-ui0

dsh-compact-chat-ui

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. The composer and the rest of the shell keep their native sizes.

包名
dsh-compact-chat-ui
版本
0.7.1
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:secyborg/dsh-compact-chat-ui

使用

设置 → 插件 → 可配置 tab → “聊天区排版”卡片:

滑杆范围默认原始值
字号11–18px15px16px
行高1.20–2.001.50~1.75
块间距25%–150%50%100%

改动即时生效并自动保存(localStorage),也可用控制台:

localStorage.setItem("dsh-compact-chat-ui:px", "14");  // 字号
localStorage.setItem("dsh-compact-chat-ui:lh", "1.4"); // 行高
localStorage.setItem("dsh-compact-chat-ui:mg", "0.5"); // 块间距
location.reload();