dsh-cool-theme 0.3.1 → 0.5.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/README.md +9 -10
- package/README.zh.md +9 -10
- package/lib/client.js +2694 -215
- package/lib/index.js +304 -6
- package/lib/types/client/components.d.ts +43 -3
- package/lib/types/client/components.d.ts.map +1 -1
- package/lib/types/client/custom.d.ts +124 -0
- package/lib/types/client/custom.d.ts.map +1 -0
- package/lib/types/client/locales.d.ts +102 -0
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/presets/aura.d.ts +26 -0
- package/lib/types/client/presets/aura.d.ts.map +1 -0
- package/lib/types/client/presets/catppuccin-frappe.d.ts +26 -0
- package/lib/types/client/presets/catppuccin-frappe.d.ts.map +1 -0
- package/lib/types/client/presets/catppuccin-macchiato.d.ts +26 -0
- package/lib/types/client/presets/catppuccin-macchiato.d.ts.map +1 -0
- package/lib/types/client/presets/cobalt2.d.ts +26 -0
- package/lib/types/client/presets/cobalt2.d.ts.map +1 -0
- package/lib/types/client/presets/cursor.d.ts +26 -0
- package/lib/types/client/presets/cursor.d.ts.map +1 -0
- package/lib/types/client/presets/everforest.d.ts +26 -0
- package/lib/types/client/presets/everforest.d.ts.map +1 -0
- package/lib/types/client/presets/flexoki.d.ts +26 -0
- package/lib/types/client/presets/flexoki.d.ts.map +1 -0
- package/lib/types/client/presets/kanagawa.d.ts +26 -0
- package/lib/types/client/presets/kanagawa.d.ts.map +1 -0
- package/lib/types/client/presets/lucent-orng.d.ts +26 -0
- package/lib/types/client/presets/lucent-orng.d.ts.map +1 -0
- package/lib/types/client/presets/material.d.ts +26 -0
- package/lib/types/client/presets/material.d.ts.map +1 -0
- package/lib/types/client/presets/matrix.d.ts +26 -0
- package/lib/types/client/presets/matrix.d.ts.map +1 -0
- package/lib/types/client/presets/mercury.d.ts +26 -0
- package/lib/types/client/presets/mercury.d.ts.map +1 -0
- package/lib/types/client/presets/nightowl.d.ts +26 -0
- package/lib/types/client/presets/nightowl.d.ts.map +1 -0
- package/lib/types/client/presets/opencode.d.ts +26 -0
- package/lib/types/client/presets/opencode.d.ts.map +1 -0
- package/lib/types/client/presets/orng.d.ts +26 -0
- package/lib/types/client/presets/orng.d.ts.map +1 -0
- package/lib/types/client/presets/osaka-jade.d.ts +26 -0
- package/lib/types/client/presets/osaka-jade.d.ts.map +1 -0
- package/lib/types/client/presets/palenight.d.ts +26 -0
- package/lib/types/client/presets/palenight.d.ts.map +1 -0
- package/lib/types/client/presets/synthwave84.d.ts +26 -0
- package/lib/types/client/presets/synthwave84.d.ts.map +1 -0
- package/lib/types/client/presets/system.d.ts +26 -0
- package/lib/types/client/presets/system.d.ts.map +1 -0
- package/lib/types/client/presets/vercel.d.ts +26 -0
- package/lib/types/client/presets/vercel.d.ts.map +1 -0
- package/lib/types/client/presets/vesper.d.ts +26 -0
- package/lib/types/client/presets/vesper.d.ts.map +1 -0
- package/lib/types/client/presets.d.ts +537 -0
- package/lib/types/client/presets.d.ts.map +1 -1
- package/lib/types/client/theme-files.d.ts +37 -0
- package/lib/types/client/theme-files.d.ts.map +1 -0
- package/lib/types/client/theme.d.ts.map +1 -1
- package/lib/types/client/tokens.d.ts +16 -3
- package/lib/types/client/tokens.d.ts.map +1 -1
- package/lib/types/contract.d.ts +43 -0
- package/lib/types/contract.d.ts.map +1 -1
- package/lib/types/host/index.d.ts +6 -3
- package/lib/types/host/index.d.ts.map +1 -1
- package/lib/types/host/theme-files.d.ts +38 -0
- package/lib/types/host/theme-files.d.ts.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# dsh-cool-theme
|
|
4
4
|
|
|
@@ -8,26 +8,25 @@ English · [中文](./README.zh.md)
|
|
|
8
8
|
|
|
9
9
|
## Description
|
|
10
10
|
|
|
11
|
-
DeepSeek Harness theme plugin — supports
|
|
11
|
+
DeepSeek Harness theme plugin — supports Dark / Light / System appearance switching, ships 34 preset themes, and supports custom theme colors.
|
|
12
12
|
|
|
13
13
|
## Features
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
1. **Appearance switching:** The appearance switch from General settings is now managed in Theme settings. You can set the appearance (dark, light, or system) in the Settings dialog → Theme tab.
|
|
16
|
+
2. **34 preset themes:** 34 built-in presets, each adapted to both dark and light appearance: Aura, Ayu, Catppuccin, Catppuccin Frappe, Catppuccin Macchiato, Cobalt2, Cursor, DSH, Dracula, Everforest, Flexoki, GitHub, Gruvbox, Kanagawa, Lucent Orng, Material, Matrix, Mercury, Monokai, Night Owl, Nord, One Dark, OpenCode, Orng, Osaka Jade, Palenight, Rosé Pine, Solarized, Synthwave 84, System, Tokyo Night, Vercel, Vesper, Zenburn.
|
|
17
|
+
3. **Custom themes:** Turn on custom themes to create your own (colors inherit from the currently selected preset), and freely change the theme colors.
|
|
16
18
|
|
|
17
19
|
## Installation
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#
|
|
23
|
-
dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
21
|
+
```bash
|
|
22
|
+
# Install: dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
23
|
+
dsh plugin --profile web add dsh-cool-theme # Web
|
|
24
|
+
dsh plugin --profile desktop add dsh-cool-theme # Desktop
|
|
24
25
|
|
|
25
26
|
# Uninstall
|
|
26
27
|
dsh plugin --profile <your-profile> remove dsh-cool-theme
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
> Replace `<your-profile>` with your DSH profile, e.g. `web` for DSH Web and `desktop` for DSH Desktop.
|
|
30
|
-
|
|
31
30
|
## Contributing
|
|
32
31
|
|
|
33
32
|
Contributions via Issues and PRs are welcome.
|
package/README.zh.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
# dsh-cool-theme
|
|
4
4
|
|
|
@@ -8,26 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
## 描述
|
|
10
10
|
|
|
11
|
-
DeepSeek Harness 主题插件
|
|
11
|
+
DeepSeek Harness 主题插件 —— 支持「深色」「浅色」「跟随系统」外观切换,提供 34 款预设主题,支持自定义主题配色。
|
|
12
12
|
|
|
13
13
|
## 功能介绍
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
1. **外观切换:** 将通用设置中的外观切换功能移至主题设置中管理,你可以在设置弹窗/主题标签中设置外观:深色、浅色、跟随系统
|
|
16
|
+
2. **34款预设主题:** 内置 34 款预设主题,每一款主题都适配了深色/浅色外观:Aura、Ayu、Catppuccin、Catppuccin Frappe、Catppuccin Macchiato、Cobalt2、Cursor、DSH、Dracula、Everforest、Flexoki、GitHub、Gruvbox、Kanagawa、Lucent Orng、Material、Matrix、Mercury、Monokai、Night Owl、Nord、One Dark、OpenCode、Orng、Osaka Jade、Palenight、Rosé Pine、Solarized、Synthwave 84、System、Tokyo Night、Vercel、Vesper、Zenburn。
|
|
17
|
+
3. **自定义主题:** 开启自定义主题后,可以创建自定义主题(配色继承当前预设主题),用户可以自由更改主题配色。
|
|
16
18
|
|
|
17
19
|
## 安装教程
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#
|
|
23
|
-
dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
21
|
+
```bash
|
|
22
|
+
# 安装:dsh plugin --profile <your-profile> add dsh-cool-theme
|
|
23
|
+
dsh plugin --profile web add dsh-cool-theme # web 端
|
|
24
|
+
dsh plugin --profile desktop add dsh-cool-theme # 桌面端
|
|
24
25
|
|
|
25
26
|
# 卸载
|
|
26
27
|
dsh plugin --profile <your-profile> remove dsh-cool-theme
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
> <your-profile> 替换成你的 DSH 使用的 profile,例如 web 端通常替换成 `web`,dsh-desktop 端通常替换成 `desktop`。
|
|
30
|
-
|
|
31
30
|
## 参与贡献
|
|
32
31
|
|
|
33
32
|
欢迎提交 Issue 和 PR。
|