dshbase

插件目录 / UI & Skins / dsh-dracula-theme

dsh-dracula-theme

已验证 · 实测可装 ossFrankFrank

✓ 持续维护 基于 5 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-21最近推送
跨平台平台

功能简介

🧛 Dracula theme for DeepSeek Harness (DSH)

✅
我们的评价
可用 — 实测通过,早期项目

🧛 Dracula theme for DeepSeek Harness (DSH) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-dracula-theme

🧛 Dracula theme for DeepSeek Harness (DSH): the classic dark palette — plus the Dracula Soft variant — registered into the built-in theme runtime, with a one-click skin picker in Settings → General.

Features

  • Two faithful variants built from the official Dracula palette:
    • Dracula — the classic #282a36 canvas
    • Dracula Soft — the gentler #343746 background
  • Core logic adopted from the official Dracula DeepSeek port (MIT): the canvas/brand --dsw-static-* overrides and code-highlight palette are taken verbatim and translated into the DSH theme runtime. On top of that, full token coverage: neutral & canvas ramps, brand (purple), blue (cyan), red / green / amber state colors, alias surfaces, component-specific tokens (sidebar, bubbles, composer, menus) and the official Dracula syntax colors for code highlighting (--shiki-*).
  • One-click switching from Settings → General → Dracula theme, persisted across sessions.

Preview

Dracula skin applied to the DSH Web GUI

The classic Dracula canvas (#282a36) mapped onto the full DSH surface stack — sidebar, conversations, code blocks — with the purple/cyan brand accents from the official Dracula DeepSeek port.

Palette

Role Color
Background #282a36
Dark background (base canvas) #20212b
Current line / selection #44475a
Foreground #f8f8f2
Comment #6272a4
Purple (brand) #bd93f9
Pink (keyword) #ff79c6
Cyan (link) #8be9fd
Green (success) #50fa7b
Yellow (string) #f1fa8c
Orange (warn) #ffb86c
Red (error) #ff5555

Official spec alignment

The token mappings follow the official Dracula Syntax Highlighting Specification and the classic dracula/sublime convention:

Role Color
Keywords & storage Pink #FF79C6
Functions & methods Green #50FA7B
Classes & types Cyan #8BE9FD
Strings & text Yellow #F1FA8C
Numbers & constants Orange #FFB86C
Comments #6272A4
Variables & parameters Foreground #F8F8F2
Punctuation Foreground #F8F8F2
Diff inserted / deleted Green #50FA7B / Red #FF5555
Links Cyan #8BE9FD

UI surfaces follow the spec's current-line / selection distinction: text selection is #44475A (including the ::selection rule), the current-line highlight uses the opaque fallback #353747, and floating interactive elements use #343746 / #424450. Status colors (error/success/warning) deliberately follow the syntax palette like the official Dracula DeepSeek port, keeping the whole UI on one consistent palette.

Installation

# from npm (prebuilt, recommended)
dsh plugin --profile web add dsh-dracula-theme

# or from source
dsh plugin --profile web add https://github.com/ossFrankFrank/dsh-dracula-theme

Restart the profile, then pick the skin in Settings → General → Dracula theme.

DSH Desktop 2.0.4+ — DSH client packages moved to 0.1.2-alpha.1; 1.1.0 is
the first release compatible with that host (see CHANGELOG). On DSH Desktop,
install from the in-app plugin market instead of the CLI --profile web flow
(the desktop app now owns its own profile). Installing 1.0.0 on a 2.0.4 host
makes the app fail to start (plugin client bundle references the removed
@deepseek-ai/dsh-client-runtime module), so do not install the old version.

Development

npm run generate   # rebuild themes/*.json and lib/client.js from palette/dracula.json

The token tables are generated: edit the anchors in palette/dracula.json (colors, the official canvasRamp/brandRamp/codeTokens mappings, grayRamp, soft.background) and regenerate. lib/client.js is the browser bundle consumed by the DSH client runtime; lib/index.js is a no-op host entry.

License

MIT — see LICENSE. Structure modeled on dsh-catppuccin (MIT); token mapping adopted from the official Dracula DeepSeek port (MIT).

Development workflow

  1. Edit the anchors in palette/dracula.json — colors, the official canvas/brand/code mappings, grayRamp, soft.background.
  2. npm run generate — rebuilds themes/*.json and lib/client.js (the browser bundle).
  3. Validate: node scripts/check-themes.mjs (structural token check) — CI runs the same check plus a generated-artifacts diff.
  4. Test in a live profile: dsh plugin --profile web add /path/to/this/repo (local link), restart the profile, pick a skin in Settings → General → Dracula theme.
  5. Release: bump version in package.json, commit, push, pnpm publish, then update the profile to the published version (dsh plugin --profile web add dsh-dracula-theme) and restart the app. The profile installs from npm, not from the working tree — local edits only take effect after publishing or via a local link.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-dracula-theme」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:ossFrankFrank/dsh-dracula-theme

Headless(CLI)profile:

dsh plugin --profile headless add github:ossFrankFrank/dsh-dracula-theme

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →