dsh-cool-theme 0.1.0
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/LICENSE +21 -0
- package/README.md +53 -0
- package/README.zh.md +53 -0
- package/cordis.patch.yml +4 -0
- package/lib/client.js +1585 -0
- package/lib/index.js +11 -0
- package/lib/types/client/colors.d.ts +6 -0
- package/lib/types/client/colors.d.ts.map +1 -0
- package/lib/types/client/components.d.ts +20 -0
- package/lib/types/client/components.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +7 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/locales.d.ts +30 -0
- package/lib/types/client/locales.d.ts.map +1 -0
- package/lib/types/client/presets.d.ts +432 -0
- package/lib/types/client/presets.d.ts.map +1 -0
- package/lib/types/client/style-injector.d.ts +8 -0
- package/lib/types/client/style-injector.d.ts.map +1 -0
- package/lib/types/client/theme.d.ts +5 -0
- package/lib/types/client/theme.d.ts.map +1 -0
- package/lib/types/client/tokens.d.ts +30 -0
- package/lib/types/client/tokens.d.ts.map +1 -0
- package/lib/types/contract.d.ts +6 -0
- package/lib/types/contract.d.ts.map +1 -0
- package/lib/types/host/index.d.ts +9 -0
- package/lib/types/host/index.d.ts.map +1 -0
- package/package.json +79 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CoolTea
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# dsh-cool-theme
|
|
2
|
+
|
|
3
|
+
English · [中文](./README.zh.md)
|
|
4
|
+
|
|
5
|
+
 
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
DeepSeek Harness theme plugin — supports light / dark / system appearance switching with 12 popular preset themes.
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
Theme management (sidebar gear → Settings → Theme), supports `light` / `dark` / `system` appearance switching and provides 12 popular presets: Nord, One Dark, GitHub, Catppuccin, Dracula, Tokyo Night, Solarized, Gruvbox, Monokai, Rosé Pine, Ayu, Zenburn plus the native DeepSeek Harness theme. All presets support both light and dark modes.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
The easiest way is to let DSH install it for you. For manual installation, see:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
# Install
|
|
21
|
+
dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
22
|
+
|
|
23
|
+
# Uninstall
|
|
24
|
+
dsh plugin --profile <your-profile> remove dsh-cool-theme
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
> Replace `<your-profile>` with your DSH profile, e.g. `web` for DSH Web and `desktop` for DSH Desktop.
|
|
28
|
+
|
|
29
|
+
## Contributing
|
|
30
|
+
|
|
31
|
+
Contributions via Issues and PRs are welcome.
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
// Clone project
|
|
35
|
+
git clone https://github.com/CoolTea001/dsh-cool-theme.git
|
|
36
|
+
|
|
37
|
+
// Install dependencies
|
|
38
|
+
cd dsh-cool-theme
|
|
39
|
+
pnpm install
|
|
40
|
+
|
|
41
|
+
// Start local development
|
|
42
|
+
pnpm run dev
|
|
43
|
+
|
|
44
|
+
// Local install
|
|
45
|
+
dsh plugin --profile <your-profile> add /absolute/path/to/dsh-cool-theme
|
|
46
|
+
|
|
47
|
+
// Restart DSH service
|
|
48
|
+
dsh web
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
MIT © CoolTea
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# dsh-cool-theme
|
|
2
|
+
|
|
3
|
+
[English](./README.md) · 中文
|
|
4
|
+
|
|
5
|
+
 
|
|
6
|
+
|
|
7
|
+
## 描述
|
|
8
|
+
|
|
9
|
+
DeepSeek Harness 主题插件 — 支持 浅色 / 深色 / 跟随系统 外观切换,并提供 12 款主流预设主题。
|
|
10
|
+
|
|
11
|
+
## 功能介绍
|
|
12
|
+
|
|
13
|
+
主题管理(侧边栏底部齿轮 → 设置 → 主题),支持 `浅色` / `深色` / `跟随系统` 外观切换,并提供 12 款主流预设:Nord、One Dark、GitHub、Catppuccin、Dracula、Tokyo Night、Solarized、Gruvbox、Monokai、Rosé Pine、Ayu、Zenburn,以及原生 DeepSeek Harness 主题,所有主题均已适配浅色模式和深色模式。
|
|
14
|
+
|
|
15
|
+
## 安装教程
|
|
16
|
+
|
|
17
|
+
一种最简单的方式是让你的 DSH 帮你安装,如果你想手动安装,请参考:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
# 安装
|
|
21
|
+
dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
22
|
+
|
|
23
|
+
# 卸载
|
|
24
|
+
dsh plugin --profile <your-profile> remove dsh-cool-theme
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
> <your-profile> 替换成你的 DSH 使用的 profile,例如 web 端通常替换成 `web`,dsh-desktop 端通常替换成 `desktop`。
|
|
28
|
+
|
|
29
|
+
## 参与贡献
|
|
30
|
+
|
|
31
|
+
欢迎提交 Issue 和 PR。
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
// 克隆项目
|
|
35
|
+
git clone https://github.com/CoolTea001/dsh-cool-theme.git
|
|
36
|
+
|
|
37
|
+
// 安装依赖
|
|
38
|
+
cd dsh-cool-theme
|
|
39
|
+
pnpm install
|
|
40
|
+
|
|
41
|
+
// 启动本地开发
|
|
42
|
+
pnpm run dev
|
|
43
|
+
|
|
44
|
+
// 本地安装
|
|
45
|
+
dsh plugin --profile <your-profile> add /absolute/path/to/dsh-cool-theme
|
|
46
|
+
|
|
47
|
+
// 重启 DSH 服务
|
|
48
|
+
dsh web
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## 开源协议
|
|
52
|
+
|
|
53
|
+
MIT © CoolTea
|
package/cordis.patch.yml
ADDED