dsh-theme-paper-warm 0.1.0 → 0.1.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 CHANGED
@@ -1,8 +1,8 @@
1
- # dsh-theme-paper-warm · 暖纸主题
1
+ # dsh-theme-paper-warm · 护眼暖纸主题
2
2
 
3
- Warm paper theme for the DeepSeek Harness (DSH) Web GUI: canvas `#F2F0E5`, ink `#100F0F`, sidebar painted the same warm paper, font stack led by `Segoe UI`. It registers as a third-party theme (`paper-warm`) and adds its own toggle row to **Settings → General**; the choice persists across reloads and restarts.
3
+ Eye-care warm paper theme for the DeepSeek Harness (DSH) Web GUI: canvas `#F2F0E5`, ink `#100F0F`, sidebar painted the same warm paper, font stack led by `Segoe UI`. It registers as a third-party theme (`paper-warm`) and adds its own toggle row to **Settings → General**; the choice persists across reloads and restarts. Search keywords: eye-care, eye-friendly, warm paper, 护眼, 暖纸.
4
4
 
5
- 给 DeepSeek Harness Web GUI 的暖纸主题:画布 `#F2F0E5`,正文 `#100F0F`,侧栏与画布同色,字体栈以 `Segoe UI` 打头。以「第三方主题」形式注册(id `paper-warm`),并在「设置 → 通用」里自带一行开关;选择跨刷新、跨重启保留。
5
+ 给 DeepSeek Harness Web GUI 的护眼暖纸主题:画布 `#F2F0E5`,正文 `#100F0F`,侧栏与画布同色,字体栈以 `Segoe UI` 打头。以「第三方主题」形式注册(id `paper-warm`),并在「设置 → 通用」里自带一行开关;选择跨刷新、跨重启保留。搜索关键词:护眼、暖纸、暖色、纸张配色。
6
6
 
7
7
  ![icon](icon.svg)
8
8
 
@@ -65,6 +65,11 @@ node test/boot-race.test.mjs
65
65
 
66
66
  在不启动 GUI 的情况下复现并按真实顺序驱动客户端半边(插件 `apply` 先恢复已存选择 → 宿主设置稍后下发),断言最终仍是暖纸,同时覆盖原生「外观」选择、本行开关、以及取不到设置服务时的降级行为。
67
67
 
68
+ ## 更新日志 / Changelog
69
+
70
+ - **0.1.1**(2026-11-16):备注与描述改为「护眼暖纸主题 / eye-care warm paper」便于插件市场搜索索引;声明 `engines.dsh`(`>=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0-0`,适配 0.2.2-rc 系列新版本 Harness);按升级指南 `v0.2.2-rc.1/window-drag-regions` 为侧栏重开按钮声明 `data-window-drag-exclude`,保证 macOS Desktop 上浮层按钮可交互。
71
+ - **0.1.0**(2026-11-13):首次发布(npm + GitHub + awesome-dsh-plugin 收录)。
72
+
68
73
  ## License
69
74
 
70
75
  MIT
package/lib/client.js CHANGED
@@ -431,6 +431,12 @@ body[data-dsh-sidebar-collapsed] [data-dsh-toggle-cluster] button { pointer-even
431
431
  const button = document.createElement("button");
432
432
  button.type = "button";
433
433
  button.dataset.paperWarmExpand = "";
434
+ /* macOS Desktop 0.2.2-rc.1+ only auto-excludes interactive controls
435
+ inside marked rows; a fixed overlay button that covers the window
436
+ drag region must declare its own no-drag rectangle, or it sits
437
+ inert over the draggable header there (upgrade guide
438
+ v0.2.2-rc.1/window-drag-regions). Inert on Windows and Web. */
439
+ button.setAttribute("data-window-drag-exclude", "");
434
440
  button.setAttribute("aria-label", "打开侧边栏");
435
441
  button.title = "打开侧边栏";
436
442
  button.style.margin = "0";
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Paper warm theme",
4
- "description": "Warm paper palette (canvas #F2F0E5, ink #100F0F) with a toggle row in Settings → General."
4
+ "description": "Eye-care warm paper palette (canvas #F2F0E5, ink #100F0F) with a toggle row in Settings → General."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
- "title": "暖纸主题",
4
- "description": "背景 #F2F0E5、正文 #100F0F 的暖色纸张配色,在「设置 → 通用」提供开关行。"
3
+ "title": "护眼暖纸主题",
4
+ "description": "护眼暖纸主题:背景 #F2F0E5、正文 #100F0F 的暖色纸张配色,在「设置 → 通用」提供开关行。"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-theme-paper-warm",
3
- "version": "0.1.0",
4
- "description": "Warm paper theme for the DeepSeek Harness Web GUI (canvas #F2F0E5, ink #100F0F), registered as a selectable third-party theme with its own Appearance toggle row.",
3
+ "version": "0.1.1",
4
+ "description": "Eye-care warm paper theme (护眼暖纸主题) for the DeepSeek Harness Web GUI: canvas #F2F0E5, ink #100F0F, registered as a selectable third-party theme with a Settings → General toggle row.",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",
7
7
  "exports": {
@@ -33,9 +33,16 @@
33
33
  "skin",
34
34
  "warm",
35
35
  "paper",
36
+ "eye-care",
37
+ "eye-friendly",
38
+ "护眼",
39
+ "暖纸",
36
40
  "cordis"
37
41
  ],
38
42
  "license": "MIT",
43
+ "engines": {
44
+ "dsh": ">=0.2.1-rc.2 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0-0"
45
+ },
39
46
  "repository": {
40
47
  "type": "git",
41
48
  "url": "git+https://github.com/factyy163/dsh-theme-paper-warm.git"