中文EN

dsh-opencode-palette

theme已测通过npmMIT

🌹将opencode的38款主题搬进DSH,明暗兼收:东京之夜沉静、卡布奇诺轻柔、禅燃护眼;另备25款主题胶囊,原神、原神·夜航、库洛米、哆啦A梦、HelloKitty、哈利波特、赛博朋克2077、龙珠、火影忍者、火影忍者·暗部、海贼王、宝可梦、美少女战士、星球大战、变形金刚、奥特曼、塞尔达传说、超级马里奥、超级马里奥·夜行、新世纪福音战士、新世纪福音战士·晴空、乐高、漫威、DC、迪士尼,各有其魂;每款主题都可逐色细改,打造属于您的专属主题。

下载量 / Downloads
8,175
依赖体积 / node_modules
3.91 MB
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1

安装

dsh plugin --profile web add dsh-opencode-palette

沙箱测试结果

阶段结果
1 安装✓
2 列装✓
3 挂载✓
4 启动—

四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。

README

<h1 align="center">🎨 dsh-opencode-palette</h1>

<div align="center">

🌐 [中文](../README.md) · [English](README.en.md)

38 themes for DSH, one click.

38 款配色,一键给 DSH 换装。

Your ⭐ is the brightest star in my night sky.

![npm](https://www.npmjs.com/package/dsh-opencode-palette)

![downloads](https://www.npmjs.com/package/dsh-opencode-palette)

![last-commit](https://github.com/FeatherHunter/dsh-opencode-palette/commits/main)

![themes](https://github.com/anomalyco/opencode)

![Issues welcome](https://github.com/FeatherHunter/dsh-opencode-palette/issues)

</div>

<h2 align="center"><sub>INSTALL</sub><br>Get started in three steps</h2>

# 1. install the DSH CLI first (skip if you have it)
npm install -g @deepseek-ai/dsh

# 2. add the plugin to your profile
dsh plugin --profile web add dsh-opencode-palette

# 3. restart DSH once it's installed (or refresh the browser page)

① Install the plugin.

② Open “OpenCode Palette”. Settings → Plugins → OpenCode Palette

③ Pick a theme you like.

<h2 align="center"><sub>DEMO</sub><br>Basic usage demo</h2>

The 7 videos below reuse the same URLs as the Chinese page (recorded in the Chinese UI); all collapsed by default — expand to watch.

<details>

<summary>Basic usage demo: expand for 7 short videos</summary>

<details>

<summary>Install the plugin</summary>

Follow the video to install the plugin and restart once.

https://github.com/user-attachments/assets/3332e166-ecdc-4a3a-877b-154a2614dd03

1. Run dsh plugin --profile web add dsh-opencode-palette to add the plugin to your profile.

2. Restart DSH (or refresh the browser page).

3. Open "OpenCode Palette" and confirm the panel opens.

</details>


<details>

<summary>Change fonts and size</summary>

Mono vs regular, and sizes from 11–24 px.

https://github.com/user-attachments/assets/f6c17168-5b39-4a12-bf9b-f819db681055

1. Open the settings panel and find fonts and size.

2. Mono turns the whole interface monospaced, while Regular keeps monospace to code blocks.

3. Drag the size until it feels right.

</details>


<details>

<summary>Switch themes</summary>

Pick a theme in one click, applied instantly.

https://github.com/user-attachments/assets/b425fed9-1aab-43c3-ab70-726de38a9c1a

1. Open "OpenCode Palette" and browse 38 themes by color family.

2. Click the one you like; the interface switches instantly.

3. Changed your mind? Click another — switch anytime.

</details>


<details>

<summary>Create a custom theme</summary>

Tune 37 colors one by one with a live preview, then save your own capsule.

https://github.com/user-attachments/assets/349dba7f-4cdb-4281-b71c-c39c6f9dfccd

1. Click new: tune 37 colors one by one while the preview follows live.

2. Click an element in the preview and the matching row scrolls into view with the color picker.

3. Saved capsules land in <DSH_HOME>/opencode-palette/custom-themes/.

</details>


<details>

<summary>Edit a custom theme</summary>

Come back and re-tune a saved capsule; the interface wears the new colors at once.

https://github.com/user-attachments/assets/4ff48986-142f-404b-bb1b-70d948d95ba8

1. Open a saved custom theme for editing.

2. Change the colors you want; the preview updates instantly.

3. Save, and the interface wears the new colors at once.

</details>


<details>

<summary>Delete a custom theme</summary>

Remove capsules you no longer want; you can always rebuild one.

https://github.com/user-attachments/assets/5f2e42bb-7e5b-4bf2-b61a-600df5e47ba2

1. Select the custom theme you no longer want and delete it.

2. Confirm; the capsule disappears from the list.

3. Regret it? Rebuild one following the fourth video above.

</details>


<details>

<summary>AI-edit a custom theme</summary>

Recolor with one sentence, no manual tuning.

https://github.com/user-attachments/assets/542f3083-eb7e-4b60-8d1a-a142ef9a87e9

1. Open the AI editing entry of a custom theme.

2. Describe the palette you want in one sentence (for example "a warmer dark theme").

3. Check the preview; save if you like it, or ask again.

</details>

</details>

<h2 align="center"><sub>EXTENSIONS</sub><br>What the OpenCode themes come with</h2>

Feature · Details

IP theme capsules · 25 preinstalled: 原神 Genshin, 库洛米 Kuromi, 哆啦A梦 Doraemon, 哈利波特 Harry Potter, 赛博朋克2077 Cyberpunk 2077, 宝可梦 Pokémon, 龙珠 Dragon Ball… ready out of the box — pick one you like and use it as the base for your colors.

Build your own capsule · 37 slots, one at a time, with a miniature DSH preview on the right — click an element in the preview and the matching row on the left scrolls to the middle and opens the color picker; hover a slot on the left and that element lights up in the preview. Saved capsules land in <DSH_HOME>/opencode-palette/custom-themes/.

Fonts and size · Fonts sit apart from color: Mono (terminal look) turns the whole interface monospaced, Regular (interface look) applies monospace to code blocks only; size 11–24 px, and the code font can be picked from the fonts installed on this machine.

<h2 align="center"><sub>UPGRADE</sub><br>Upgrade</h2>

# upgrade to the latest (currently 2.1.12): one command per profile — web and desktop
dsh plugin --profile web update dsh-opencode-palette
dsh plugin --profile desktop update dsh-opencode-palette
# pin a specific version (swap the version number for the one you want):
dsh plugin --profile web add dsh-opencode-palette@2.1.12
dsh plugin --profile desktop add dsh-opencode-palette@2.1.12

Settings → Plugins → OpenCode Palette → Check for updates

<!-- MORE-START -->

<h2 align="cente

…(truncated)

以上内容来自 npm 上的 README,我们只做格式化,不改内容。

版本

npm 上共发布:53,最后更新 2026-11-01

链接

GitHub · Homepage · npm

同类插件