secyborg/dsh-compact-chat-ui ↗★ 0
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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:secyborg/dsh-compact-chat-ui说明文档
阅读完整 README ↗使用
设置 → 插件 → 可配置 tab → “聊天区排版”卡片:
| 滑杆 | 范围 | 默认 | 原始值 |
|---|---|---|---|
| 字号 | 11–18px | 15px | 16px |
| 行高 | 1.20–2.00 | 1.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();