@luosuqwq/dsh-ui-appearance 0.1.4 → 0.1.6

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
@@ -6,7 +6,30 @@ English | [简体中文](README.zh-CN.md)
6
6
 
7
7
  The DSH web interface ships with one plain look. This bundle adds an "Appearance (外观)" page to Settings where you can put a wallpaper behind the app, make the conversation card, composer and settings panel translucent with a backdrop blur, tune the sidebar, and switch on a pointer-following parallax and an auto-hiding sidebar. It is a local UI bundle: the only server it talks to is your own DSH instance, serving your own images back to the browser.
8
8
 
9
- ![dsh-ui-appearance](docs/preview/hero.jpg)
9
+ ![dsh-ui-appearance](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/hero.jpg)
10
+
11
+ ## Showcase
12
+
13
+ ![Pointer parallax: the wallpaper drifts with the cursor](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/parallax.gif)
14
+
15
+ **Pointer parallax.** A real capture of the browser UI: the wallpaper layer drifts against the cursor; amplitude and easing are adjustable in Settings → Appearance.
16
+
17
+ ![Home with a wallpaper and glass panels](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/home.jpg)
18
+
19
+ **The whole shell.** The wallpaper sits behind every panel; the conversation card, composer and sidebar stay legible on top of it.
20
+
21
+ ![Appearance settings](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/settings.jpg)
22
+
23
+ **Settings → Appearance.** Wallpaper source and the **壁纸文件夹** button (opens your folder instead of asking for a path, decoded names), transparency / blur / mask / parallax sliders, and sidebar opacity plus auto-hide.
24
+
25
+ ![Composer close-up](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/detail-composer.jpg)
26
+
27
+ **Composer and cards.** The frosted backing is tuned separately from the wallpaper, so text stays readable over a busy image.
28
+
29
+ ![Sidebar close-up](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/detail-sidebar.jpg)
30
+
31
+ **Sidebar.** The wallpaper shows through at the chosen opacity; auto-hide is a single switch.
32
+
10
33
 
11
34
  ## Why this plugin
12
35
 
@@ -51,20 +74,6 @@ git clone https://github.com/LuosuQWQ/dsh-ui-appearance.git
51
74
 
52
75
  **For agents.** See [AGENTS.md](AGENTS.md) for config keys, defaults and constraints.
53
76
 
54
- ## Screenshots
55
-
56
- ![Home with a wallpaper and glass panels](docs/preview/home.jpg)
57
-
58
- **1** Wallpaper layer behind the whole app; the conversation card, composer and sidebar stay legible on top of it.
59
-
60
- ![Appearance settings](docs/preview/settings.jpg)
61
-
62
- **2** Wallpaper source and the **壁纸文件夹** button: the page opens your folder instead of asking for a path, and shows decoded names. **3** Transparency, blur, mask and pointer parallax. **4** Sidebar opacity and auto-hide.
63
-
64
- ![Pointer parallax: the wallpaper drifts with the cursor](docs/preview/parallax.gif)
65
-
66
- **Pointer parallax.** The wallpaper layer drifts against the pointer; the amplitude and easing are adjustable in Settings → Appearance. This is a real capture of the browser UI moving the cursor across the window.
67
-
68
77
  ## Features
69
78
 
70
79
  - **Wallpaper layer** behind the whole app: cover / contain / tile / stretch / auto sizing, opacity, blur and a color wash on top.
@@ -245,3 +254,4 @@ curl -s http://127.0.0.1:<port>/bg/config
245
254
 
246
255
  MIT. See [LICENSE](LICENSE).
247
256
 
257
+
package/README.zh-CN.md CHANGED
@@ -6,7 +6,30 @@
6
6
 
7
7
  DSH 的网页界面默认只有一套朴素外观。这个 bundle 在设置里加了一页「外观」:可以把壁纸铺在背后,把会话卡片、输入框和设置面板做成半透明毛玻璃,调侧边栏的透明度,并打开跟随鼠标的视差和自动隐藏侧边栏。它是纯本地的界面插件——除了你自己的 DSH 服务在把图片发回浏览器之外,不连任何外部服务。
8
8
 
9
- ![dsh-ui-appearance](docs/preview/hero.jpg)
9
+ ![dsh-ui-appearance](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/hero.jpg)
10
+
11
+ ## 外观一览
12
+
13
+ ![指针视差:壁纸随光标轻微漂移](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/parallax.gif)
14
+
15
+ **指针视差。** 浏览器界面里真实录制的:壁纸层随光标轻微反向漂移,幅度与缓动在「设置 → 外观」里调。
16
+
17
+ ![壁纸与玻璃面板的首页](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/home.jpg)
18
+
19
+ **整个界面。** 壁纸铺在所有面板后面;对话卡片、输入框、侧边栏仍保持清晰可读。
20
+
21
+ ![外观设置](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/settings.jpg)
22
+
23
+ **设置 → 外观。** 壁纸来源与 **壁纸文件夹** 按钮(直接打开你的文件夹,中文名自动解码)、透明度/模糊/遮罩/视差滑杆、侧边栏透明度与自动隐藏。
24
+
25
+ ![输入框特写](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/detail-composer.jpg)
26
+
27
+ **输入框与卡片。** 毛玻璃底色和壁纸分开调,复杂图片上文字也不糊。
28
+
29
+ ![侧边栏特写](https://raw.githubusercontent.com/LuosuQWQ/dsh-ui-appearance/main/docs/preview/detail-sidebar.jpg)
30
+
31
+ **侧边栏。** 壁纸按设定的透明度透出,自动隐藏一个开关。
32
+
10
33
 
11
34
  ## 为什么用它
12
35
 
@@ -40,20 +63,6 @@ git clone https://github.com/LuosuQWQ/dsh-ui-appearance.git
40
63
 
41
64
  **给 agent。** 配置键、默认值与约束见 [AGENTS.md](AGENTS.md)。
42
65
 
43
- ## 截图
44
-
45
- ![壁纸与玻璃面板的首页](docs/preview/home.jpg)
46
-
47
- **1** 整个应用背后的壁纸层;对话卡片、输入框和侧边栏仍然清晰可读。
48
-
49
- ![外观设置](docs/preview/settings.jpg)
50
-
51
- **2** 壁纸来源与 **壁纸文件夹** 按钮:页面直接打开你的文件夹而不是让你填路径,中文名自动解码。**3** 透明度、模糊、遮罩与指针视差。**4** 侧边栏透明度与自动隐藏。
52
-
53
- ![指针视差:壁纸随光标轻微漂移](docs/preview/parallax.gif)
54
-
55
- **指针视差。** 壁纸层会随光标轻微反向漂移,幅度与缓动可在「设置 → 外观」里调。这张 GIF 是浏览器界面里真实移动光标录制的。
56
-
57
66
  ## 功能
58
67
 
59
68
  - **整屏壁纸层**:裁切 / 居中 / 平铺 / 拉伸 / 适应五种尺寸模式,外加透明度、模糊和一层遮罩色。
@@ -235,3 +244,4 @@ curl -s http://127.0.0.1:<port>/bg/config
235
244
 
236
245
  MIT,见 [LICENSE](LICENSE)。
237
246
 
247
+
package/cordis.patch.yml CHANGED
@@ -5,4 +5,5 @@
5
5
  # It used to sit in the profile patch layer, which made the switch a no-op.
6
6
  - insert:
7
7
  - id: dsh-ui-appearance
8
- name: @luosuqwq/dsh-ui-appearance
8
+ name: '@luosuqwq/dsh-ui-appearance'
9
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luosuqwq/dsh-ui-appearance",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Wallpapers with parallax, frosted-glass panels, sidebar auto-hide and chat styling, all adjustable from a Settings section.",
5
5
  "author": "LuoSu <2681153600@qq.com>",
6
6
  "keywords": [