suzike/freestyle-dsh-theme 预览 preview

suzike/freestyle-dsh-theme

Plugin插件 Native原生 ⭐ 11 BSD-3-Clause UI & Themes界面与主题

DeepSeek Harness 主题体验插件:OKLCH 主题提案 + 主题设计器(跨重启持久化)

Project Overview项目介绍

This is a native theme plugin built exclusively for the DeepSeek Harness (DSH) web GUI. It is based on the OKLCH color model, which allows independent control of hue, chroma, and lightness for more intuitive and perceptually uniform color adjustment. It ships with two core modules: a theme proposer with presets and smart suggestions, and an interactive theme designer that lets users customize every part of DSH’s interface. As a persistent hot-pluggable web plugin, all customizations are saved across DSH restarts, and it overrides all 85+ DSH design tokens for full interface theming.

The theme proposer includes 6 pre-built style presets and 8 generated smart proposals, and you can apply any theme by just clicking its preview card. The theme designer lets you adjust primary, secondary, and panel background colors on separate OKLCH channels, and supports extra utility features like color relationship derivation, channel locking, quick style variants, and AI-powered Chinese theme naming. You can also import and export custom theme configurations as JSON for sharing or migration across devices. After installation, you access the tool from DSH’s Settings → General → Theme → Custom menu.

To install the plugin, you first clone the repository to your local machine, then run pnpm install to install dependencies, followed by pnpm build to generate the host and client output files. Next, you add the plugin as a linked dependency to your DSH profile’s package.json, add the plugin registration entry to cordis.patch.yml, then re-run pnpm install and restart the DSH web process. The project uses semantic versioning, is released under the permissive BSD-3-Clause open source license, and requires Node.js version ^22.19 or >=24 to build.

freestyle-dsh-theme 是专为 DeepSeek Harness (DSH) 开发的原生 Web GUI 主题插件,基于 OKLCH 色彩模型构建,提供主题提案和主题设计器两大核心能力,支持用户一键换肤、自由调色。该插件以常驻 Web 插件形式热插拔安装,配置可以跨 DSH 重启持久保存,能全覆盖替换 DSH 所有设计令牌,包括背景层级、文字、边框、按钮、交互态、侧边栏等所有界面元素。

该插件自带 6 套风格预设和 8 套智能主题提案,任意卡片点击即可一键应用。主题设计器支持主色、副色、面板背景三个通道独立调节,还支持邻近/互补配色派生、通道锁定、快速变体、AI 生成主题名称、主题配置 JSON 导入导出等功能。安装完成后,用户可以通过 DSH 的「设置 → 通用 → 主题 → 自定义」路径进入功能面板使用。

安装该插件需要先克隆代码仓库,使用 pnpm 安装依赖后执行构建得到产物。接下来需要在你的 DSH 配置文件的 package.json 中添加插件依赖,并在 cordis.patch.yml 中追加插件注册,重新执行 pnpm 安装后重启 DSH web 进程即可。项目遵循语义化版本规范,采用 BSD-3-Clause 开源许可,要求 Node.js 版本为 ^22.19 或 >=24。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 11 stars - an early-stage project星标 11,属于早期项目
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:suzike/freestyle-dsh-theme

把 suzike/freestyle-dsh-theme 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

freestyle-dsh-theme

freestyle-dsh-theme banner

version license node

freestyle-dsh-theme 是 DeepSeek Harness (DSH) 的 Web GUI 主题体验插件:基于 OKLCH 色彩模型,提供「主题提案」与「主题设计器」两大能力,让用户一键换肤、自由调色。作为常驻 Web 插件热插拔安装,跨重启持久化。


✨ 特性

主题提案

主题提案 · 6 套风格预设 + 智能提案,点卡片即应用

主题设计器

主题设计器 · 主色 / 副色 / 面板 三通道独立调节

  • 🎨 OKLCH 配色模型 — 色相 / 彩度 / 明度三通道独立可控,直觉且色彩感知均匀
  • 🧭 配色关系 — 邻近 / 互补 / 分裂互补 / 三角色 一键派生副色与面板色
  • 🔒 通道锁定 — 锁定某通道后,随机与配色关系将跳过它
  • ⚡ 快速变体 — 柔和 / 鲜明 / 提亮 / 压暗 / 主副互换
  • 🤖 AI 命名 — 用默认模型为配色生成中文主题名 / 标签 / 介绍
  • 📋 JSON 导入导出 — 主题令牌可复制、可分享、可迁移
  • 🖥️ 设置面板放大 — 自动把设置弹框加宽到 1120px,显示更完整
  • ♻️ 持久化 — 常驻 Web 插件,重启 DeepSeek Harness 后仍然存在

📸 实际界面

以下为软件内真实设置页面截图(设置 → 通用 → 主题 → 自定义…)。

主题提案 · 实际界面

主题提案 · 6 套风格预设 + 8 套智能提案,点卡片即应用

主题设计器 · 实际界面

主题设计器 · 主色 / 副色 / 面板独立通道 + 实时预览 + 通道锁定 + JSON 导入导出


📐 架构

OKLCH 色彩模型

每套主题由三个通道的 OKLCH 值定义,映射到 DSH 的完整 --dsw-alias-* / --dsw-specific-* 设计令牌(约 85 个,明暗两套),实现全覆盖换肤——背景层级、文字层级、边框、按钮、交互态、状态色、侧边栏等全部随主题切换。

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-solution-explorer 下一个 Next dsh-remote →