nguyenduclong-ict/dsh-plugin-custom-css ↗★ 0
dsh-plugin-custom-css
DeepSeek Harness 的自定义 CSS 注入插件:在设置中提供开关和 CSS 文本框,实时注入 Web GUI
AI 分析
核心用途是允许用户在设置中直接编写并实时应用自定义 CSS 样式,以调整 DSH 的界面外观。适合有前端样式微调或个性化主题定制需求的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nguyenduclong-ict/dsh-plugin-custom-css说明文档
阅读完整 README ↗3. Usage
- Open Settings (sidebar foot) → the Custom CSS row in the left nav.
- Flip Enable custom CSS on.
- Paste or write CSS into the textarea. It is injected immediately.
- Close the modal — the styles stay applied and are restored on the next launch.
Example snippets
/* Recolor the brand accent */
:root {
--dsw-alias-brand-primary: #22d3ee;
}
/* Wider, calmer conversation column */
[data-conversation-scroll] {
font-size: 15px;
line-height: 1.7;
}
Design tokens available to a snippet are the Harness CSS custom properties
(--dsw-alias-*, --dsw-font-*), so a theme can stay consistent with whatever
light/dark variant DSH is using.