lzylyd / dsh-dracula

목록에 있음

A third-party Dracula dark theme for the DeepSeek Harness web UI

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:lzylyd/dsh-dracula

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 d034951동기화 2026. 8. 18.

dsh-dracula

A third-party Dracula dark theme for the DeepSeek Harness web UI. Dark-only, covers the full --dsw-alias-* layer plus --shiki-* syntax highlighting, and ships a "Themes" settings page for switching.

Quick read (for agents)

  • What it is: a DSH bundle npm package that registers a third-party theme (dracula) through the client theme service ctx.theme.register(...), recolouring the whole web UI by overriding --dsw-alias-* and --shiki-* CSS tokens.
  • Shape: one package is both the bundle and the client plugin — package.json declares dsh.bundle.patch (→ cordis.patch.yml) and dsh.client (→ ./client).
  • Files: src/client.tsx (theme registration + settings page + persistence), src/index.ts (empty host half), cordis.patch.yml (one self-referential row dsh-dracula).
  • Persistence: localStorage key dsh.dracula-theme.preference mirrors every theme/change; restores on startup, defaults to dracula on first run. Guarded against quota/privacy/parse failures.
  • Build: pnpm install && pnpm build (tsdown → lib/client.js, lib/index.js).
  • Install on another DSH: dsh plugin --profile web add dsh-dracula.

Install / use

dsh plugin --profile web add dsh-dracula
dsh web

Then open Settings → Themes to switch between Light / Dark / System / Dracula.

Develop

pnpm install
pnpm build      # or: pnpm watch

Publish

Tag a v* release; GitHub Actions runs pnpm install && pnpm build && pnpm publish using the NPM_TOKEN secret.

Design record

See ../doc/CONTEXT.md (glossary) and ../doc/adr/0001-dracula-theme-persistence.md (persistence decision).

저장소 정보

언어
TypeScript
라이선스
보고되지 않음
마지막 업데이트
2026. 8. 13. 오후 7:51

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.