@nonamelego/dsh-catppuccin 0.1.0 → 0.1.2
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 +16 -12
- package/package.json +19 -2
package/README.md
CHANGED
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web GUI
|
|
21
21
|
(`dsh web`)的 [Catppuccin](https://github.com/catppuccin/catppuccin) 主题插件。
|
|
22
22
|
|
|
23
|
-
它内置 Catppuccin
|
|
23
|
+
它内置 Catppuccin 的四个主题——**Latte**、**Frappé**、**Macchiato**、**Mocha**——
|
|
24
24
|
把整个界面的配色都换成对应的 Catppuccin 色板;并在 **设置 → 常规 → 外观**
|
|
25
25
|
下方提供一行 **Catppuccin** 快捷切换,选择会自动保存、下次启动自动恢复。
|
|
26
26
|
|
|
27
27
|
## 特性
|
|
28
28
|
|
|
29
|
-
- 🎨
|
|
29
|
+
- 🎨 四个主题:Latte(浅色)、Frappé / Macchiato / Mocha(深色)
|
|
30
30
|
- 🧩 接入官方主题系统,与内置浅色 / 深色 / 跟随系统主题平级
|
|
31
31
|
- 🎯 全界面配色覆盖(162 个配色变量),不只是一两个强调色
|
|
32
32
|
- ⚙️ 设置页一行切换,选择自动保存、重启自动恢复
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
## 预览
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
四个主题在 DeepSeek Harness 中的实际效果(截图来自本地 GUI,Mocha 见文首大图):
|
|
38
38
|
|
|
39
39
|
<details>
|
|
40
40
|
<summary>🌻 Latte(浅色)</summary>
|
|
@@ -58,23 +58,27 @@
|
|
|
58
58
|
### 方式一:从 npm 安装(推荐)
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
|
-
dsh plugin --profile
|
|
61
|
+
dsh plugin --profile web add @nonamelego/dsh-catppuccin
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
装完重启 `dsh web` 即可,`dsh plugin` 会自动把它加进 profile 的 bundles。
|
|
65
|
+
其他 profile 把命令里的 `web` 换成对应名字即可(如 `headless`)。
|
|
65
66
|
|
|
66
67
|
### 方式二:从仓库安装
|
|
67
68
|
|
|
68
69
|
```sh
|
|
69
|
-
dsh plugin --profile
|
|
70
|
+
dsh plugin --profile web add https://github.com/NoNameLeGo/dsh-catppuccin
|
|
70
71
|
```
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
从 git 安装时 pnpm 可能要求允许构建脚本——按 pnpm 的提示把对应包加进 profile
|
|
74
|
+
`pnpm-workspace.yaml` 的 `allowBuilds` 后重跑一次即可。
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
### 方式三:本地链接(开发调试用)
|
|
77
|
+
|
|
78
|
+
克隆到本地后,把包链接进 profile 并加入 bundles(下面的路径换成你自己的):
|
|
75
79
|
|
|
76
80
|
```sh
|
|
77
|
-
pnpm --dir
|
|
81
|
+
pnpm --dir C:\Users\LeGo\.dsh\profiles\web add link:D:\Vibe-Coding\dsh-catppuccin
|
|
78
82
|
```
|
|
79
83
|
|
|
80
84
|
然后在 profile 的 `package.json` 中把 `@nonamelego/dsh-catppuccin` 加进 `dsh.profile.bundles`,
|
|
@@ -84,7 +88,7 @@ pnpm --dir <profile目录> add link:<本仓库路径>
|
|
|
84
88
|
|
|
85
89
|
1. 打开 Web GUI(默认 `http://127.0.0.1:3080`)。
|
|
86
90
|
2. 进入 **设置 → 常规**。
|
|
87
|
-
3. 在 **外观** 区域下方找到 **Catppuccin**
|
|
91
|
+
3. 在 **外观** 区域下方找到 **Catppuccin** 行,选择主题:
|
|
88
92
|
**Latte**(浅色)、**Frappé**、**Macchiato** 或 **Mocha**(深色)。
|
|
89
93
|
4. 选择 **跟随系统** 则回退到官方主题。
|
|
90
94
|
|
|
@@ -105,10 +109,10 @@ node scripts/generate-palettes.mjs
|
|
|
105
109
|
|
|
106
110
|
## 🙋 常见问题
|
|
107
111
|
|
|
108
|
-
- Q: **_"为什么外观行里看不到 Catppuccin
|
|
109
|
-
A:
|
|
112
|
+
- Q: **_"为什么外观行里看不到 Catppuccin 主题?"_**\
|
|
113
|
+
A: 官方外观行只列出内置的浅色/深色/跟随系统偏好。四个主题在它正下方的
|
|
110
114
|
**Catppuccin** 行里。
|
|
111
|
-
- Q: **_"
|
|
115
|
+
- Q: **_"我的主题选择是怎么记住的?"_**
|
|
112
116
|
A: 选择保存在 `dsh-catppuccin` 设置里,启动时会自动恢复。
|
|
113
117
|
|
|
114
118
|
## 💝 致谢
|
package/package.json
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nonamelego/dsh-catppuccin",
|
|
3
3
|
"description": "Catppuccin themes for the DeepSeek Harness web GUI — Latte, Frappé, Macchiato and Mocha registered into the official theme system (Appearance settings), fully remapping the --dsw-* token ladder.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/NoNameLeGo/dsh-catppuccin.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/NoNameLeGo/dsh-catppuccin#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/NoNameLeGo/dsh-catppuccin/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"dsh",
|
|
17
|
+
"deepseek-harness",
|
|
18
|
+
"catppuccin",
|
|
19
|
+
"theme",
|
|
20
|
+
"dsh-plugin"
|
|
21
|
+
],
|
|
7
22
|
"exports": {
|
|
8
23
|
".": "./lib/index.js",
|
|
9
24
|
"./client": "./lib/client.js",
|
|
@@ -44,6 +59,9 @@
|
|
|
44
59
|
"gen:palettes": "node scripts/generate-palettes.mjs"
|
|
45
60
|
},
|
|
46
61
|
"license": "MIT",
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"schemastery": "^3.18.0"
|
|
64
|
+
},
|
|
47
65
|
"peerDependencies": {
|
|
48
66
|
"react": "^18.2.0"
|
|
49
67
|
},
|
|
@@ -59,7 +77,6 @@
|
|
|
59
77
|
"jsdom": "29.1.1",
|
|
60
78
|
"lightningcss": "^1.32.0",
|
|
61
79
|
"react": "^18.2.0",
|
|
62
|
-
"schemastery": "^3.18.0",
|
|
63
80
|
"tsdown": "^0.22.2",
|
|
64
81
|
"typescript": "^5.7.0",
|
|
65
82
|
"vite-tsconfig-paths": "^6.1.1",
|