dsh-liquid-glass 0.4.1 → 0.4.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.md +4 -2
- package/README.zh.md +4 -2
- package/lib/client.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,9 @@ English | [中文](README.zh.md)
|
|
|
8
8
|
|
|
9
9
|
**Theme backgrounds for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)** — translucent surfaces with image or local video backgrounds.
|
|
10
10
|
|
|
11
|
-
Translucent theme surfaces and scoped frosted menus over your own background image, with material presets, tint, wallpaper controls, and system accessibility response. Current version: **0.4.
|
|
11
|
+
Translucent theme surfaces and scoped frosted menus over your own background image, with material presets, tint, wallpaper controls, and system accessibility response. Current version: **0.4.2**. A community plugin that reuses the host’s official controls where available.
|
|
12
|
+
|
|
13
|
+
Settings cards and list outlines retain the Host theme's border colors, including custom light and dark themes.
|
|
12
14
|
|
|
13
15
|
## Install
|
|
14
16
|
|
|
@@ -18,7 +20,7 @@ dsh plugin --profile web add dsh-liquid-glass
|
|
|
18
20
|
|
|
19
21
|
Run the command in a terminal. In the app’s Add plugin field, enter only `dsh-liquid-glass`.
|
|
20
22
|
|
|
21
|
-
Open **Settings → General → Theme background**, immediately below Appearance. Expand the official chevron for basic options; advanced options remain collapsed. The switch controls glass and image/video backgrounds together, retaining preferences when disabled. Restart the host after upgrading. Enter `dsh-liquid-glass@0.4.
|
|
23
|
+
Open **Settings → General → Theme background**, immediately below Appearance. Expand the official chevron for basic options; advanced options remain collapsed. The switch controls glass and image/video backgrounds together, retaining preferences when disabled. Restart the host after upgrading. Enter `dsh-liquid-glass@0.4.2` in the app’s plugin field, not the full terminal command.
|
|
22
24
|
|
|
23
25
|
## Screenshots
|
|
24
26
|
|
package/README.zh.md
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
**[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的主题背景插件**:调整界面通透效果,设置图片或视频背景。
|
|
10
10
|
|
|
11
|
-
通过官方主题接口提供表面透明化、弹出菜单模糊、自定义壁纸、质感预设、色调和系统无障碍响应。当前版本 **0.4.
|
|
11
|
+
通过官方主题接口提供表面透明化、弹出菜单模糊、自定义壁纸、质感预设、色调和系统无障碍响应。当前版本 **0.4.2**。社区插件,界面尽量复用宿主提供的官方组件。
|
|
12
|
+
|
|
13
|
+
设置卡片与列表描边保留宿主主题的边框颜色,包括自定义的浅色与深色主题。
|
|
12
14
|
|
|
13
15
|
## 安装
|
|
14
16
|
|
|
@@ -18,7 +20,7 @@ dsh plugin --profile web add dsh-liquid-glass
|
|
|
18
20
|
|
|
19
21
|
终端中运行上面的命令;如果使用应用的「添加插件」输入框,只填 `dsh-liquid-glass`。
|
|
20
22
|
|
|
21
|
-
入口为 **设置 → 通用 → 外观下方的「主题背景」**,默认折叠。点击官方箭头展开基础选项;高级选项再次折叠。开关同时控制透明效果和图片/视频背景,关闭不丢失偏好。升级后重启宿主。应用内安装框填写 `dsh-liquid-glass@0.4.
|
|
23
|
+
入口为 **设置 → 通用 → 外观下方的「主题背景」**,默认折叠。点击官方箭头展开基础选项;高级选项再次折叠。开关同时控制透明效果和图片/视频背景,关闭不丢失偏好。升级后重启宿主。应用内安装框填写 `dsh-liquid-glass@0.4.2`,不要粘贴完整终端命令。
|
|
22
24
|
|
|
23
25
|
## 截图
|
|
24
26
|
|
package/lib/client.js
CHANGED
|
@@ -616,8 +616,7 @@ window.__ModuleLoader__.load({
|
|
|
616
616
|
materialDispose = ctx.theme.overrideTokens(MATERIAL_SOURCE, {
|
|
617
617
|
"--dsw-menu-backdrop-filter": { light: filter, dark: filter },
|
|
618
618
|
"--dsw-menu-surface-fill": { light: toRgba(tint.light, Math.max(0.55, contentAlpha)), dark: toRgba(tint.dark, Math.max(0.55, contentAlpha)) },
|
|
619
|
-
"--dsw-specific-menu": { light: toRgba(tint.light, Math.max(0.55, contentAlpha)), dark: toRgba(tint.dark, Math.max(0.55, contentAlpha)) }
|
|
620
|
-
"--dsw-alias-settings-card-stroke": { light: "rgba(255, 255, 255, 0.65)", dark: "rgba(255, 255, 255, 0.18)" }
|
|
619
|
+
"--dsw-specific-menu": { light: toRgba(tint.light, Math.max(0.55, contentAlpha)), dark: toRgba(tint.dark, Math.max(0.55, contentAlpha)) }
|
|
621
620
|
});
|
|
622
621
|
const overrides = {};
|
|
623
622
|
for (const key of GLASS_TOKENS) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-liquid-glass",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Theme backgrounds for DeepSeek Harness: native-style collapsible settings, translucent surfaces, and local image/video wallpapers. 主题背景:官方风格折叠设置、通透界面与本地图片/视频背景。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ultroncn",
|