RainbowDashy/dsh-theme-palettes0

dsh-theme-palettes

Palette infrastructure for DeepSeek Harness: scheme-mapped theme palettes with built-in VSCode Red and a third-party registration API

AI 분석

核心用途是为 DSH 提供灵活的主题调色板映射与切换机制。适合想要自定义界面配色或开发第三方主题的开发者和用户。

패키지
dsh-theme-palettes
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RainbowDashy/dsh-theme-palettes

Usage

This package never touches the Appearance picker and never registers a theme id there. Instead it maps the resolved color scheme onto a palette via one theme.overrideTokens layer:

  • Dark appearance uses vscode-red by default; light appearance stays on the stock (default) palette.
  • System resolves to light or dark via the OS and re-fires when the OS scheme flips.
  • Changing the Appearance preference (light/dark/system) re-maps the palette immediately.
  • A mapping that references an unregistered id is fail-soft: it behaves as default.
  • Removing the plugin restores the stock palette.

Because the palette is layered over the active theme via overrideTokens, it wins per-token for as long as the plugin is loaded.