dsh-opencode-palette 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/lib/client.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,13 +27,15 @@ npm install -g @deepseek-ai/dsh
|
|
|
27
27
|
|
|
28
28
|
# 2. add the plugin to your profile
|
|
29
29
|
dsh plugin --profile web add dsh-opencode-palette
|
|
30
|
+
|
|
31
|
+
# 3. restart DSH when done (or refresh the browser page)
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
**① Install
|
|
34
|
+
**① Install the plugin.**
|
|
33
35
|
|
|
34
|
-
**② Open
|
|
36
|
+
**② Open “opencode调色板”.** Settings → Plugins → opencode调色板
|
|
35
37
|
|
|
36
|
-
**③ Pick a theme
|
|
38
|
+
**③ Pick a theme you like.**
|
|
37
39
|
|
|
38
40
|
<h2 align="center"><sub>THEMES</sub><br>Themes</h2>
|
|
39
41
|
|
|
@@ -41,13 +43,11 @@ dsh plugin --profile web add dsh-opencode-palette
|
|
|
41
43
|
|
|
42
44
|

|
|
43
45
|
|
|
44
|
-
<h2 align="center"><sub>EXTENSIONS</sub><br>
|
|
46
|
+
<h2 align="center"><sub>EXTENSIONS</sub><br>What the opencode themes come with</h2>
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
**Plenty of fonts.** Typography is its own dimension: apply it to all text or code only, 11–18 px, your pick of code font — orthogonal to color, kept across restarts.
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
- **An easy way back.** “Native look” restores DSH in one click: it overrides no colors, it only keeps your typography setup.
|
|
50
|
-
- **A panel you can find.** 38 entries grouped by color family, searchable, and following your DSH interface language (中文 / English).
|
|
50
|
+
**A panel you can find.** 38 entries grouped by color family, searchable, and following your DSH interface language (中文 / English).
|
|
51
51
|
|
|
52
52
|
<h2 align="center"><sub>UPGRADE</sub><br>Upgrade</h2>
|
|
53
53
|
|
package/lib/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* dsh-opencode-palette v2.0.
|
|
2
|
+
* dsh-opencode-palette v2.0.1 — 浏览器半(构建产物,勿手改)
|
|
3
3
|
* 数据驱动管线:opencode v1.18.12 官方主题 JSON → 颜色解析 → DSH 适配注入
|
|
4
4
|
* 面板「检查更新」:dsh-plugin-update 客户端入口经构建期内联(vendor)
|
|
5
5
|
* 源:src/engine/* + runtime/*.mjs + npm 包 dsh-log / dsh-plugin-update 的客户端入口
|
|
@@ -9963,7 +9963,7 @@ const STORAGE_KEY = 'dsh.opencode-palette.v2'
|
|
|
9963
9963
|
const LEGACY_STORAGE_KEY = 'dsh.opencode-tui-theme.v2'
|
|
9964
9964
|
const DEFAULT_STATE = { enabled: true, theme: 'opencode', mode: 'mono', size: 13, fontKey: 'JetBrains Mono' }
|
|
9965
9965
|
// 构建时由 scripts/build-client.mjs 替换为 package.json 版本(面板底部署小字)
|
|
9966
|
-
const PALETTE_VERSION = '2.0.
|
|
9966
|
+
const PALETTE_VERSION = '2.0.1'
|
|
9967
9967
|
|
|
9968
9968
|
function getReact() {
|
|
9969
9969
|
if (typeof require === 'function') { try { return require('react') } catch (e) { /* 动态版无 require */ } }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-opencode-palette",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "让 DeepSeek Harness 穿上 38 款经典皮肤——东京的霓虹夜色、德古拉的暗红月光、复古工坊的暖黄灯火、黑客帝国的数字雨、玫瑰松林间的风……一键换肤,即点即换,重启不丢。38 legendary skins for DeepSeek Harness — tokyonight's neon dusk, dracula's crimson moon, gruvbox's retro glow, the matrix's digital rain, rose-pine's rosewood calm… one click, instant, persisted.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|