@alexpeng/dsh-custom-plugin 0.11.0 → 0.12.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/CHANGELOG.md +49 -0
- package/NOTICE +17 -44
- package/README.i18n.yaml +2 -2
- package/README.md +7 -4
- package/README.zh.md +7 -4
- package/lib/client.js +10382 -4602
- package/lib/client.js.map +1 -1
- package/lib/index.js +41 -15
- package/lib/types/client/bg-focus.d.ts +23 -6
- package/lib/types/client/bg-layer.d.ts +7 -32
- package/lib/types/client/bg-params.d.ts +19 -9
- package/lib/types/client/bg-scene.d.ts +170 -0
- package/lib/types/client/bg-shader.d.ts +103 -265
- package/lib/types/client/palette.d.ts +2 -0
- package/lib/types/client/styles.d.ts +1 -1
- package/lib/types/client/ui/appearance-controls.d.ts +1 -0
- package/lib/types/protocol.d.ts +32 -19
- package/package.json +4 -2
- package/lib/types/balance.d.ts +0 -44
- package/lib/types/client/bg-ascii.d.ts +0 -405
- package/lib/types/client/bg-field.d.ts +0 -62
- package/lib/types/client/bg-jelly.d.ts +0 -53
- package/lib/types/client/bg-ocean.d.ts +0 -31
- package/lib/types/client/bg-pointer.d.ts +0 -107
- package/lib/types/client/bg-wake.d.ts +0 -57
- package/lib/types/client/bg-whale.d.ts +0 -56
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,55 @@ All notable changes to this project are documented here. The format loosely
|
|
|
4
4
|
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions
|
|
5
5
|
follow [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## 0.12.0 — 2026-12-04
|
|
8
|
+
|
|
9
|
+
#### Added
|
|
10
|
+
|
|
11
|
+
- **背景动效 P0 + P1 优化**(全部视觉素材来自既有两个开源项目):
|
|
12
|
+
- 字符档新增 5 个 `ascii-things` 夜色场景:锦鲤池 `koi`、椋鸟群
|
|
13
|
+
`starlings`、萤火虫 `fireflies`、城市夜景 `city`、机房 `servers`。
|
|
14
|
+
它们只在深色主题渲染,浅色下临时回退「鲨群」并显示说明,已保存的选择
|
|
15
|
+
不会被改写。
|
|
16
|
+
- 光影档新增 Paper Shaders 的 `warp`(流纹)与 `swirl`(漩涡)。
|
|
17
|
+
- 插画新增「单色印刷」开关(`bgLagoonInk`,默认关闭):浅色下按当前底色
|
|
18
|
+
压成灰阶双色调;深色保留原作彩色(浅底插画反相后在深色页面上会变成
|
|
19
|
+
大片灰雾),面板在深色下禁用该开关并说明原因。
|
|
20
|
+
- 预设面板按「墨色 / 插画 / 夜色 / 光影」分组,夜色组仅深色主题出现。
|
|
21
|
+
- 新增 `bgAsciiPreset` / `bgShaderPreset`,两个档位各自记住上次的预设,
|
|
22
|
+
切换档位时恢复;旧状态由 `bgFxPreset` 自动播种。
|
|
23
|
+
|
|
24
|
+
#### Changed
|
|
25
|
+
|
|
26
|
+
- **背景动效全部重做为开源实现**:移除全部自绘字符图案(鲸鱼、水母、鱼群、海龟、
|
|
27
|
+
海面)与旧的字形缓冲渲染器、粒子/波浪模拟和手写着色器。
|
|
28
|
+
- 字符档接入 `ascii-things`(MIT):墨色场景「鲨群」「水母」,以及彩色插画
|
|
29
|
+
「礁湖」「夜礁」「海龟」「蝠鲼」「海豚」「海马」「双髻鲨」「鱼群」。
|
|
30
|
+
- 光影档接入 Paper Shaders(Apache-2.0):「流云」「烟岚」「光线」「网点」
|
|
31
|
+
「颗粒」五套着色器。
|
|
32
|
+
- 墨色场景按主题从页面底色推导墨色:浅色用白底 `multiply`,深色用黑底
|
|
33
|
+
`screen`,页面色调不因动效改变;插画保持原作色彩,以预设浓度叠在底色上。
|
|
34
|
+
- 避让正文改为 CSS `mask-image`(1/4 分辨率、150 px 羽化、0.15 地板),
|
|
35
|
+
两档共用同一几何;关掉开关时不再生成遮罩。
|
|
36
|
+
- 面板参数随渲染器收敛:字符档密度 / 速度 / 浓度,光影档速度 / 强度 / 浓度;
|
|
37
|
+
`bgFxPreset` 默认值变为 `sharks`(字符)与 `mesh`(光影),旧 id 自动迁移。
|
|
38
|
+
- 光影档改为 WebGL2 门禁,不支持时回退字符档并提示;两档共用页面层、
|
|
39
|
+
主题色板与「避让正文」契约。
|
|
40
|
+
- NOTICE 增加 `ascii-things` 与 Paper Shaders 的许可证归属。
|
|
41
|
+
- 背景渲染分辨率跟随设备像素比并设上限:光影档 `resolveShaderDpr`(1..2)
|
|
42
|
+
+ 400 万像素上限,字符档 ink 2×、插画与夜色 1.5×;不再固定 2× 渲染。
|
|
43
|
+
- 字符档拖动滑杆时只下发变化的 `speed/columns` 补丁,墨色调色板仅在墨色
|
|
44
|
+
强度真正变化时重算;`data-vx-bg-motion` 现在也会暂停/恢复字符场景。
|
|
45
|
+
- 深色墨色场景 alpha ×0.8,椋鸟群默认浓度提高到 0.85,降低深色下的块状感。
|
|
46
|
+
- 性能实测(headless Edge,1280×822 与 1920×1080,DPR 1):15 个场景与
|
|
47
|
+
7 个着色器均保持 240 Hz vsync、无超过 33 ms 的帧;未触发放宽
|
|
48
|
+
`maxDpr` / `SHADER_MAX_PIXELS` 的降级规则。
|
|
49
|
+
|
|
50
|
+
#### Fixed
|
|
51
|
+
|
|
52
|
+
- 光影档 WebGL2 上下文丢失时不再停在失效画布上:`attachContextLoss` 阻止
|
|
53
|
+
浏览器自动恢复,只回调一次 `onFallback`,设置 `bgFxShaderBlocked` 后回退
|
|
54
|
+
字符档并提示一次。
|
|
55
|
+
|
|
7
56
|
## 0.11.0 — 2026-12-03
|
|
8
57
|
|
|
9
58
|
#### Added
|
package/NOTICE
CHANGED
|
@@ -1,52 +1,18 @@
|
|
|
1
1
|
dsh-custom-plugin
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
-
The
|
|
5
|
-
|
|
6
|
-
`stackedlol/ascii-sharks`:
|
|
4
|
+
The character-tier background scenes are rendered with `ascii-things`
|
|
5
|
+
(https://github.com/chuma-beep/ascii-things), bundled unmodified:
|
|
7
6
|
|
|
8
7
|
MIT License
|
|
9
|
-
Copyright (c) 2026 drewdi
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
+
Copyright (c) 2026 ascii-things contributors
|
|
17
10
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
|
28
|
-
|
|
29
|
-
The wave tank (`src/client/bg-wake.ts`) is original to this package.
|
|
30
|
-
|
|
31
|
-
The `dsh-ascii-ocean` plugin was read as a behaviour reference only. Its
|
|
32
|
-
repository has no licence text (the LICENSE file is 12 bytes), so no code from
|
|
33
|
-
it is copied here.
|
|
34
|
-
|
|
35
|
-
The shape-aware glyph chart in `src/client/bg-ascii.ts` (`SHAPE_EXTRAS`,
|
|
36
|
-
`buildShapeChart` and the `level × 5 + direction` lookup) adapts the algorithm
|
|
37
|
-
described in Alex Harri Jónsson's "ASCII characters are not pixels" and the MIT
|
|
38
|
-
`glyph-graphics` implementation:
|
|
39
|
-
|
|
40
|
-
MIT License
|
|
41
|
-
|
|
42
|
-
Copyright (c) 2026 Alex Yankov
|
|
43
|
-
|
|
44
|
-
This library implements the ASCII rendering algorithm described in
|
|
45
|
-
"Rendering ASCII in WebGL" by Alex Harri Jónsson
|
|
46
|
-
(https://alexharri.com/blog/ascii-rendering) and is derived from the
|
|
47
|
-
MIT-licensed implementation in https://github.com/alexharri/website:
|
|
48
|
-
|
|
49
|
-
Copyright (c) 2025 Alex Harri Jónsson
|
|
11
|
+
This project is derived from ascii-sharks by stackedlol
|
|
12
|
+
(https://github.com/stackedlol/ascii-sharks). The original shark simulation
|
|
13
|
+
and procedural ASCII rendering are by the original author. ascii-things
|
|
14
|
+
adds the library API, packaging, palettes, seeded worlds, accessibility
|
|
15
|
+
options, framework adapters, and the robot scene.
|
|
50
16
|
|
|
51
17
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
52
18
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -66,6 +32,13 @@ described in Alex Harri Jónsson's "ASCII characters are not pixels" and the MIT
|
|
|
66
32
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
67
33
|
SOFTWARE.
|
|
68
34
|
|
|
69
|
-
|
|
70
|
-
|
|
35
|
+
The light/shadow tier is rendered with Paper Shaders
|
|
36
|
+
(https://github.com/paper-design/shaders), Apache-2.0. This package's own
|
|
37
|
+
LICENSE carries the Apache License 2.0 text; the upstream NOTICE is reproduced
|
|
38
|
+
verbatim:
|
|
39
|
+
|
|
40
|
+
Paper Shaders
|
|
41
|
+
Copyright 2026 Paper
|
|
71
42
|
|
|
43
|
+
Powered by Paper Shaders:
|
|
44
|
+
https://shaders.paper.design
|
package/README.i18n.yaml
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record the hashes:
|
|
4
4
|
# git hash-object --path README.md README.md
|
|
5
5
|
# git hash-object --path README.zh.md README.zh.md
|
|
6
|
-
README.md:
|
|
7
|
-
README.zh.md:
|
|
6
|
+
README.md: 02c108b483f127b56ea9eca6a78301382de47b78
|
|
7
|
+
README.zh.md: f02b1f68151f68bd89ec0864342b4d23418fe8e8
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Weather FX is shown in dark mode. Usage history, backup-import previews, session
|
|
|
55
55
|
- **Weather FX**: canvas-rendered, pointer-transparent one-click overlays — falling snow, cinematic rain (three depth layers with splashes), and drifting sakura petals; turning it off clears the canvas.
|
|
56
56
|
- **Glass**: frosted glass on every Custom surface, or liquid glass (a rounded-rect SDF displacement map refracts all four edges, with a restrained blur + saturation, a 1px specular rim and the host fill at ~70% so text over large panels stays readable; engines without SVG-referencing backdrop filters fall back to frosted). When a background renderer is live, the glass switches to a centre-solid / edge-clear radial fill and a contrast-boosted backdrop so the animation stays visible at the rim without hurting the copy. A global-glass option extends the same treatment to dialogs, menus, tooltips, listboxes and the system settings window — displaced as well in liquid mode.
|
|
57
57
|
- **Native surfaces**: the header's 个性化 button opens only a compact appearance popover anchored to it — flipped upward when the viewport runs short, never a draggable window — while folders, prompts, search, export, Mermaid, efficiency, usage and data management all live in the 个性化 section of DSH Settings. Popovers, menus and settings cards use the host's menu material, elevation shadows, radius scale and type scale, with 150–220 ms open/close motion that starts from the anchor's edge (toasts also animate out in place) and respects the system's reduced-motion preference.
|
|
58
|
-
- **Background motion**: a full-page animated layer beneath the content,
|
|
58
|
+
- **Background motion**: a full-page animated layer beneath the content, built entirely from open-source renderers. The 字符 tier mounts `ascii-things` scenes in three groups — ink `sharks` / `jellyfish`, full-colour lagoon paintings `reef`, `night`, `turtle`, `manta`, `dolphin`, `seahorse`, `hammerhead`, `tang`, and five night scenes `koi`, `starlings`, `fireflies`, `city`, `servers`. Night scenes render only in dark mode; light mode temporarily shows `sharks` with a note and never changes the stored choice. 单色印刷 turns a lagoon into a page-tint duotone in light mode; dark mode keeps the painting's own colours, because inverting light-background art behind a dark page reads as a grey wash. The 光影 tier mounts Paper Shaders fields `mesh`, `smoke`, `rays`, `dither`, `grain`, `warp` and `swirl`. The panel groups presets, and each tier remembers its own last preset when you switch between them. It tunes density, speed and opacity on ink scenes, speed and opacity on painted and night scenes, and speed, intensity and opacity on the shader tier, and "restore defaults" resets only those parameter overrides — the tier and the preset themselves never move. Every slider clamps to the active preset's declared range. Ink strength is a separate three-step choice (柔和 / 标准 / 强烈) that scales the ink step without touching density or speed, and the **avoid-the-copy** switch (避让正文, on by default) fades the scene behind the reading column while the page edges keep full strength. Both tiers pause while the page is hidden, honour reduced motion and are destroyed on unmount; render resolution follows the device pixel ratio under a cap (painted scenes 1.5×, shaders 4M pixels). The shader tier needs WebGL2 and falls back to the character tier with one notice when it is unavailable or loses its context. The scene catalogue and the shader fields come from `ascii-things` (MIT) and Paper Shaders (Apache-2.0); see NOTICE.
|
|
59
59
|
|
|
60
60
|
<img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/background-motion-panel.png" alt="Background motion panel with the character tier active" width="360">
|
|
61
61
|
|
|
@@ -233,11 +233,14 @@ Appearance and feature toggles (the `cfg` field, all with defaults):
|
|
|
233
233
|
| Key | Default | Meaning |
|
|
234
234
|
|---|---|---|
|
|
235
235
|
| `bg` | `天青灰` | `default` (no color) / one of the 20 palette names (both themes; a stored `aurora` migrates to `default`) |
|
|
236
|
-
| `bgFx` | `none` | `none` / `ascii` / `shader` (labelled 关闭 / 字符 / 光影 in the panel); the shader tier falls back to
|
|
237
|
-
| `bgFxPreset` | `
|
|
236
|
+
| `bgFx` | `none` | `none` / `ascii` / `shader` (labelled 关闭 / 字符 / 光影 in the panel); the shader tier needs WebGL2 and falls back to the character tier when it is unavailable |
|
|
237
|
+
| `bgFxPreset` | `sharks` | the active tier's preset: `sharks`/`jellyfish`/`reef`/`night`/`turtle`/`manta`/`dolphin`/`seahorse`/`hammerhead`/`tang`/`koi`/`starlings`/`fireflies`/`city`/`servers` for the character tier, `mesh`/`smoke`/`rays`/`dither`/`grain`/`warp`/`swirl` for the shader tier; an id from the other tier resets to that tier's remembered preset |
|
|
238
|
+
| `bgAsciiPreset` | `sharks` | last character-tier scene, restored when switching back to 字符 |
|
|
239
|
+
| `bgShaderPreset` | `mesh` | last shader-tier style, restored when switching back to 光影 |
|
|
240
|
+
| `bgLagoonInk` | `false` | 单色印刷 for lagoon paintings: page-tint duotone in light mode; dark mode keeps the authored colour |
|
|
238
241
|
| `bgStrength` | `standard` | ink strength `soft` / `standard` / `strong` (柔和 / 标准 / 强烈), multipliers 0.45 / 0.62 / 0.9; scales the ink step only, density/speed/frame rate are unaffected. `standard` is the shipped default and matches the depth the earlier build used for 柔和 |
|
|
239
242
|
| `bgFocus` | `true` | 避让正文: fade the texture behind the reading column and keep the page edges dense; `false` makes the whole page uniform and takes the mask out of the render pipeline |
|
|
240
|
-
| `bgDensity`, `bgSpeed`, `bgFps`, `bgFontPx`, `bgOpacity`, `bgIntensity` | `-1` | panel overrides; `-1` follows the preset, anything else is clamped to the active preset's declared range (
|
|
243
|
+
| `bgDensity`, `bgSpeed`, `bgFps`, `bgFontPx`, `bgOpacity`, `bgIntensity` | `-1` | panel overrides; `-1` follows the preset, anything else is clamped to the active preset's declared range (the character tier uses density/speed/opacity, the shader tier speed/intensity/opacity) |
|
|
241
244
|
| `weather` | `none` | `none` / `snow` / `rain` / `sakura` |
|
|
242
245
|
| `glass` | `true` | master glass toggle for Custom surfaces |
|
|
243
246
|
| `glassMode` | `frost` | `frost` frosted / `liquid` displacement glass |
|
package/README.zh.md
CHANGED
|
@@ -55,7 +55,7 @@ DeepSeek Harness(DSH)Web GUI 的 Custom 便利套件:个性化外观、天
|
|
|
55
55
|
- **天气特效**:画布渲染、不挡交互,一键切换——飘雪、电影感雨滴(三层景深 + 地面溅起)、樱花飘落;关闭时自动清空画布。
|
|
56
56
|
- **玻璃效果**:所有 Custom 面板默认毛玻璃;可切换液态玻璃(圆角矩形 SDF 位移贴图让四条边对称折射,配合克制的模糊提饱和、1px 高光边与约 70% 宿主填充,大面积面板文字仍清晰;不支持 SVG 位移滤镜的引擎自动回退毛玻璃)。背景动效开启时,玻璃改用「中心实、边缘透」的径向填充与提高对比度的滤镜链,让动画纹理在玻璃边缘继续可见,同时保持正文可读。「全局浮层玻璃」对弹窗、菜单、提示框、下拉框与系统设置窗统一加玻璃质感,液态模式下浮层同样位移折射。
|
|
57
57
|
- **原生入口**:头部「个性化」按钮只打开一个紧凑的外观浮层,锚定在按钮下方、空间不足时自动上翻,不再有可拖拽窗口;项目、提示词、搜索、导出、Mermaid、效率、额度与数据管理全部收进 dsh 设置页的「个性化」分区。浮层、菜单与设置卡片统一使用宿主菜单材质、抬升阴影、圆角与字号阶梯,开合有 150–220ms 的淡入/缩放动效(浮层从锚定方向进入),通知在原位退出,并遵循系统的「减少动态效果」设置。
|
|
58
|
-
-
|
|
58
|
+
- **背景动效**:内容层下方的整页动态背景,全部由开源渲染器承担。字符档挂载 `ascii-things` 场景,分为三组:墨色 `sharks`、`jellyfish`,整幅彩色插画 `reef`、`night`、`turtle`、`manta`、`dolphin`、`seahorse`、`hammerhead`、`tang`,以及夜色 `koi`、`starlings`、`fireflies`、`city`、`servers`。夜色场景只在深色主题渲染;浅色下临时显示 `sharks` 并给出说明,不改变已保存的选择。「单色印刷」仅在浅色下把插画压成当前底色的双色调;深色保留原作彩色,因为把浅底插画反相放到深色页面上会呈现大片灰雾。光影档挂载 Paper Shaders 的 `mesh`、`smoke`、`rays`、`dither`、`grain`、`warp`、`swirl`。面板按组展示预设,两个档位各自记住上次的预设,切换档位时恢复。墨色场景可调密度、速度与浓度,插画与夜色场景可调速度与浓度,光影档可调速度、强度与浓度;「恢复默认参数」只恢复这些参数覆盖值,不改变档位与预设。所有滑块值一律 clamp 到当前预设声明的范围。墨色强度是另一条独立的轴(柔和 / 标准 / 强烈),只改墨色深浅、不动密度与速度;「避让正文」默认打开,让正文读取列更淡、页面四周保持完整场景,关掉则整页均匀。两档都会在页面隐藏时暂停、遵循系统「减少动态效果」,并在卸载时销毁;渲染分辨率跟随设备像素比并设上限(插画 1.5×、光影 400 万像素)。光影档需要 WebGL2,不可用或上下文丢失时会回退字符档并提示一次。场景目录与光影着色器分别来自 `ascii-things`(MIT)与 Paper Shaders(Apache-2.0),归属见 NOTICE。
|
|
59
59
|
|
|
60
60
|
<img src="https://github.com/AlexPeng07/dsh-custom-plugin/raw/main/docs/background-motion-panel.png" alt="背景动效面板(字符档)" width="360">
|
|
61
61
|
|
|
@@ -216,11 +216,14 @@ dsh plugin --profile web add link:F:/dsh-plugin-dev
|
|
|
216
216
|
| 配置项 | 默认值 | 说明 |
|
|
217
217
|
|---|---|---|
|
|
218
218
|
| `bg` | `天青灰` | `default`(无颜色)/ 20 组调色板名之一(深浅色通用;旧存档的 `aurora` 自动迁移为 `default`) |
|
|
219
|
-
| `bgFx` | `none` | `none` / `ascii` / `shader`(面板上的「关闭 / 字符 /
|
|
220
|
-
| `bgFxPreset` | `
|
|
219
|
+
| `bgFx` | `none` | `none` / `ascii` / `shader`(面板上的「关闭 / 字符 / 光影」);光影档需要 WebGL2,不可用时回退字符档 |
|
|
220
|
+
| `bgFxPreset` | `sharks` | 当前档位的预设:字符档 `sharks`/`jellyfish`/`reef`/`night`/`turtle`/`manta`/`dolphin`/`seahorse`/`hammerhead`/`tang`/`koi`/`starlings`/`fireflies`/`city`/`servers`,光影档 `mesh`/`smoke`/`rays`/`dither`/`grain`/`warp`/`swirl`;另一档的 id 会回落到该档记住的预设 |
|
|
221
|
+
| `bgAsciiPreset` | `sharks` | 字符档上次的场景,切回字符档时恢复 |
|
|
222
|
+
| `bgShaderPreset` | `mesh` | 光影档上次的样式,切回光影档时恢复 |
|
|
223
|
+
| `bgLagoonInk` | `false` | 插画的「单色印刷」:浅色下用当前底色做双色调;深色保留原作彩色 |
|
|
221
224
|
| `bgStrength` | `standard` | 墨色强度 `soft` / `standard` / `strong`(柔和 / 标准 / 强烈),倍率 0.45 / 0.62 / 0.9;只缩放墨色阶,密度/速度/帧率不受影响。默认「标准」,深度与此前版本的「柔和」一致 |
|
|
222
225
|
| `bgFocus` | `true` | 避让正文:正文读取列更淡、页面四周保持浓淡;`false` 时整页均匀,遮罩完全退出渲染管线 |
|
|
223
|
-
| `bgDensity`、`bgSpeed`、`bgFps`、`bgFontPx`、`bgOpacity`、`bgIntensity` | `-1` | 面板覆盖值;`-1` 表示跟随预设,其余值一律 clamp
|
|
226
|
+
| `bgDensity`、`bgSpeed`、`bgFps`、`bgFontPx`、`bgOpacity`、`bgIntensity` | `-1` | 面板覆盖值;`-1` 表示跟随预设,其余值一律 clamp 到当前预设声明的范围(字符档用密度/速度/浓度,光影档用速度/强度/浓度) |
|
|
224
227
|
| `weather` | `none` | `none` / `snow` / `rain` / `sakura` |
|
|
225
228
|
| `glass` | `true` | Custom 面板玻璃总开关 |
|
|
226
229
|
| `glassMode` | `frost` | `frost` 毛玻璃 / `liquid` 液态玻璃 |
|