dsh-theme-escook 1.0.4 → 1.0.5

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 CHANGED
@@ -1,37 +1,38 @@
1
1
  # dsh-theme-escook
2
2
 
3
- <p align="center">
4
- <img src="https://raw.githubusercontent.com/Simon-yyy/dsh-theme-escook/main/assets/logo.svg" width="96" alt="escook-theme logo" />
5
- </p>
3
+ Four themes for DeepSeek Harness: classic dark, soft dark, classic light, and soft light.
6
4
 
7
- <h3 align="center">🌸 Escook Theme for DeepSeek Harness</h3>
5
+ ## Install and select a theme
8
6
 
9
- <p align="center">
10
- A premium dark violet & amber gold aesthetic theme crafted for DeepSeek Harness Web GUI & Desktop.
11
- </p>
7
+ Install and enable `dsh-theme-escook` in the application's plugin market. Refresh or restart when prompted.
8
+ Open **Settings → General → Escook theme** and select a palette. The controls currently display Chinese labels.
9
+ Selection is saved in local storage and restored after reload. Select **跟随应用** (Follow application)
10
+ to use the application's light, dark, or system appearance controls.
12
11
 
13
- <p align="center">
14
- <img src="https://raw.githubusercontent.com/Simon-yyy/dsh-theme-escook/main/assets/preview.png" alt="escook-theme 4-in-1 preview" width="100%" />
15
- </p>
12
+ The plugin toggle enables the plugin; theme selection is in General settings.
13
+ The official desktop application needs this plugin to add these choices.
16
14
 
17
- ---
15
+ ## Requirements
18
16
 
19
- ## ✨ Features
17
+ Version `1.0.5` requires `@deepseek-ai/dsh-client-ui-theme >=0.2.0-rc.2 <0.3.0-0`.
18
+ Update older applications or continue using an earlier plugin version.
20
19
 
21
- - 🎨 **Signature Dark Aesthetics**: Faithful port of the beloved VS Code `escook-theme` color palette (`#1f2430` deep night base with `#ffcc66` amber gold accent).
22
- - 💻 **Syntax Highlighting**: Enhanced code readability with vibrant pastel tones (Pink keywords, Cyan functions, Mint strings, Amber numbers).
23
- - ⚡ **Full UI Coverage**: Seamlessly styles sidebar, chat bubbles, settings panels, marketplace cards, and scrollbars.
24
- - 🔄 **Live Hot Toggle**: Instant switch in DSH Market Theme tab without server restart.
20
+ Themes use the official theme service to synchronize tokens and light/dark mode.
21
+ Menus use opaque backgrounds; text, icons and buttons have paired colors.
22
+ Contrast tests require at least `4.5:1` for common text in normal, hover and selected states.
23
+ Disabling removes the settings row and registered themes and restores application appearance.
25
24
 
26
- ---
25
+ ## Development
27
26
 
28
- ## 📦 Installation
29
-
30
- ```bash
31
- dsh plugin --profile web add dsh-theme-escook
27
+ ```powershell
28
+ npm ci --legacy-peer-deps
29
+ npm run build
30
+ npm test
32
31
  ```
33
32
 
34
- ---
33
+ Native host and browser tests explicitly skip when diagnostic fixtures are unavailable.
34
+ See `contexts/context.md` for fixture requirements and verification limits.
35
+
36
+ ## License
35
37
 
36
- ## 📄 License
37
38
  MIT License © 2026 Simon-yyy / escook (liulongbin1314)
package/README.zh.md CHANGED
@@ -1,45 +1,40 @@
1
1
  # dsh-theme-escook
2
2
 
3
- <p align="center">
4
- <img src="https://raw.githubusercontent.com/Simon-yyy/dsh-theme-escook/main/assets/logo.svg" width="96" alt="escook-theme logo" />
5
- </p>
3
+ 为 DeepSeek Harness 提供经典暗黑、柔和暗黑、经典浅色、柔和浅色四套配色。
6
4
 
7
- <h3 align="center">🌸 彬哥の经典主题 (escook-theme) for DeepSeek Harness</h3>
5
+ ## 安装与切换
8
6
 
9
- <p align="center">
10
- 专为 DeepSeek Harness Web GUI / Desktop 设计的暗夜紫调与琥珀金高亮美学主题。
11
- </p>
7
+ 1. 在应用的插件市场安装并启用 `dsh-theme-escook`,按应用提示重启或刷新。
8
+ 2. 打开 **设置 → 通用 → Escook 主题**,点击配色按钮立即切换。
9
+ 3. 选择会保存在当前浏览器或应用 profile 的本地存储中,刷新或重启后恢复。
10
+ 4. 选择 **跟随应用**,可使用应用原有的浅色、深色、跟随系统外观设置。
12
11
 
13
- <p align="center">
14
- <img src="https://raw.githubusercontent.com/Simon-yyy/dsh-theme-escook/main/assets/preview.png" alt="escook-theme 4 合 1 真实效果预览" width="100%" />
15
- </p>
12
+ 插件列表中的开关表示启用或禁用插件。四套配色在通用设置中选择。
13
+ 官方应用需要安装此插件后才有这些选项;不要求桌面端存在自定义的内置主题接口。
16
14
 
17
- ---
15
+ ## 兼容要求
18
16
 
19
- ## ✨ 主题特性
17
+ `1.0.5` 使用官方主题与插槽服务,要求 `@deepseek-ai/dsh-client-ui-theme >=0.2.0-rc.2 <0.3.0-0`。
18
+ 旧内核请先升级应用,或继续使用旧版插件。
20
19
 
21
- - 🎨 **经典暗色美学**:深度复刻 VS Code 最受喜爱的 `escook-theme` 调色板(深紫暗夜 `#1f2430` 底色 + 标志性琥珀明黄 `#ffcc66` 强调色)。
22
- - 💻 **极客代码高亮**:粉红关键字、天蓝函数名、薄荷绿字符串与鲜橙常量,高对比度护眼舒适。
23
- - ⚡ **全组件覆盖**:侧边栏、对话气泡、设置面板、插件市场、弹窗与滚动条均得到原生级深度适配。
24
- - 🔄 **热插拔切换**:在插件市场“主题”页一键点选切换,无需重启即时生效。
20
+ ## 配色与生命周期
25
21
 
26
- ---
22
+ - 通过 `ctx.theme` 同步颜色、深浅色模式和宿主组件,不使用全局强制 CSS 覆盖。
23
+ - 账户菜单使用不透明背景;按钮、输入框、菜单文字与图标成对设置颜色。
24
+ - 常用文字对比度测试覆盖普通、悬停、选中状态,要求至少 `4.5:1`。
25
+ - 禁用后清理设置行和主题注册,恢复应用外观。再次启用可恢复之前选择。
27
26
 
28
- ## 📦 安装使用
27
+ ## 开发验证
29
28
 
30
- > 💡 **桌面端用户提示**:如果您使用的是 **DSH Desktop 桌面客户端**,客户端内核已原生内置本系列主题,开箱即用,无需在此重复安装。
31
-
32
- ### 方法一:通过 DSH 插件市场安装(推荐)
33
- 1. 打开 DeepSeek Harness 桌面端 / Web;
34
- 2. 进入 **设置 → 插件市场 → 主题** 专区;
35
- 3. 搜索 **`dsh-theme-escook`** 并点击 **安装**,点选即可立即生效!
36
-
37
- ### 方法二:命令行一键安装
38
- ```bash
39
- dsh plugin --profile web add dsh-theme-escook
29
+ ```powershell
30
+ npm ci --legacy-peer-deps
31
+ npm run build
32
+ npm test
40
33
  ```
41
34
 
42
- ---
35
+ 真实宿主和浏览器测试需要诊断文件,未配置时会明确跳过;配置方法见 `contexts/context.md`。
36
+ 本地测试通过不代表用户正在运行的应用已经更新。
37
+
38
+ ## 许可
43
39
 
44
- ## 📄 开源许可
45
40
  MIT License © 2026 Simon-yyy / escook (liulongbin1314)