dsh-exv-flat-corners
把界面里所有圆角去掉。
dsh-exv-flat-corners 当前版本 2.4.2,最后发布 2026-11-13;安装命令与区间取自它自己的清单。
安装
dsh plugin add dsh-exv-flat-corners 只往 profile 清单里写一行依赖,随后 pnpm 把它解到 $DSH_HOME/profiles/<名字>/node_modules。
dsh plugin --profile web add dsh-exv-flat-corners兼容区间
dsh-exv-flat-corners 的 engines.dsh 声明的是 >=0.2.2-rc.1 <0.3.0;先跑 dsh --version 对一下——超出这个区间,启动时会跳过它并打印要求,不会带着跑。
两个插件打架时
纯 CSS 覆盖,把圆角归零。dsh-custom-theme 也用自己的样式表设圆角;两个同优先级的样式表,决定结果的是加载顺序,不是你的意图。
作者与仓库
作者 VMWHW,仓库 https://github.com/VMWHW/dsh-exv-theme,包页 https://www.npmjs.com/package/dsh-exv-flat-corners。
装完会看到什么
它没有声明 dsh peer,在设置页渲染主题与背景选择;装完 dsh plugin add dsh-exv-flat-corners,dsh --profile web --dump-config 能列出挂载它的 dsh-exv-flat-corners 那一行。
它读写的文件
dsh-exv-flat-corners 的清单里没有存储相关的 peer,所以能指认的文件只有 $DSH_HOME/profiles/<名字>/package.json 里那一行依赖;包说明里没写别的。
怎么卸掉
卸掉 dsh-exv-flat-corners 用对称的那条命令 dsh plugin --profile web remove dsh-exv-flat-corners。它的清单里没有存储相关 peer,不会往 $DSH_HOME 写东西,卸完没有残留。
常见问题
它和 dsh-custom-theme 会打架吗?
就 dsh-exv-flat-corners 而言,建议留 dsh-custom-theme:一份你自己拥有的样式表,胜过一份把外观写死的。
哪些 dsh 版本会加载它,区间外会怎样?
在 >=0.2.2-rc.1 <0.3.0 里,命令行会加载 dsh-exv-flat-corners;超出这个范围时启动会停下并打印要求,不会带着它跑。愿意担风险就用 dsh plugin allow-version dsh-exv-flat-corners 单包放行。