dsh-client-ui-seaglass 1.6.0
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/LICENSE +661 -0
- package/README.en.md +38 -0
- package/README.md +39 -0
- package/cordis.patch.yml +9 -0
- package/lib/client.js +5014 -0
- package/lib/index.js +27 -0
- package/lib/invariant.js +21 -0
- package/lib/types/aqua-settings-constants.d.ts +5 -0
- package/lib/types/aqua-settings.d.ts +12 -0
- package/lib/types/client/AquaPluginCard.d.ts +16 -0
- package/lib/types/client/AquaRow.d.ts +16 -0
- package/lib/types/client/critters.d.ts +18 -0
- package/lib/types/client/fluid-interactions.d.ts +20 -0
- package/lib/types/client/fluid-shader.d.ts +53 -0
- package/lib/types/client/greetings.d.ts +25 -0
- package/lib/types/client/index.d.ts +22 -0
- package/lib/types/client/locales.d.ts +25 -0
- package/lib/types/client/settings-store.d.ts +24 -0
- package/lib/types/client/theme-layer.d.ts +68 -0
- package/lib/types/index.d.ts +11 -0
- package/lib/types/invariant.d.ts +16 -0
- package/package.json +96 -0
package/README.en.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# dsh-client-ui-seaglass
|
|
2
|
+
|
|
3
|
+
English | [中文](README.md)
|
|
4
|
+
|
|
5
|
+
> **Compatibility** — DSH `0.1.2-rc.1` · **Updated** 2026-09-06 · Plugin v1.6.0
|
|
6
|
+
|
|
7
|
+
Seaglass is a highly customizable glassmorphism theme: it turns many surfaces into frosted-glass panes, and you can use your own images or videos as the backdrop. Switch the theme off and you are back to the stock UI — without changing a single line of DSH source. If you like the theme, feedback and PRs are welcome.
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- **Two modes**: **Mica** restyles the layout into floating glass cards; **Compatibility Mode** keeps the stock layout byte-for-byte and only swaps the material to generic glass
|
|
17
|
+
- **Free backdrop**: switch freely between an image or a video background
|
|
18
|
+
- **One switch**: off restores the stock UI exactly
|
|
19
|
+
- **Per-script font customization** (Chinese/English)
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
### Option 1: npm one-liner (recommended)
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
dsh plugin --profile web add dsh-client-ui-seaglass
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Installs the latest version from npm and registers it as a profile plugin layer (the `dsh.bundle` patch) — works on every platform. Reload the web UI and it is on.
|
|
30
|
+
|
|
31
|
+
### Option 2: Local folder install (recommended if you want to hack on / modify the theme source)
|
|
32
|
+
|
|
33
|
+
Clone the repo anywhere, then hand the **local folder** straight to `dsh plugin add` — it links the folder into the profile and registers the layer for you, no manual `cordis.patch.yml` edits. The repo ships its build output, so it works right after installing; no npm release needed.
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
git clone https://github.com/xiyunyunyun/dsh-client-ui-seaglass.git
|
|
37
|
+
dsh plugin --profile web add "C:\\path\\to\\dsh-client-ui-seaglass" # your actual clone path (absolute path recommended)
|
|
38
|
+
```
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# dsh-client-ui-seaglass
|
|
2
|
+
|
|
3
|
+
[English](README.en.md) | 中文
|
|
4
|
+
|
|
5
|
+
> **适配版本** — DSH `0.1.2-rc.1` · **更新日期** 2026-09-06 · 插件 v1.6.0
|
|
6
|
+
|
|
7
|
+
Seaglass 是一个高自由度的玻璃质感主题。把许多页面做成了磨砂玻璃片,你可以自定义图片和视频作为背景。关掉开关就回到原生界面,不改 DSH 任何一行源码。如果你喜欢该主题,欢迎提出建议或者拉到本地修改并提交PR。
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## 特性
|
|
15
|
+
|
|
16
|
+
- **双模式**:**云母效果**把布局改成悬浮玻璃卡片;**兼容模式**保持原版排版一字不动,只把材质换成通用玻璃
|
|
17
|
+
- **自由切换图像或视频背景**
|
|
18
|
+
- **一键开关**:关闭即完全还原原生界面
|
|
19
|
+
- **中/英文字体自定义**
|
|
20
|
+
|
|
21
|
+
## 安装
|
|
22
|
+
|
|
23
|
+
### 方式一:npm 一键安装(推荐)
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
dsh plugin --profile web add dsh-client-ui-seaglass
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
从 npm 安装最新版,自动注册为 profile 插件层(`dsh.bundle` 补丁),所有平台通用。刷新 Web 界面即可。
|
|
30
|
+
|
|
31
|
+
### 方式二:本地文件夹安装(要调试 / 修改主题源码推荐)
|
|
32
|
+
|
|
33
|
+
克隆到本地任意位置,用 `dsh plugin add` 直接把**本地文件夹**装进 profile——它会自动完成链接安装和层登记,不用手改 `cordis.patch.yml`。仓库自带构建产物,装完就能用,不走 npm 发版。
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
git clone https://github.com/xiyunyunyun/dsh-client-ui-seaglass.git
|
|
37
|
+
dsh plugin --profile web add "C:\path\to\dsh-client-ui-seaglass" # 用你的实际克隆路径(建议绝对路径)
|
|
38
|
+
```
|
|
39
|
+
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# npm distribution patch layer: registers the Seaglass client plugin into the
|
|
2
|
+
# profile's browser roster. Installing the npm package with
|
|
3
|
+
# dsh plugin --profile web add dsh-client-ui-seaglass
|
|
4
|
+
# pulls this patch into the profile's layer stack, and the row below makes
|
|
5
|
+
# the web UI load the plugin's bundled client (the package's `dsh.client`
|
|
6
|
+
# declaration marks it as a browser-roster entry).
|
|
7
|
+
- insert:
|
|
8
|
+
- id: ui-seaglass
|
|
9
|
+
name: 'dsh-client-ui-seaglass'
|