dsh-ide-window 0.2.0 → 0.3.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/AGENTS.md CHANGED
@@ -56,7 +56,7 @@ locale/{zh,en}.json UI 文案(165 个键);插件管理器也从这里
56
56
  | `06-platform.js` | **客户端平台层**:`toPosix/toNative`、`isAbsolutePath`、手势选项与按键文案(`apply()` 里按 `ctx.shortcuts.platform` 换实例) |
57
57
  | `07-log.js` | **客户端日志**:100 条环形缓冲 `ideLogRecord/ideLogSnapshot`,供「复制诊断信息」上报 |
58
58
  | `10-core.js` | store(`useSyncExternalStore` 订阅)、偏好持久化、标签页/历史/视图状态 |
59
- | `12-theme.js` | **配色主题**:注册表(10 套)、`<link id="iw-theme-link">` 切换、状态栏切换器;主题同时提供 8 个语法色变量 |
59
+ | `12-theme.js` | **配色主题**:注册表(10 套)、`<link id="iw-theme-link">` 切换、状态栏切换器;主题同时提供 8 个语法色变量;对外发布主题(见 3.6) |
60
60
  | `20-tree.js` | 文件树(展开、筛选、拖宽、`⌘P` 定位) |
61
61
  | `30-code.js` | 代码视图(行渲染、符号点击、跳转、右键菜单挂载) |
62
62
  | `40-panel.js` | 面板骨架(工具栏、横幅、布局、字号 CSS 变量) |
@@ -119,6 +119,18 @@ locale/{zh,en}.json UI 文案(165 个键);插件管理器也从这里
119
119
  | `/dsh-ide/theme` | 主题样式表 | `GET ?id=<主题>` 返回 `themes/<id>.css`(唯一非 JSON 路由,浏览器用 `<link>` 取);id 只允许 `[a-z0-9-]`,未知 404、非法 400 |
120
120
  | `/dsh-ide/license` | JetBrains 授权 | `{action:'status'}` 跑 `intellij-server license status`;`{action:'open'}` 后台跑 `license login --browser` 并回传授权 URL(6 秒内没出现 URL 就回传工具输出)。给这两个 JVM 动词加 `-Didea.log.path=<tmp>`,避免受限环境下写 `~/Library/Logs` 失败 |
121
121
 
122
+ ### 3.3.1 跨插件主题约定(和 dsh-git-window)
123
+
124
+ 代码工作区选的配色要能带着同页的 `dsh-git-window` 一起变,靠三条约定,**只有本插件写、对方只读**:
125
+
126
+ | 通道 | 形状 | 用途 |
127
+ |---|---|---|
128
+ | `localStorage['dsh-theme']` | 主题 id 字符串,空/缺失 = 跟随 DSH | 后加载的插件启动时能立刻读到 |
129
+ | `window` 事件 `dsh-theme` | `{ detail: { id } }` | 同页立即生效,不用刷新 |
130
+ | `data-dsh-theme` 属性 + `/dsh-ide/theme?id=<id>` | 主题文件选择器就是 `[data-dsh-theme="<id>"]` | 对方给自己的根节点加属性、`link` 同一份样式表即可套用 |
131
+
132
+ 改主题文件的选择器或键名 = 改接口,必须同步改 `dsh-git-window`(它的 `src/client/05-theme.js` 只读这三样)。对方没装本插件时样式请求 404,它保持自己的 token 外观,不会报错。
133
+
122
134
  ### 3.4 用到的 DSH 槽位
123
135
 
124
136
  | 槽 | 用途 |
@@ -308,6 +320,7 @@ dsh plugin --profile desktop add link:~/dev/dsh-ide-window
308
320
  | 「复制诊断信息」点了没反应、页面像卡住 | `await navigator.clipboard.writeText()` 在无权限/嵌入式环境下可能永不 resolve | 剪贴板用 `Promise.race` 加 1.5 秒超时,上报日志优先,超时退化为「已写入宿主日志」提示 |
309
321
  | 主题弹层里点某一项没反应(真鼠标点不动,代码里 `.click()` 却正常) | 关闭弹层用的是 `document` 上的 **capture** `pointerdown`:真实鼠标先派发 pointerdown,监听器先把弹层卸载,行的 click 永远到不了 | 关闭监听要放过落在弹层/触发按钮内部的按压(`target.closest('.iw-theme-pop, .iw-theme-button')`);**交互必须用真实指针事件验证**,程序化 `.click()` 会绕过 pointerdown |
310
322
  | 切到浅色主题后代码看不清(深色语法色仍在用) | 语法高亮是写死的深色配色,没有跟着主题走 | 语法色走 `--iw-syn-*` 变量,每套主题各给一组并按对比度校验(正文类 ≥4.5:1,注释 ≥3.5:1);`test/theme.mjs` 断言每套主题都有这 8 个变量 |
323
+ | 两个插件(代码工作区 + git 窗口)配色不一致 | 各自注入 CSS、各自用 DSH token,主题是本插件私有的 | 把主题做成跨插件约定:`localStorage['dsh-theme']` + `dsh-theme` 事件 + `[data-dsh-theme]` 选择器;对方只读这三样。只在 `.iw-root` 上作用域的选择器无法共享,必须用通用属性 |
311
324
 
312
325
  ---
313
326
 
@@ -354,6 +367,7 @@ check-dsh-untouched.ps1 ↑ 三个脚本的 PowerShell 版本(Windows
354
367
  restore-profile.ps1
355
368
  start-test-instance.ps1
356
369
  README.md 面向使用者的说明(功能/手势/安装)
370
+ CHANGELOG.md 更新日志(每次发版追加一节,跟着 npm 包一起发)
357
371
  ```
358
372
 
359
373
  ---
package/CHANGELOG.md ADDED
@@ -0,0 +1,77 @@
1
+ # 更新日志
2
+
3
+ 本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/):修 bug 递增补丁号,新增功能递增次版本号。
4
+ 每次发版都会同步到 npm(`dsh-ide-window`),国内镜像(npmmirror)会在几分钟内跟上。
5
+
6
+ 升级方式:DSH →「插件」→ 打开插件的「版本」区 →「检查更新」,或直接卸载后重新安装。
7
+ (`link:` 本地安装不参与版本检查,拉取仓库即可。)
8
+
9
+ ## [0.3.0] — 2026-11-19
10
+
11
+ ### 新增
12
+
13
+ - **主题跨插件共享**:同一页面里的 `dsh-git-window` 会跟随代码工作区的配色,切「德古拉」或「IntelliJ 浅色」时它的工具窗口同步换色,无需单独设置。
14
+ - 共享方式是三条约定,本插件只写不读:`localStorage['dsh-theme']`(当前主题 id)、`window` 事件 `dsh-theme`(同页立即生效)、`[data-dsh-theme]` 属性(配合 `/dsh-ide/theme?id=<id>` 样式表)。其他插件给自己的根节点加这个属性即可套用同一套配色。
15
+
16
+ ### 变更
17
+
18
+ - 主题样式表的选择器从 `.iw-root[data-iw-theme="<id>"]` 改为通用的 `[data-dsh-theme="<id>"]`。**自己改过主题文件选择器的用户**需要同步这一行;正常使用不受影响。
19
+
20
+ ## [0.2.1] — 2026-11-19
21
+
22
+ ### 文档
23
+
24
+ - 增加本更新日志,并让它随 npm 包一起发布(`CHANGELOG.md` 进了 `files` 白名单)。
25
+ - README 增加「更新」一节:怎么看到新版本、怎么升级、镜像同步需要几分钟。
26
+
27
+ ## [0.2.0] — 2026-11-19
28
+
29
+ ### 新增
30
+
31
+ - **配色主题**:右下角「主题」按钮可在 10 套配色间切换(深色 5:海洋蓝 Oceanic、淡紫夜色 Palenight、德古拉 Dracula、Monokai Pro、夜枭 Night Owl;浅色 5:Material、GitHub、Atom One、Solarized、IntelliJ),另有「跟随 DSH」恢复宿主配色。
32
+ - 主题是独立文件(`themes/<id>.css`),只覆盖面板作用域内的设计 token,组件样式没有主题分支;改调色板不需要重新构建,刷新页面即可。
33
+ - **语法高亮随主题**:关键字 / 字符串 / 数字 / 注释 / 注解 / 类型 / 方法 / 标点各一个颜色变量,每套主题自带一组并做对比度校验(浅色主题关键字、字符串、类型 ≥4.5:1,注释 ≥3.5:1)。
34
+ - 新增宿主路由 `GET /dsh-ide/theme?id=<主题>`,只接受 `[a-z0-9-]` 形式的名字,未知主题 404、非法名字 400。
35
+
36
+ ### 修复
37
+
38
+ - **Windows 上跳转报「不在当前工作区内」**:语言服务器返回小写盘符(`c:/…`)而工作区是 `C:/…`,字符串前缀比较失败。现在盘符在进入插件时归一化,工作区归属判断在 Windows 上大小写不敏感(换盘符仍然拒绝)。
39
+ - **展开大目录时 Java 图标缺失并报 413**:`/dsh-ide/kinds` 请求体超过 16 KB 上限。请求体上限提到 64 KB,客户端按 120 条一批分批请求。
40
+
41
+ ### 兼容
42
+
43
+ - 对齐 DSH **0.2.2-rc.5**:LSP 管道包升级到 `@deepseek-ai/dsh-lsp@0.2.2-rc.5` / `dsh-lsp-stdio@0.2.2-rc.5`,安装与导航脚本、README 同步更新。
44
+ - `engines.dsh` 从精确版本放宽为 **`^0.2.2-rc.3`**:0.2.x 的小版本升级不再被拦截,0.3.0 及以上仍会拦下(大版本需要重新验证)。
45
+
46
+ ## [0.1.1] — 2026-11-18
47
+
48
+ ### 修复
49
+
50
+ - **Windows 导航脚本吞掉 pnpm 报错**:失败时只有一句「pnpm add 失败」,看不到真正原因。现在完整输出 pnpm 的报错与退出码,并提示常见错误码的含义(`ERR_PNPM_UNEXPECTED_STORE` 是 store 版本不一致,`EAI_AGAIN`/`ETIMEDOUT` 是网络或代理)。
51
+ - 首次安装失败时自动改用 npmmirror 镜像重试一次;两个源都失败才报错。
52
+ - `install.ps1` 的 pnpm 失败同样输出原始报错。
53
+
54
+ ## [0.1.0] — 2026-11-18
55
+
56
+ ### 首次发布到 npm
57
+
58
+ 此前插件只能以本地目录(`link:`)安装,本次发布为 `dsh-ide-window`,可在插件管理器里按包名安装。
59
+
60
+ ### 新增
61
+
62
+ - **macOS / Windows 一键安装脚本**:`install.sh` / `install.ps1` 负责克隆仓库、装进 profile、登记 bundle、校验结果;支持 `--profile`、`--dir`、`--with-lsp`、`--no-pull`。
63
+ - **代码导航开关脚本**:`enable-navigation.sh` / `enable-navigation.ps1` 安装 LSP 管道包、下载并解压 IntelliJ 语言服务器、写入 `cordis.patch.yml`,并给出授权命令。
64
+ - Windows 脚本出错时停在终端打印原因,不再闪退。
65
+
66
+ ### 修复
67
+
68
+ - **Windows 脚本找不到内置 CLI**:原实现借用 Electron 的 Node 模式探测 `/…/app.asar/…/bin.js`,而 Windows 上 `DeepSeek Harness.exe` 是 GUI 程序,PowerShell 不会等待、也拿不到输出,于是误报「安装不完整」。现在完全不依赖 Electron:`dsh` 在 PATH 就用它,否则直接用 pnpm(PATH 没有 pnpm 时再用 DSH 自带的那份),profile 的 JSON 用 PowerShell 原生读写(UTF-8 无 BOM)。
69
+ - **pnpm 版本不一致**:优先使用 DSH 自带、与 profile 同源的 pnpm,避免 `ERR_PNPM_UNEXPECTED_STORE`。
70
+
71
+ ### 本次发布的插件功能(发版时已具备)
72
+
73
+ 文件树(按需展开 / 筛选 / VCS 着色 / 定位到当前文件)、多标签代码视图、Search Everywhere(类 / 符号 / 文件 / 文本 / 操作)、语义导航(双击跳转、⌘+单击实现与调用方、⌥+单击调用链、Code Vision 用法计数)、依赖 jar 源码只读查看、Git 追溯注解 / 差异 / 历史 / 分支对比、符号与文件的右键菜单、把引用以 `@路径` 形式插回对话草稿、可配置的快捷键与手势、字号设置。
74
+
75
+ ---
76
+
77
+ 更早的历史见仓库提交记录(`git log`)。
package/README.md CHANGED
@@ -223,9 +223,15 @@ dsh plugin --profile desktop add "git+https://github.com/simons-jiang/dsh-ide-wi
223
223
 
224
224
  语法高亮有单独一层变量(`--iw-syn-keyword` / `string` / `number` / `comment` / `annotation` / `type` / `function` / `punct`),同样由主题文件提供——深色主题的关键字色放到白底上根本看不清,所以每套主题都自带一组经过对比度检查的语法色(浅色主题的关键字/字符串/类型都 ≥4.5:1)。
225
225
 
226
+ 主题还是一个**跨插件约定**:同一页面里 `dsh-git-window` 的工具窗口会跟着变色(它只读这里的主题,不写):
227
+
228
+ - `localStorage['dsh-theme']` 存当前主题 id(空 = 跟随 DSH)
229
+ - `window` 上派发 `dsh-theme` 事件(`detail.id`)——同页立即生效
230
+ - 样式表匹配 `[data-dsh-theme="<id>"]`,任何插件给自己的根节点加上这个属性就套用同一套配色,并自行 `link` 到 `/dsh-ide/theme?id=<id>`
231
+
226
232
  因此:
227
233
 
228
- - 组件样式**一行都不用改**,切换主题只是把 `<link id="iw-theme-link">` 指到另一个文件(外加一个 `data-iw-theme` 属性)
234
+ - 组件样式**一行都不用改**,切换主题只是把 `<link id="iw-theme-link">` 指到另一个文件(外加一个 `data-dsh-theme` 属性)
229
235
  - 改调色板**不需要重新构建** `client.js`,刷新页面即可看到
230
236
  - 新增一套主题 = 放一个 `themes/<id>.css` + 在 `src/client/12-theme.js` 的注册表加一行(`themes/index.json`、`test/theme.mjs` 会校验三处一致:10 套、5 深 5 浅、变量集合完全相同)
231
237
 
@@ -435,6 +441,14 @@ Windows 另有 `check-dsh-untouched.ps1`、`restore-profile.ps1`,与对应的
435
441
 
436
442
  ---
437
443
 
438
- ## 十、许可
444
+ ## 十、更新
445
+
446
+ - 更新日志:[CHANGELOG.md](CHANGELOG.md)
447
+ - 升级方式:插件页打开插件的「版本」区 → 检查更新 / 更新(`link:` 本地安装则直接拉仓库)
448
+ - 每次发版都会同步到 npm 与国内镜像;国内用户若一时看不到新版本,等镜像同步几分钟即可
449
+
450
+ ---
451
+
452
+ ## 十一、许可
439
453
 
440
454
  MIT(`package.json` 声明)。
package/client.js CHANGED
@@ -4296,11 +4296,15 @@ function ideCreateStore(refs) {
4296
4296
  * Colour themes for the code workspace.
4297
4297
  *
4298
4298
  * A palette is a file: `themes/<id>.css` overrides the DSH alias tokens, scoped
4299
- * to `.iw-root[data-iw-theme="<id>"]`. Every `.iw-*` rule already reads those
4300
- * tokens, so a theme never touches a component style — switching a theme points
4299
+ * to `[data-dsh-theme="<id>"]`. Every `.iw-*` rule already reads those tokens, so
4300
+ * a theme never touches a component style — switching a theme points
4301
4301
  * `<link id="iw-theme-link">` at another file and sets one attribute. A palette
4302
4302
  * can be edited without rebuilding the bundle.
4303
4303
  *
4304
+ * The attribute and the storage key are a **shared contract**: a sibling plugin
4305
+ * (`dsh-git-window`) sets the same attribute on its own tool window and loads
4306
+ * the same stylesheet, so both follow one palette. See `idePublishTheme`.
4307
+ *
4304
4308
  * `themes/index.json` lists the same ids; `test/theme.mjs` holds the two in sync
4305
4309
  * and checks that every file defines the same token set.
4306
4310
  */
@@ -4362,10 +4366,45 @@ function ideApplyTheme(id) {
4362
4366
  if (existing.getAttribute('href') !== href) existing.setAttribute('href', href)
4363
4367
  }
4364
4368
 
4369
+ /**
4370
+ * The shared palette contract.
4371
+ *
4372
+ * `dsh-git-window` draws its own tool window; when both plugins are open they
4373
+ * should look like one workspace, so a palette is published, not just applied:
4374
+ *
4375
+ * - `localStorage['dsh-theme']` — the current id (empty means "follow DSH"),
4376
+ * readable by any plugin at start-up;
4377
+ * - `window` event `dsh-theme` with `{ id }` — same document, so a listener
4378
+ * reacts immediately;
4379
+ * - the stylesheet attribute `data-dsh-theme` — whatever element carries it
4380
+ * gets the palette, whichever plugin owns that element.
4381
+ *
4382
+ * Only this plugin writes the key; followers read it.
4383
+ */
4384
+ const IDE_THEME_SHARED_KEY = 'dsh-theme'
4385
+ const IDE_THEME_SHARED_EVENT = 'dsh-theme'
4386
+
4387
+ /** Publish the palette: storage for late loaders, an event for live listeners. */
4388
+ function idePublishTheme(id) {
4389
+ const value = typeof id === 'string' ? id : ''
4390
+ try {
4391
+ if (value === '') globalThis.localStorage?.removeItem(IDE_THEME_SHARED_KEY)
4392
+ else globalThis.localStorage?.setItem(IDE_THEME_SHARED_KEY, value)
4393
+ } catch {
4394
+ /* a browser with storage disabled simply cannot share the palette */
4395
+ }
4396
+ try {
4397
+ globalThis.dispatchEvent?.(new CustomEvent(IDE_THEME_SHARED_EVENT, { detail: { id: value } }))
4398
+ } catch {
4399
+ /* CustomEvent is always available in the panel's browser; ignore if not */
4400
+ }
4401
+ }
4402
+
4365
4403
  /** Apply the saved theme once, and after every change; the panel owns the DOM. */
4366
4404
  function ideUseTheme(themeId) {
4367
4405
  useEffect(() => {
4368
4406
  ideApplyTheme(themeId)
4407
+ idePublishTheme(themeId)
4369
4408
  }, [themeId])
4370
4409
  }
4371
4410
 
@@ -7066,7 +7105,9 @@ function IdePanel({ store, translate, onBackToChat, onToggleSidebar, onEnter, us
7066
7105
  const treeSize = Number.isFinite(state.treeFontSize) ? state.treeFontSize : 14.5
7067
7106
  return h('div', {
7068
7107
  className: 'iw-root',
7069
- 'data-iw-theme': ideIsThemeId(state.theme) ? state.theme : undefined,
7108
+ // The shared palette attribute: the theme stylesheet targets this, so any
7109
+ // plugin that sets it on its own root gets the same colours.
7110
+ 'data-dsh-theme': ideIsThemeId(state.theme) ? state.theme : undefined,
7070
7111
  // The editor and the tree share one typographic scale, set in Settings.
7071
7112
  style: {
7072
7113
  '--iw-code-font-size': `${codeSize}px`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ide-window",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "IDEA-style code workspace for DeepSeek Harness: a centre panel with a workspace file tree, editor tabs and live-updating source, while the left navigation column hides.",
5
5
  "type": "module",
6
6
  "icon": "icon.svg",
@@ -24,7 +24,8 @@
24
24
  "install.ps1",
25
25
  "enable-navigation.sh",
26
26
  "enable-navigation.ps1",
27
- "themes/"
27
+ "themes/",
28
+ "CHANGELOG.md"
28
29
  ],
29
30
  "scripts": {
30
31
  "build": "node build.mjs",
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="atom-one-light"]` is touched.
6
+ * `[data-dsh-theme="atom-one-light"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="atom-one-light"] {
8
+ [data-dsh-theme="atom-one-light"] {
9
9
  --dsw-alias-bg-base: #fafafa;
10
10
  --dsw-alias-bg-layer-1: #ffffff;
11
11
  --dsw-alias-bg-layer-2: #f0f0f1;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="dracula"]` is touched.
6
+ * `[data-dsh-theme="dracula"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="dracula"] {
8
+ [data-dsh-theme="dracula"] {
9
9
  --dsw-alias-bg-base: #282a36;
10
10
  --dsw-alias-bg-layer-1: #21222c;
11
11
  --dsw-alias-bg-layer-2: #343746;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="github-light"]` is touched.
6
+ * `[data-dsh-theme="github-light"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="github-light"] {
8
+ [data-dsh-theme="github-light"] {
9
9
  --dsw-alias-bg-base: #ffffff;
10
10
  --dsw-alias-bg-layer-1: #f6f8fa;
11
11
  --dsw-alias-bg-layer-2: #f6f8fa;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="intellij-light"]` is touched.
6
+ * `[data-dsh-theme="intellij-light"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="intellij-light"] {
8
+ [data-dsh-theme="intellij-light"] {
9
9
  --dsw-alias-bg-base: #f7f8fa;
10
10
  --dsw-alias-bg-layer-1: #ffffff;
11
11
  --dsw-alias-bg-layer-2: #ebecf0;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="material-light"]` is touched.
6
+ * `[data-dsh-theme="material-light"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="material-light"] {
8
+ [data-dsh-theme="material-light"] {
9
9
  --dsw-alias-bg-base: #fafafa;
10
10
  --dsw-alias-bg-layer-1: #ffffff;
11
11
  --dsw-alias-bg-layer-2: #f2f3f5;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="material-oceanic"]` is touched.
6
+ * `[data-dsh-theme="material-oceanic"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="material-oceanic"] {
8
+ [data-dsh-theme="material-oceanic"] {
9
9
  --dsw-alias-bg-base: #0f111a;
10
10
  --dsw-alias-bg-layer-1: #131521;
11
11
  --dsw-alias-bg-layer-2: #1b1e2b;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="material-palenight"]` is touched.
6
+ * `[data-dsh-theme="material-palenight"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="material-palenight"] {
8
+ [data-dsh-theme="material-palenight"] {
9
9
  --dsw-alias-bg-base: #292d3e;
10
10
  --dsw-alias-bg-layer-1: #2f3445;
11
11
  --dsw-alias-bg-layer-2: #333747;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="monokai-pro"]` is touched.
6
+ * `[data-dsh-theme="monokai-pro"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="monokai-pro"] {
8
+ [data-dsh-theme="monokai-pro"] {
9
9
  --dsw-alias-bg-base: #2d2a2e;
10
10
  --dsw-alias-bg-layer-1: #221f22;
11
11
  --dsw-alias-bg-layer-2: #363337;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="night-owl"]` is touched.
6
+ * `[data-dsh-theme="night-owl"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="night-owl"] {
8
+ [data-dsh-theme="night-owl"] {
9
9
  --dsw-alias-bg-base: #011627;
10
10
  --dsw-alias-bg-layer-1: #0b2942;
11
11
  --dsw-alias-bg-layer-2: #0e2b43;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
5
  * rule picks the palette up without knowing this file exists. Nothing outside
6
- * `.iw-root[data-iw-theme="solarized-light"]` is touched.
6
+ * `[data-dsh-theme="solarized-light"]` is touched.
7
7
  */
8
- .iw-root[data-iw-theme="solarized-light"] {
8
+ [data-dsh-theme="solarized-light"] {
9
9
  --dsw-alias-bg-base: #fdf6e3;
10
10
  --dsw-alias-bg-layer-1: #eee8d5;
11
11
  --dsw-alias-bg-layer-2: #f5eedc;