me9rez/dsh-pwsh-style0

dsh-pwsh-style

Restyle pwsh tool-call cards in DSH session replies (CSS-injection + optional DOM decoration), modeled on dsh-file-mentions

包名
dsh-pwsh-style
版本
0.1.0
许可证
MIT
最近更新
2026年8月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:me9rez/dsh-pwsh-style

配置

打开 DSH Web GUI → 设置,找到本插件的配置卡片。

配置项说明
启用开关插件整体效果
主题八套预设,见下表
字体下拉框,来自系统已安装字体(重启 dsh web 后刷新;枚举失败回退内置常用列表),末项「默认等宽字体」恢复内置栈
字号11–16px
字重300(细)/ 400(常规)/ 500(中)/ 600(半粗)/ 700(粗)

主题

主题背景前景强调色
ps-blue#161b29#dbe4ff#2b6cff
monokai#272822#f8f8f2#a6e22e
classic跟随 DSH 当前主题--
dracula#282a36#f8f8f2#bd93f9
nord#2e3440#d8dee9#88c0d0
tokyo-night#1a1b26#a9b1d6#7aa2f7
solarized-dark#002b36#93a1a1#b58900
github-light#f6f8fa#1f2328#0969da

主题只通过 --pwsh-panel-* 变量作用于插件自有元素(徽标、工具条、命令面板);原生 pwsh 终端配色、官方 --dsw-*/--dsl-* token 一律不覆盖。唯一的例外是字体——为让命令提示行与输出区跟随所选字体,会整体覆盖官方 token --dsw-font-markdown-code-block-small(仅 font 呈现,不改任何颜色,默认值时不注入任何样式)。