RainbowDashy/dsh-theme-palettes ↗★ 0
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 提供灵活的主题调色板映射与切换机制。适合想要自定义界面配色或开发第三方主题的开发者和用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RainbowDashy/dsh-theme-palettesドキュメント
README 全文を読む ↗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-redby 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.