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。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • 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 穿上它。"

License: MIT Stars Version DeepSeek Harness Tailwind CSS v4 shadcn/ui DSH tokens


🎨  你在 tweakcn.com 设计了一款惊艳的 shadcn/ui 主题,但 DSH 还穿着默认灰?
🧩  你总在圆角主题和粗野主义直角主题之间切换,每次都要手改 CSS?
🌗  你想让主题的浅色/深色配色跟随 DSH 外观切换——还不想看到直角圆角错乱、侧栏黑字深底不可读?

✨ 粘贴一次,整个应用换肤。


一个 DeepSeek Harness 客户端插件:把 tweakcn.com 导出的 index.css 映射到 DSH 语义设计 token —— 配色 · 圆角 · 阴影 · 字体,并支持保存主题随时切换。

index.css → 约 78 个 --dsw-* token → 浅色/深色都跟随你的「外观」偏好


🎨 功能 · ⚡ 安装 · 🚀 使用 · 🗺️ 映射表 · ❓ 常见问题 · 🗺️ Roadmap · 🔧 原理 · 🧪 测试

English


🔷 2026.08.16 — v0.1.0 发布。 粘贴 tweakcn.com 的 index.css,配色 · 圆角 · 阴影 · 字体 全部映射到 DSH 语义 token;支持保存/切换/编辑多套主题;递归 CSS 解析器(合并 :root, .dark 块、@media prefers-color-scheme、:not(.dark));侧栏可读化 + 解析反馈;启动安全、本地优先。已上线 DSH 插件市场。

⭐ 觉得好用? 给仓库点个 Star,让更多人看到它。

Created by @AIRIKE1 · 已上线 DSH 插件市场


🎨 功能

🎨 粘贴即用 把 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 →

← 上一个 Prev dsh-memory-lite 下一个 Next dsh-side-chat-plus-plus →