nguyenduclong-ict/dsh-plugin-custom-css0

dsh-plugin-custom-css

DeepSeek Harness 的自定义 CSS 注入插件:在设置中提供开关和 CSS 文本框,实时注入 Web GUI

AI 分析

核心用途是允许用户在设置中直接编写并实时应用自定义 CSS 样式,以调整 DSH 的界面外观。适合有前端样式微调或个性化主题定制需求的用户。

包名
dsh-plugin-custom-css
版本
0.1.0
许可证
MIT
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nguyenduclong-ict/dsh-plugin-custom-css

3. Usage

  1. Open Settings (sidebar foot) → the Custom CSS row in the left nav.
  2. Flip Enable custom CSS on.
  3. Paste or write CSS into the textarea. It is injected immediately.
  4. 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.