dsh-oort-theme-plugin 0.1.1 → 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 +2 -2
- package/README.md +8 -2
- package/README.zh.md +8 -2
- package/lib/client.js +877 -88
- package/package.json +1 -1
package/README.i18n.yaml
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
en: a102bf63bc785773
|
|
22
22
|
zh: 5fbfadb8a07e0795
|
|
23
23
|
/dsh-oort-theme-plugin/understand-the-implementation:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: 17589b50e1d08dbe
|
|
25
|
+
zh: dfbcf8b25dadb6b4
|
|
26
26
|
/dsh-oort-theme-plugin/further-exploration:
|
|
27
27
|
en: 5a33a44e99fa4a4d
|
|
28
28
|
zh: f8f23a2fd9f92f36
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ npm pack
|
|
|
37
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.
|
|
40
|
+
dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.2.tgz
|
|
41
41
|
```
|
|
42
42
|
|
|
43
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>`.
|
|
@@ -52,7 +52,13 @@ Reopen Desktop to use a manual installation. The Appearance entry is in the menu
|
|
|
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
|
-
|
|
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”.
|
|
56
62
|
|
|
57
63
|
</details>
|
|
58
64
|
|
package/README.zh.md
CHANGED
|
@@ -37,7 +37,7 @@ npm pack
|
|
|
37
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.
|
|
40
|
+
dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.2.tgz
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
手动安装后重新打开桌面版。点击左下角账号头像展开菜单,即可找到「外观」。Web 配置也可用 `dsh plugin --profile web add <压缩包路径>` 安装同一压缩包。
|
|
@@ -52,7 +52,13 @@ dsh plugin --profile desktop add C:\path\to\dsh-oort-theme-plugin-0.1.1.tgz
|
|
|
52
52
|
|
|
53
53
|
扩展包补丁插入一条 Host 配置。浏览器入口通过宿主的主题与槽位服务注册主题选项和弹框。构建时,图片资源被嵌入 `lib/client.js`。
|
|
54
54
|
|
|
55
|
-
|
|
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」。
|
|
56
62
|
|
|
57
63
|
</details>
|
|
58
64
|
|