AIRIKE1/dsh-client-ui-tweakcn
DSH Client Theme Plugin: Maps the index.css exported from tweakcn.com to DSH semantic tokens (colors/radii/shadows/fonts), supporting theme saving/switching/editing.
Project Overview项目介绍
dsh-client-ui-tweakcn is a native theme plugin built exclusively for DeepSeek Harness (DSH) desktop client. It enables users to apply custom shadcn/ui themes designed on tweakcn.com to their DSH installation. The plugin is listed in DSH’s built-in plugin marketplace, so users can install it with one click directly from DSH’s settings. It automatically maps design tokens from the exported index.css file, including color schemes, border radius, shadow sizes, and font families, to DSH’s native semantic design tokens, and respects DSH’s light/dark mode preference.
This plugin is ideal for users who want to fully customize the look and feel of their DSH client. The workflow is straightforward: after designing your custom shadcn/ui theme on tweakcn.com, export the index.css file (not the Next.js layout file, which does not contain theme data). Open the tweakcn theme section in DSH’s settings, paste the CSS content, and click apply to activate your new theme. It also automatically adjusts DSH’s sidebar text readability to avoid unreadable text caused by mismatched background and foreground colors. You can also save multiple named themes, switch between them at any time, and edit or delete existing saved themes.
In addition to one-click installation from DSH’s plugin marketplace, you can also install the plugin manually by cloning the repository to DSH’s plugin directory and updating your DSH profile’s bundle list. After any new plugin installation, you will need to restart DSH Desktop to generate the new startup bundle, as new plugins cannot be hot loaded. All theme configuration data is stored locally on your device, so there are no external dependencies or remote calls. The plugin includes error handling that ensures DSH will always start correctly even if the plugin encounters an issue. It is released under the permissive MIT open source license, and supports both DSH desktop and web profiles.
这是一款专为 DeepSeek Harness 打造的原生客户端主题插件,支持用户将在 tweakcn.com 设计好的自定义 shadcn/ui 主题应用到 DSH 客户端。它能把从 tweakcn 导出的 index.css 里的配色、圆角、阴影、字体等全部设计 token,自动映射到 DSH 原生语义设计 token,浅色/深色模式完全跟随 DSH 的外观偏好设置。
适合经常调整 DSH 外观、想要自定义主题的用户。使用流程非常简单:在 tweakcn.com 设计好主题后导出 index.css,粘贴到 DSH 设置里的「tweakcn 主题」分区,就能一键应用主题,还可以给主题命名保存,随时切换、编辑或删除已保存的自定义主题。
该插件已经上架 DSH 内置插件市场,可以一键搜索安装,也支持手动克隆安装到 DSH 的插件目录。所有主题数据都存储在本地,安全可靠,插件故障也不会影响 DSH 正常启动。项目采用 MIT 许可证开源,完全免费使用,目前支持 DSH 桌面版和网页版 profile。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-client-ui-tweakcn(AIRIKE1/dsh-client-ui-tweakcn)
仓库:https://github.com/AIRIKE1/dsh-client-ui-tweakcn
本站详情页:https://www.yhbd.top/plugins/airike1-dsh-client-ui-tweakcn/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-17 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:AIRIKE1/dsh-client-ui-tweakcn
把 AIRIKE1/dsh-client-ui-tweakcn 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🎨 dsh-client-ui-tweakcn
"在 tweakcn.com 设计主题 —— 复制 index.css 粘贴进来 —— 让 DeepSeek Harness 穿上它。"
🎨 你在 tweakcn.com 设计了一款惊艳的 shadcn/ui 主题,但 DSH 还穿着默认灰? |
✨ 粘贴一次,整个应用换肤。
一个 DeepSeek Harness 客户端插件:把 tweakcn.com 导出的 index.css 映射到 DSH 语义设计 token —— 配色 · 圆角 · 阴影 · 字体,并支持保存主题随时切换。
index.css → 约 78 个 --dsw-* token → 浅色/深色都跟随你的「外观」偏好
🎨 功能 · ⚡ 安装 · 🚀 使用 · 🗺️ 映射表 · ❓ 常见问题 · 🗺️ Roadmap · 🔧 原理 · 🧪 测试
🔷 2026.08.16 — v0.1.0 发布。 粘贴 tweakcn.com 的
index.css,配色 · 圆角 · 阴影 · 字体 全部映射到 DSH 语义 token;支持保存/切换/编辑多套主题;递归 CSS 解析器(合并:root, .dark块、@media prefers-color-scheme、:not(.dark));侧栏可读化 + 解析反馈;启动安全、本地优先。已上线 DSH 插件市场。
⭐ 觉得好用? 给仓库点个 Star,让更多人看到它。
🎨 功能
| 🎨 粘贴即用 | 把 tweakcn.com 导出的 index.css 粘贴进设置——配色、--radius、--shadow-* 阴影尺度和 --font-sans/--font-mono 字体全部自动映射(支持 oklch / hsl / hex;@theme、@layer 等无关内容自动忽略)。 |
| 💾 保存与切换 | 任何粘贴内容都能命名保存为主题;在 DSH 默认 / Violet(内置) / 已保存主题之间随时切换;支持 ✎ 编辑、✕ 删除。 |
| 🌗 浅色/深色 | 主题的 :root / .dark 值跟随 DSH「外观」偏好——合并选择器 :root, .dark { … } 也能正确处理,「浅色模式没效果」的问题已修复。 |
| 🔲 圆角适配 | --radius: 0px → 全直角(neo-brutalist);--radius: 1rem → 16px 圆角;圆形元素(状态点、徽章、开关、滑杆 thumb 等)保持圆形。 |
| 🌑 阴影适配 | --shadow-2xs…2xl 尺度 → --dsw-shadow-lv1/2/3(菜单、面板、卡片、输入框)——硬偏移阴影也支持。 |
| 🔤 字体适配 | --font-sans → 消息区等正文,--font-mono → 代码。 |
| 📊 解析反馈 | 点「应用/保存」后显示「已解析:浅色 N 项 / 深色 M 项」;粘贴了 layout.tsx 会明确报错提示。 |
| 🛡️ 启动安全 · 本地优先 | 本地状态是唯一权威,陈旧回包永远无法撤销你的选择;插件任何环节都不抛错,DSH 一定能正常启动。 |
| 🔗 tweakcn 直达按钮 | 一键打开 tweakcn.com 设计下一个主题。 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
reactive-resume/reactive-resume
ningbainb/deepseek-harness-desktop
elysia395/dsh-wallpaper-engine
ChisaAlter/Deepseek-Harness-Desktop
Nwflower/dsh-claude-style
rison114514/dsh-endfield-ui
Links2008/DeepSeek-Harness-Desktop
XCNXNXNX/dsh-portable-tavern