@linxin666/dsh-client-ui-skin-center 0.4.14 → 0.4.16

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 CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # node scripts/verify-docs.mjs --write <dir>
5
- README.md: d8abf9358dcbefa36d2eba30bdf4c7583795d178
6
- README.zh.md: beab21fa090b8da4a8dde844e098b201d00543c4
5
+ README.md: 2a2b302fa29400784b4fee439292a8caf9648f9f
6
+ README.zh.md: f944e7faff645a237e41a09bd6d3abe3b85ac2db
package/README.md CHANGED
@@ -5,7 +5,7 @@ English | [中文](README.zh.md)
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-client-ui-skin-center?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.1--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.1-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
package/README.zh.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-client-ui-skin-center?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.1--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.1-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "$schema": "https://schemas.linxin666.org/dsh-skin/official-tokens-v1.json",
3
3
  "contractVersion": 1,
4
- "source": "official surfaces: @deepseek-ai/dsh-client-ui-theme@0.2.1-rc.3 lib + @deepseek-ai/dsh-web-frontend@0.2.1-rc.3 dist/assets",
4
+ "source": "official surfaces: @deepseek-ai/dsh-client-ui-theme@0.2.2-rc.1 lib + @deepseek-ai/dsh-web-frontend@0.2.2-rc.1 dist/assets",
5
5
  "excludedPrefix": "--dsw-static-",
6
- "count": 329,
6
+ "count": 335,
7
7
  "tokens": [
8
8
  "--dsw-alias-bg-base",
9
9
  "--dsw-alias-bg-document-preview",
@@ -55,6 +55,12 @@
55
55
  "--dsw-alias-file-diff-deleted-bg",
56
56
  "--dsw-alias-file-diff-deleted-gutter",
57
57
  "--dsw-alias-file-diff-deleted-marker",
58
+ "--dsw-alias-illustration-background",
59
+ "--dsw-alias-illustration-backing",
60
+ "--dsw-alias-illustration-detail",
61
+ "--dsw-alias-illustration-inset",
62
+ "--dsw-alias-illustration-shadow",
63
+ "--dsw-alias-illustration-surface",
58
64
  "--dsw-alias-interactive-bg-active",
59
65
  "--dsw-alias-interactive-bg-hover",
60
66
  "--dsw-alias-interactive-bg-hover-accent",
@@ -97,6 +103,7 @@
97
103
  "--dsw-alias-settings-card-stroke",
98
104
  "--dsw-alias-state-business-primary",
99
105
  "--dsw-alias-state-business-tertiary",
106
+ "--dsw-alias-state-done-primary",
100
107
  "--dsw-alias-state-error-primary",
101
108
  "--dsw-alias-state-error-secondary",
102
109
  "--dsw-alias-state-idle-primary",
@@ -332,7 +339,6 @@
332
339
  "--dsw-specific-sidebar-fill",
333
340
  "--dsw-specific-sidebar-nav-item-active",
334
341
  "--dsw-specific-sidebar-nav-item-active-accent",
335
- "--dsw-specific-sidebar-nav-item-hover",
336
342
  "--dsw-specific-tip"
337
343
  ]
338
344
  }
@@ -71,7 +71,7 @@
71
71
  皮肤中心不写委托插件的任何属性,委托插件不写 `data-dsh-skin`,双方都无法把
72
72
  对方卡死。委托皮肤的选择会照常持久化、开机采纳与试穿还原;让路暂停的是
73
73
  视觉,不是插件的设置页与偏好。
74
- ## part 组(103 行,含各 owner 行)
74
+ ## part 组(99 行,含各 owner 行)
75
75
 
76
76
  shell 区域(owner: shell):
77
77
 
@@ -112,11 +112,7 @@ family / 插件区域:
112
112
  | `host-table` / `host-row` | ssh | 主机表/行;`[data-dsh-ssh-view]` 内 table/tr |
113
113
  | `terminal` | ssh | xterm 终端;面板内 termContainer(.xterm 辅锚) |
114
114
  | `banner` | ssh | 状态横幅;`[data-kind]` 横幅 |
115
- | `chip` | git-graph | 分支 chip;`[data-gitgraph-chip-anchor]` |
116
- | `dialog` | git-graph | 图对话框;`[data-gitgraph-dialog]` |
117
- | `graph-row` | git-graph | 提交行;dialog 内行容器 |
118
- | `ref` | git-graph | 分支徽标;`[data-gitgraph-ref]` |
119
- | `worktree-create` / `worktree-manage` | git-graph | worktree 创建/管理入口按钮;分支弹层 footer 内裸值按钮 |
115
+ | `diagram` | diagrams | mermaid 图示容器;`[data-dsh-part="diagram"]`,外观由 mermaid SVG 自带 |
120
116
  | `sprite` | pet | 精灵;`[data-dsh-pet-root]` 子树 float 容器 |
121
117
  | `bubble` | pet | 气泡容器 |
122
118
  | `announcement` | pet | 插件公告气泡(dsh-usage 联动);`[data-dsh-pet-announcement]`,值来源插件标签 |
@@ -206,12 +202,12 @@ shell 的 `[class*="panelGlyph"]` 内)。shell 目前不把 entry id 透传到
206
202
  | --- | --- | --- |
207
203
  | `task-board` | dsh-task-board | `[data-dsh-taskboard-view]` / 面板行字形 `[data-dsh-panel-entry="task-board"]` / `sidebar.panellist` entry id |
208
204
  | `ssh` | dsh-ssh | `[data-dsh-ssh-view]` / 面板行字形 `[data-dsh-panel-entry="ssh"]` |
209
- | `git-graph` | dsh-git-graph | slot entry id `git-graph`;`[data-gitgraph-chip-anchor]` / `[data-gitgraph-dialog]` |
210
205
  | `pet` | dsh-pet | `[data-dsh-pet-root]`;设置页 `[data-dsh-plugin="pet"]`(Web 扩展 keyed id `pet`,独立安装时为一级 settings.section id `pet`,只列内置与已安装宠物) |
211
206
  | `remote-web-ui` | dsh-remote-web-ui | slot entry id `remote-web-ui` |
212
207
  | `update` | dsh-update | footer action slot entry id `update`;`[data-dsh-plugin="update"]`(面板根 + 入口触发器) |
213
208
  | `web-ui-settings` | dsh-web-settings | 一级 settings.section id `web-ui-plugins`;`[data-dsh-plugin="web-ui-settings"][data-dsh-part="extensions"]` 父级根 |
214
209
  | `skill-explorer` | dsh-skill-explorer | `[data-dsh-skill-explorer-view]` / 面板行字形 `[data-dsh-panel-entry="skill-explorer"]` |
210
+ | `diagrams` | dsh-diagrams | 渲染出的图示容器 `[data-dsh-plugin="diagrams"][data-dsh-part="diagram"]`(原始代码块仅隐藏,不在皮肤面内) |
215
211
  | `dsh-web-ui-market` | dsh-market | 创意工坊商店页 `[data-dsh-plugin="dsh-web-ui-market"]`(Web 扩展 keyed id `dsh-workshop`,独立安装时为一级 settings.section id `dsh-workshop`),商店卡与目录条目容器 |
216
212
  | `skin-center` | skins/skin-center | 设置卡 `[data-dsh-plugin="skin-center"]`(Web 扩展 keyed id `skin-center`,独立安装时为一级 settings.section id `skin-center`,列已安装皮肤,属内置源时显式标记) |
217
213
  | `session-id` | dsh-session-id | footer action slot entry id `session-id`;`[data-dsh-plugin="session-id"]`(面板 overlay 根 + 入口触发器) |
package/lib/client.js CHANGED
@@ -191,11 +191,6 @@ window.__ModuleLoader__.load({
191
191
  attrs: [["data-dsh-plugin", "ssh"]],
192
192
  note: "ssh panel (the sidebar row is shell-owned: its glyph carries data-dsh-panel-entry and the family rule below stamps the row)"
193
193
  },
194
- {
195
- selector: "[data-gitgraph-chip-anchor], [data-gitgraph-dialog]",
196
- attrs: [["data-dsh-plugin", "git-graph"]],
197
- note: "git-graph chip/dialog"
198
- },
199
194
  {
200
195
  selector: "[data-dsh-pet-root]",
201
196
  attrs: [["data-dsh-plugin", "pet"]],
@@ -229,8 +224,6 @@ window.__ModuleLoader__.load({
229
224
  "data-dsh-taskboard-board",
230
225
  "data-dsh-ssh-view",
231
226
  "data-dsh-pet-root",
232
- "data-gitgraph-chip-anchor",
233
- "data-gitgraph-dialog",
234
227
  "data-decoration",
235
228
  "data-streaming",
236
229
  "data-side",
@@ -679,6 +672,36 @@ window.__ModuleLoader__.load({
679
672
  color: var(--dsw-alias-label-primary, #ffffff) !important;
680
673
  background: var(--dsw-alias-interactive-bg-active, color-mix(in srgb, var(--dsw-alias-button-info-fill, #4a5fa8) 50%, transparent)) !important;
681
674
  }
675
+ /* #102: the fullscreen right-sidebar panel is a 100vw overlay (the same
676
+ element carries --dsh-sidebar-width: 100vw), but every surface inside it
677
+ inherits a translucent fill from the skin: the pane host takes
678
+ --dsw-alias-bg-base (skins commonly remap it to a ~10% tint) and four
679
+ skins paint [data-dockkit-content] at ~34%. With nothing opaque
680
+ underneath, the conversation text reads straight through the document
681
+ preview. Paint the panel itself with the skin own panel colour at full
682
+ alpha, so one rule follows every skin and no skin must declare a new
683
+ token. Relative colour syntax keeps the origin colour's alpha when the
684
+ alpha component is omitted, so the alpha is stated explicitly as / 1;
685
+ the plain declaration before it is the fallback for an engine without
686
+ relative colours (translucent as before, never an unstyled box). Docked (push)
687
+ mode is deliberately untouched: a see-through column beside the artwork
688
+ is the intended look and is not what the report complains about.
689
+ The open qualifier is load-bearing: the panel is always mounted, and a
690
+ Session that remembered fullscreen mode carries data-sidebar-right-panel=
691
+ "fullscreen" while collapsed too. Without it this rule would plate the
692
+ whole viewport with an opaque box behind the conversation - black bands
693
+ wherever the conversation paints nothing. */
694
+ ${scoped("[data-sidebar-right-panel=\"fullscreen\"][data-sidebar-right-open]")} {
695
+ background-color: var(--dsw-alias-bg-base, #05070d) !important;
696
+ background-color: rgb(from var(--dsw-alias-bg-base, #05070d) r g b / 1) !important;
697
+ }
698
+ /* #102, same root cause one layer up: the settings dialog own plate is
699
+ --dsw-alias-bg-layer-2, which skins remap anywhere from 42% to 96% alpha,
700
+ so the conversation stays readable through the dialog. Same technique. */
701
+ ${scoped("[data-shortcut-modal=\"settings\"]")} {
702
+ background-color: var(--dsw-alias-bg-layer-2, #ffffff) !important;
703
+ background-color: rgb(from var(--dsw-alias-bg-layer-2, #ffffff) r g b / 1) !important;
704
+ }
682
705
  `;
683
706
  }
684
707
  /** Install the shared corrections and return their idempotent teardown. */
@@ -5293,8 +5316,7 @@ window.__ModuleLoader__.load({
5293
5316
  ["--dsw-specific-selector", mix(background, 100 - depth2, foreground)],
5294
5317
  ["--dsw-specific-sidebar-fill", mix(background, 100 - depth1, foreground)],
5295
5318
  ["--dsw-specific-sidebar-nav-item-active", mix(background, 86, accent)],
5296
- ["--dsw-specific-sidebar-nav-item-active-accent", accent],
5297
- ["--dsw-specific-sidebar-nav-item-hover", mix(background, 100 - depth2, foreground)]
5319
+ ["--dsw-specific-sidebar-nav-item-active-accent", accent]
5298
5320
  ];
5299
5321
  }
5300
5322
  function block(selector, profile) {
@@ -5738,7 +5760,7 @@ window.__ModuleLoader__.load({
5738
5760
  /** The building package's version, when the bundle carries it. */
5739
5761
  function bakedVersion() {
5740
5762
  try {
5741
- return "0.4.14";
5763
+ return "0.4.16";
5742
5764
  } catch {
5743
5765
  return;
5744
5766
  }