dsh-oort-theme-plugin 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.i18n.yaml CHANGED
@@ -18,11 +18,11 @@
18
18
  en: bbff250eba0f1b89
19
19
  zh: be52206a1599204f
20
20
  /dsh-oort-theme-plugin/use-this-package/install-a-local-package-archive:
21
- en: 05f589ba582fc05b
22
- zh: 3e044b6e19207bf2
21
+ en: a102bf63bc785773
22
+ zh: 5fbfadb8a07e0795
23
23
  /dsh-oort-theme-plugin/understand-the-implementation:
24
- en: b3fdbba52a9da811
25
- zh: 53eda4ee99cce3ac
24
+ en: 17589b50e1d08dbe
25
+ zh: dfbcf8b25dadb6b4
26
26
  /dsh-oort-theme-plugin/further-exploration:
27
27
  en: 5a33a44e99fa4a4d
28
28
  zh: f8f23a2fd9f92f36
@@ -30,8 +30,8 @@
30
30
  en: a9adeafd581db859
31
31
  zh: 0a828c3687bae3d3
32
32
  /dsh-oort-theme-plugin/known-limitations-and-deferred-work:
33
- en: a640da147ea7a4f1
34
- zh: 931c144a8752ab70
33
+ en: bfeea25d6565e8c4
34
+ zh: e59a722d24fd9b55
35
35
  /dsh-oort-theme-plugin/known-limitations-and-deferred-work/dev-note:
36
36
  en: e67f633dc6fe7773
37
37
  zh: 4f9f026b33f03db6
package/README.md CHANGED
@@ -34,13 +34,13 @@ cd theme-plugin
34
34
  npm pack
35
35
  ```
36
36
 
37
- After opening and fully quitting Desktop once, install the archive with the Desktop-installed `dsh` command, then reopen Desktop:
37
+ Desktop includes version `0.1.0` as an offline fallback and checks npm for newer versions at startup. To install this archive manually, fully quit Desktop and run:
38
38
 
39
39
  ```powershell
40
- dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.0.tgz
40
+ dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.2.tgz
41
41
  ```
42
42
 
43
- The Appearance entry is in the menu opened from the account avatar at the lower left. The Web profile accepts the same archive through `dsh plugin --profile web add <archive>`.
43
+ Reopen Desktop to use a manual installation. The Appearance entry is in the menu opened from the account avatar at the lower left. The Web profile accepts the same archive through `dsh plugin --profile web add <archive>`.
44
44
 
45
45
  -----
46
46
 
@@ -52,6 +52,14 @@ The Appearance entry is in the menu opened from the account avatar at the lower
52
52
 
53
53
  The bundle patch inserts one Host row. The package's browser entry registers the theme options and dialog through the host's theme and slot services. Image assets are embedded in `lib/client.js` during the package build.
54
54
 
55
+ The package provides ten Xpaste-inspired photo themes: [Spring](https://pixabay.com/photos/tree-276014/), [Summer](https://pixabay.com/photos/beach-418742/), [Autumn leaves](https://pixabay.com/photos/forest-8371211/), [Winter snow](https://pixabay.com/photos/trees-4830285/), [Cherry blossoms](https://pixabay.com/photos/pink-324175/), [Geek](https://pixabay.com/photos/code-1839406/), [Lavender](https://pixabay.com/photos/sunset-1373171/), [Chinese red](https://pixabay.com/photos/sunset-298850/), [Chinese ink](https://pixabay.com/photos/mountain-6815304/), and [Technology](https://pixabay.com/photos/abstract-1780252/). The photos follow the [Pixabay Content License](https://pixabay.com/service/license-summary/); the theme palette and preview are defined in this package.
56
+
57
+ Matching Canvas particles run above the interface for nine photo themes; Chinese ink has no particles. The Appearance dialog saves the effect switch and density locally. Animation pauses while the page is hidden and remains off when the system requests reduced motion. The host's light and dark themes have no particles.
58
+
59
+ Geek and Chinese ink thumbnails and dialog previews crop the source photos' light side margins to fill their cards.
60
+
61
+ The dialog's sidebar mockup displays a circular, small-sized copy of `docs/assets/logo.png` with the product name “DSH For OortCloud Work”.
62
+
55
63
  </details>
56
64
 
57
65
  -----
@@ -70,7 +78,7 @@ This bundle changes the interface only. It does not add model-visible input or t
70
78
 
71
79
  ## Known Limitations and Deferred Work
72
80
 
73
- The host must provide the Appearance menu action and theme service used by this package. Publishing a new package version does not automatically update an installed Desktop profile.
81
+ The host must provide the Appearance menu action and theme service used by this package. Desktop checks npm for newer versions at startup; other profiles retain their installed version until updated explicitly.
74
82
 
75
83
  <a id="dev-note"></a>
76
84
  ### Dev Note
package/README.zh.md CHANGED
@@ -34,13 +34,13 @@ cd theme-plugin
34
34
  npm pack
35
35
  ```
36
36
 
37
- 先打开一次桌面版并完全退出,再使用桌面版安装的 `dsh` 命令安装压缩包,然后重新打开桌面版:
37
+ 桌面版以 `0.1.0` 作为离线兜底,启动时检查 npm 是否有更新。若需手动安装此压缩包,先完全退出桌面版,再运行:
38
38
 
39
39
  ```powershell
40
- dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.0.tgz
40
+ dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.2.tgz
41
41
  ```
42
42
 
43
- 点击左下角账号头像展开菜单,即可找到「外观」。Web 配置也可用 `dsh plugin --profile web add <压缩包路径>` 安装同一压缩包。
43
+ 手动安装后重新打开桌面版。点击左下角账号头像展开菜单,即可找到「外观」。Web 配置也可用 `dsh plugin --profile web add <压缩包路径>` 安装同一压缩包。
44
44
 
45
45
  -----
46
46
 
@@ -52,6 +52,14 @@ dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.0.tgz
52
52
 
53
53
  扩展包补丁插入一条 Host 配置。浏览器入口通过宿主的主题与槽位服务注册主题选项和弹框。构建时,图片资源被嵌入 `lib/client.js`。
54
54
 
55
+ 插件提供十套参考 Xpaste 的照片主题:[春日](https://pixabay.com/photos/tree-276014/)、[盛夏](https://pixabay.com/photos/beach-418742/)、[秋叶](https://pixabay.com/photos/forest-8371211/)、[冬雪](https://pixabay.com/photos/trees-4830285/)、[樱花](https://pixabay.com/photos/pink-324175/)、[极客](https://pixabay.com/photos/code-1839406/)、[紫罗兰](https://pixabay.com/photos/sunset-1373171/)、[中国红](https://pixabay.com/photos/sunset-298850/)、[中国风](https://pixabay.com/photos/mountain-6815304/)及[科技](https://pixabay.com/photos/abstract-1780252/)。照片适用 [Pixabay 内容许可](https://pixabay.com/service/license-summary/);本插件负责配色与预览。
56
+
57
+ 其中九套照片主题带有对应的 Canvas 粒子效果,中国风没有粒子。外观弹框可关闭动效或选择密度,偏好保存在本地。页面隐藏时动画暂停;系统开启“减少动态效果”时不播放。宿主的浅色和深色主题没有粒子。
58
+
59
+ 极客和中国风的缩略图及弹框预览会裁掉源照片两侧的浅色边,填满卡片。
60
+
61
+ 弹框侧栏示意图把 `docs/assets/logo.png` 的副本按小尺寸圆形显示,标题为「DSH For OortCloud Work」。
62
+
55
63
  </details>
56
64
 
57
65
  -----
@@ -70,7 +78,7 @@ dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.0.tgz
70
78
 
71
79
  ## 已知限制
72
80
 
73
- 宿主必须提供此扩展包使用的「外观」菜单操作和主题服务。发布新版本不会自动更新已安装的桌面配置。
81
+ 宿主必须提供此扩展包使用的「外观」菜单操作和主题服务。桌面版启动时检查 npm 新版本;其他配置需显式更新已安装版本。
74
82
 
75
83
  <a id="dev-note"></a>
76
84
  ### 开发备注