dsh-ide-window 0.1.0 → 0.2.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.
@@ -30,7 +30,7 @@ trap {
30
30
  exit 1
31
31
  }
32
32
 
33
- $lspVersion = '0.2.2-rc.3'
33
+ $lspVersion = '0.2.2-rc.5'
34
34
  $packages = @("@deepseek-ai/dsh-lsp@$lspVersion", "@deepseek-ai/dsh-lsp-stdio@$lspVersion")
35
35
 
36
36
  # JetBrains publishes the server per platform under the same build. The CDN host
@@ -80,13 +80,33 @@ Write-Host " pnpm:$pnpmCommand $pnpmVersion"
80
80
  # ---- 1. pipeline packages ---------------------------------------------------
81
81
 
82
82
  Step "安装 LSP 管道包($lspVersion)"
83
- Push-Location $profileDir
84
- try {
85
- $all = @($pnpmArgs) + @('add') + @($packages)
86
- & $pnpmCommand @all | Out-Null
87
- if ($LASTEXITCODE -ne 0) { Fail 'pnpm add 失败,请检查网络或代理。' }
88
- } finally {
89
- Pop-Location
83
+
84
+ # Run pnpm with its output captured: the npm error code (a store mismatch, a
85
+ # blocked registry, a missing version) is the only useful clue, and it was being
86
+ # swallowed before.
87
+ function Install-Packages([string[]]$Arguments) {
88
+ Push-Location $profileDir
89
+ try {
90
+ $all = @($pnpmArgs) + $Arguments
91
+ $output = & $pnpmCommand @all 2>&1
92
+ $code = $LASTEXITCODE
93
+ return [pscustomobject]@{ Code = $code; Output = ($output | Out-String).Trim() }
94
+ } finally {
95
+ Pop-Location
96
+ }
97
+ }
98
+
99
+ $attempt = Install-Packages (@('add') + @($packages))
100
+ if ($attempt.Code -ne 0) {
101
+ Write-Host ' 第一次安装失败,pnpm 输出如下:' -ForegroundColor Yellow
102
+ Write-Host $attempt.Output
103
+ Write-Host ' 改用 npmmirror 镜像重试…' -ForegroundColor Yellow
104
+ $attempt = Install-Packages (@('add', '--registry', 'https://registry.npmmirror.com') + @($packages))
105
+ }
106
+ if ($attempt.Code -ne 0) {
107
+ Write-Host ' 镜像也失败,pnpm 输出如下:' -ForegroundColor Red
108
+ Write-Host $attempt.Output
109
+ Fail "pnpm add 失败(exit $($attempt.Code)):看上面的 npm 错误码。ERR_PNPM_UNEXPECTED_STORE 表示 pnpm 的 store 版本和 profile 里的不一致;EAI_AGAIN/ETIMEDOUT/ECONNREFUSED 是网络或代理。"
90
110
  }
91
111
  Write-Host ' 已安装:@deepseek-ai/dsh-lsp、dsh-lsp-stdio'
92
112
 
@@ -10,7 +10,7 @@
10
10
  # application itself is never modified.
11
11
  set -euo pipefail
12
12
 
13
- LSP_VERSION="0.2.2-rc.3"
13
+ LSP_VERSION="0.2.2-rc.5"
14
14
  PACKAGES=("@deepseek-ai/dsh-lsp@${LSP_VERSION}" "@deepseek-ai/dsh-lsp-stdio@${LSP_VERSION}")
15
15
  SERVER_URL="https://download.jetbrains.com/language-server/intellij-server/271.2085.0/intellij-server-271.2085.0-aarch64.sit"
16
16
 
package/index.js CHANGED
@@ -44,6 +44,10 @@ const ROUTE_PATCH = '/dsh-ide/patch'
44
44
  const ROUTE_TEXT = '/dsh-ide/text'
45
45
  const ROUTE_LICENSE = '/dsh-ide/license'
46
46
  const ROUTE_DIAG = '/dsh-ide/diagnostics'
47
+ const ROUTE_THEME = '/dsh-ide/theme'
48
+
49
+ /** Where this file lives: the themes sit next to it, not in the profile. */
50
+ const PLUGIN_ROOT = fileURLToPath(new URL('.', import.meta.url))
47
51
 
48
52
  /** Entries kept in memory; the file keeps everything up to its size cap. */
49
53
  const IDE_LOG_LIMIT = 200
@@ -757,8 +761,8 @@ function grepWorkspace(payload) {
757
761
  })
758
762
  }
759
763
 
760
- /** Largest JSON request body accepted. */
761
- const MAX_BODY_BYTES = 16 * 1024
764
+ /** Largest JSON request body accepted; `/dsh-ide/kinds` sends a directory of paths. */
765
+ const MAX_BODY_BYTES = 64 * 1024
762
766
 
763
767
  /** The four queries the seam exposes; anything else is a caller bug. */
764
768
  const OPERATIONS = new Set(['goToDefinition', 'findReferences', 'goToImplementation', 'hover'])
@@ -772,6 +776,55 @@ class RouteError extends Error {
772
776
  }
773
777
  }
774
778
 
779
+ /**
780
+ * Read one palette stylesheet.
781
+ *
782
+ * A theme is a file, so the browser can point a `<link>` at it and switching
783
+ * costs one request. The name is validated before it reaches the filesystem:
784
+ * anything but the shipped `[a-z0-9-]` ids is refused, which also rules out
785
+ * `../` traversal.
786
+ */
787
+ export function themeCss(id) {
788
+ if (typeof id !== 'string' || !/^[a-z0-9][a-z0-9-]{0,40}$/.test(id)) {
789
+ throw new RouteError(400, 'invalid-argument', 'invalid theme id')
790
+ }
791
+ const file = join(PLUGIN_ROOT, 'themes', `${id}.css`)
792
+ try {
793
+ return readFileSync(file, 'utf8')
794
+ } catch {
795
+ throw new RouteError(404, 'not-found', `unknown theme: ${id}`)
796
+ }
797
+ }
798
+
799
+ /** Serve one palette as CSS; the ETag keeps a reopened panel from refetching. */
800
+ function createThemeHandler() {
801
+ return async (request, response) => {
802
+ let id = ''
803
+ try {
804
+ if (request.method !== 'GET' && request.method !== 'HEAD') {
805
+ writeJson(response, 405, { ok: false, error: { code: 'method-error', message: 'method not allowed' } })
806
+ return
807
+ }
808
+ id = new URL(request.url ?? '/', 'http://dsh-ide.internal').searchParams.get('id') ?? ''
809
+ const body = themeCss(id)
810
+ response.statusCode = 200
811
+ response.setHeader('content-type', 'text/css; charset=utf-8')
812
+ response.setHeader('cache-control', 'no-cache')
813
+ response.setHeader('etag', `"${Buffer.byteLength(body)}-${id}"`)
814
+ if (request.method === 'HEAD') {
815
+ response.end()
816
+ return
817
+ }
818
+ response.end(body)
819
+ } catch (error) {
820
+ const status = error instanceof RouteError ? error.status : 500
821
+ const code = error instanceof RouteError ? error.code : 'internal'
822
+ logEvent(status >= 500 ? 'error' : 'warn', 'route', `${ROUTE_THEME} → ${status} ${code}`, error?.message ?? String(error))
823
+ writeJson(response, status, { ok: false, error: { code, message: error?.message ?? String(error) } })
824
+ }
825
+ }
826
+ }
827
+
775
828
  /** Write one JSON response. */
776
829
  function writeJson(response, status, payload) {
777
830
  const body = JSON.stringify(payload)
@@ -1349,4 +1402,11 @@ export function apply(ctx) {
1349
1402
  path: ROUTE_DIAG,
1350
1403
  handler,
1351
1404
  }), 'dsh-ide-window: diagnostics route')
1405
+ // The palettes are the only route the browser fetches with `<link>`, so it
1406
+ // answers GET instead of the JSON POST every other route speaks.
1407
+ ctx.effect(() => ctx.webServer.register({
1408
+ kind: 'prefix',
1409
+ path: ROUTE_THEME,
1410
+ handler: createThemeHandler(),
1411
+ }), 'dsh-ide-window: theme route')
1352
1412
  }
package/install.ps1 CHANGED
@@ -38,7 +38,7 @@ trap {
38
38
 
39
39
  $repoUrl = 'https://github.com/simons-jiang/dsh-ide-window.git'
40
40
  $packageName = 'dsh-ide-window'
41
- $lspPackages = @('@deepseek-ai/dsh-lsp@0.2.2-rc.3', '@deepseek-ai/dsh-lsp-stdio@0.2.2-rc.3')
41
+ $lspPackages = @('@deepseek-ai/dsh-lsp@0.2.2-rc.5', '@deepseek-ai/dsh-lsp-stdio@0.2.2-rc.5')
42
42
 
43
43
  function Step([string]$Text) { Write-Host "`n==> $Text" }
44
44
  function Fail([string]$Text) {
@@ -86,11 +86,16 @@ function Invoke-Pnpm([string[]]$Arguments, [string]$WorkDir) {
86
86
  Push-Location $WorkDir
87
87
  try {
88
88
  $all = @($pnpmArgs) + @($Arguments)
89
- & $pnpmCommand @all
90
- if ($LASTEXITCODE -ne 0) { throw "pnpm 执行失败(exit $LASTEXITCODE)" }
89
+ $output = & $pnpmCommand @all 2>&1
90
+ $code = $LASTEXITCODE
91
91
  } finally {
92
92
  Pop-Location
93
93
  }
94
+ if ($code -ne 0) {
95
+ Write-Host ' pnpm 输出:' -ForegroundColor Yellow
96
+ Write-Host ($output | Out-String).Trim()
97
+ throw "pnpm 执行失败(exit $code)"
98
+ }
94
99
  }
95
100
 
96
101
  # ---- 2. checkout ------------------------------------------------------------
package/install.sh CHANGED
@@ -14,7 +14,7 @@ set -euo pipefail
14
14
 
15
15
  REPO_URL="https://github.com/simons-jiang/dsh-ide-window.git"
16
16
  PACKAGE="dsh-ide-window"
17
- LSP_PACKAGES=("@deepseek-ai/dsh-lsp@0.2.2-rc.3" "@deepseek-ai/dsh-lsp-stdio@0.2.2-rc.3")
17
+ LSP_PACKAGES=("@deepseek-ai/dsh-lsp@0.2.2-rc.5" "@deepseek-ai/dsh-lsp-stdio@0.2.2-rc.5")
18
18
 
19
19
  PROFILE="desktop"
20
20
  DIR="${DSH_IDE_DIR:-$HOME/dev/dsh-ide-window}"
package/locale/en.json CHANGED
@@ -213,5 +213,20 @@
213
213
  "setupStepScript": "Step 1: run the install script (packages, server download, config; use your own path if it is not at the default location)",
214
214
  "setupStepLicence": "Step 2: license the server (opens a browser; an existing license prints \"licensed\")",
215
215
  "setupStepRestart": "Finally: quit DSH completely (⌘Q / tray) and reopen it.",
216
- "setupCopyAll": "Copy commands"
216
+ "setupCopyAll": "Copy commands",
217
+ "theme": "Theme",
218
+ "themeTitle": "Theme",
219
+ "themeDark": "Dark themes",
220
+ "themeLight": "Light themes",
221
+ "themeFollowDsh": "Follow DSH",
222
+ "theme_material_oceanic": "Oceanic",
223
+ "theme_material_palenight": "Palenight",
224
+ "theme_dracula": "Dracula",
225
+ "theme_monokai_pro": "Monokai Pro",
226
+ "theme_night_owl": "Night Owl",
227
+ "theme_material_light": "Material Light",
228
+ "theme_github_light": "GitHub Light",
229
+ "theme_atom_one_light": "Atom One Light",
230
+ "theme_solarized_light": "Solarized Light",
231
+ "theme_intellij_light": "IntelliJ Light"
217
232
  }
package/locale/zh.json CHANGED
@@ -213,5 +213,20 @@
213
213
  "setupStepScript": "第 1 步:运行安装脚本(装管道包、下载服务器、写好配置;脚本不在默认位置就改成你的路径)",
214
214
  "setupStepLicence": "第 2 步:授权(会打开浏览器;已授权会直接显示 licensed)",
215
215
  "setupStepRestart": "最后:完全退出 DSH(⌘Q / 托盘退出)再打开。",
216
- "setupCopyAll": "复制命令"
216
+ "setupCopyAll": "复制命令",
217
+ "theme": "主题",
218
+ "themeTitle": "主题切换器",
219
+ "themeDark": "深色主题",
220
+ "themeLight": "浅色主题",
221
+ "themeFollowDsh": "跟随 DSH",
222
+ "theme_material_oceanic": "海洋蓝 Oceanic",
223
+ "theme_material_palenight": "淡紫夜色 Palenight",
224
+ "theme_dracula": "德古拉 Dracula",
225
+ "theme_monokai_pro": "Monokai Pro",
226
+ "theme_night_owl": "夜枭 Night Owl",
227
+ "theme_material_light": "Material 浅色",
228
+ "theme_github_light": "GitHub 浅色",
229
+ "theme_atom_one_light": "Atom One 浅色",
230
+ "theme_solarized_light": "Solarized 浅色",
231
+ "theme_intellij_light": "IntelliJ 浅色"
217
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ide-window",
3
- "version": "0.1.0",
3
+ "version": "0.2.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",
@@ -23,12 +23,13 @@
23
23
  "install.sh",
24
24
  "install.ps1",
25
25
  "enable-navigation.sh",
26
- "enable-navigation.ps1"
26
+ "enable-navigation.ps1",
27
+ "themes/"
27
28
  ],
28
29
  "scripts": {
29
30
  "build": "node build.mjs",
30
31
  "check": "node --check index.js && node --check client.js",
31
- "test": "node test/platform.mjs && node test/diagnostics.mjs && node test/status.mjs && node test/harness.mjs && node test/inference.mjs && node test/maven.mjs"
32
+ "test": "node test/platform.mjs && node test/diagnostics.mjs && node test/status.mjs && node test/harness.mjs && node test/inference.mjs && node test/maven.mjs && node test/theme.mjs"
32
33
  },
33
34
  "dsh": {
34
35
  "bundle": {
@@ -53,7 +54,7 @@
53
54
  "code"
54
55
  ],
55
56
  "engines": {
56
- "dsh": "0.2.2-rc.3"
57
+ "dsh": "^0.2.2-rc.3"
57
58
  },
58
59
  "author": "simons-jiang",
59
60
  "repository": {
@@ -6,7 +6,11 @@ import { homedir } from 'node:os'
6
6
  /** @type {import('./contract.js').IdePlatform} */
7
7
  export const windowsPlatform = {
8
8
  name: 'windows',
9
- toPosix: (path) => String(path ?? '').replace(/\\/g, '/'),
9
+ // Windows compares paths case-insensitively, and tools disagree on the drive
10
+ // letter's case (`c:/…` from the language server, `C:/…` from the workspace);
11
+ // the drive letter is canonicalised here so the rest of the plugin can keep
12
+ // comparing strings.
13
+ toPosix: (path) => String(path ?? '').replace(/\\/g, '/').replace(/^([a-z]):/, (_, drive) => `${drive.toUpperCase()}:`),
10
14
  toNative: (path) => String(path ?? '').replace(/\//g, '\\'),
11
15
  isAbsolutePath: (path) => {
12
16
  const text = windowsPlatform.toPosix(path)
@@ -0,0 +1,44 @@
1
+ /**
2
+ * atom-one-light (light) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="atom-one-light"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="atom-one-light"] {
9
+ --dsw-alias-bg-base: #fafafa;
10
+ --dsw-alias-bg-layer-1: #ffffff;
11
+ --dsw-alias-bg-layer-2: #f0f0f1;
12
+ --dsw-alias-bg-layer-3: #e5e5e6;
13
+ --dsw-alias-bg-overlay: #ffffff;
14
+ --dsw-specific-sidebar-fill: #f0f0f1;
15
+ --dsw-specific-menu: #ffffff;
16
+ --dsw-alias-card-fill: #ffffff;
17
+ --dsw-alias-card-fill-hover: #ededee;
18
+ --dsw-alias-card-tile-fill: #ffffff;
19
+ --dsw-alias-label-primary: #383a42;
20
+ --dsw-alias-label-secondary: #696c77;
21
+ --dsw-alias-label-tertiary: #a0a1a7;
22
+ --dsw-alias-border-l1: #e3e3e4;
23
+ --dsw-alias-border-l2: #d4d5d7;
24
+ --dsw-alias-border-l3: #c3c4c6;
25
+ --dsw-alias-border: #e3e3e4;
26
+ --dsw-alias-brand-primary: #4078f2;
27
+ --dsw-alias-interactive-bg-hover: #e8f0fe;
28
+ --dsw-alias-state-success-primary: #50a14f;
29
+ --dsw-alias-state-warning-primary: #c18401;
30
+ --dsw-alias-state-error-primary: #e45649;
31
+ --dsw-alias-state-business-primary: #4078f2;
32
+ --dsw-alias-state-idle-primary: #a0a1a7;
33
+ --dsw-focus-ring-color: #a626a4;
34
+ --iw-changes-fill: #50a14f;
35
+ --iw-changes-hover: #6fbf6d;
36
+ --iw-syn-keyword: #a626a4;
37
+ --iw-syn-string: #2e7d32;
38
+ --iw-syn-number: #986801;
39
+ --iw-syn-comment: #75767d;
40
+ --iw-syn-annotation: #9a6700;
41
+ --iw-syn-type: #9a6700;
42
+ --iw-syn-function: #4078f2;
43
+ --iw-syn-punct: #383a42;
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * dracula (dark) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="dracula"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="dracula"] {
9
+ --dsw-alias-bg-base: #282a36;
10
+ --dsw-alias-bg-layer-1: #21222c;
11
+ --dsw-alias-bg-layer-2: #343746;
12
+ --dsw-alias-bg-layer-3: #44475a;
13
+ --dsw-alias-bg-overlay: #191a21;
14
+ --dsw-specific-sidebar-fill: #21222c;
15
+ --dsw-specific-menu: #343746;
16
+ --dsw-alias-card-fill: #343746;
17
+ --dsw-alias-card-fill-hover: #44475a;
18
+ --dsw-alias-card-tile-fill: #343746;
19
+ --dsw-alias-label-primary: #f8f8f2;
20
+ --dsw-alias-label-secondary: #b8bcc8;
21
+ --dsw-alias-label-tertiary: #7c8296;
22
+ --dsw-alias-border-l1: #343746;
23
+ --dsw-alias-border-l2: #44475a;
24
+ --dsw-alias-border-l3: #525772;
25
+ --dsw-alias-border: #44475a;
26
+ --dsw-alias-brand-primary: #bd93f9;
27
+ --dsw-alias-interactive-bg-hover: #3a3d4e;
28
+ --dsw-alias-state-success-primary: #50fa7b;
29
+ --dsw-alias-state-warning-primary: #ffb86c;
30
+ --dsw-alias-state-error-primary: #ff5555;
31
+ --dsw-alias-state-business-primary: #8be9fd;
32
+ --dsw-alias-state-idle-primary: #6272a4;
33
+ --dsw-focus-ring-color: #ff79c6;
34
+ --iw-changes-fill: #50fa7b;
35
+ --iw-changes-hover: #8ffcaa;
36
+ --iw-syn-keyword: #ff79c6;
37
+ --iw-syn-string: #f1fa8c;
38
+ --iw-syn-number: #bd93f9;
39
+ --iw-syn-comment: #7285b8;
40
+ --iw-syn-annotation: #50fa7b;
41
+ --iw-syn-type: #8be9fd;
42
+ --iw-syn-function: #50fa7b;
43
+ --iw-syn-punct: #f8f8f2;
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * github-light (light) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="github-light"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="github-light"] {
9
+ --dsw-alias-bg-base: #ffffff;
10
+ --dsw-alias-bg-layer-1: #f6f8fa;
11
+ --dsw-alias-bg-layer-2: #f6f8fa;
12
+ --dsw-alias-bg-layer-3: #eaeef2;
13
+ --dsw-alias-bg-overlay: #ffffff;
14
+ --dsw-specific-sidebar-fill: #f6f8fa;
15
+ --dsw-specific-menu: #ffffff;
16
+ --dsw-alias-card-fill: #ffffff;
17
+ --dsw-alias-card-fill-hover: #eaeef2;
18
+ --dsw-alias-card-tile-fill: #ffffff;
19
+ --dsw-alias-label-primary: #1f2328;
20
+ --dsw-alias-label-secondary: #59636e;
21
+ --dsw-alias-label-tertiary: #818b98;
22
+ --dsw-alias-border-l1: #d0d7de;
23
+ --dsw-alias-border-l2: #d8dee4;
24
+ --dsw-alias-border-l3: #e5e9ed;
25
+ --dsw-alias-border: #d0d7de;
26
+ --dsw-alias-brand-primary: #0969da;
27
+ --dsw-alias-interactive-bg-hover: #eaf2fb;
28
+ --dsw-alias-state-success-primary: #1a7f37;
29
+ --dsw-alias-state-warning-primary: #9a6700;
30
+ --dsw-alias-state-error-primary: #cf222e;
31
+ --dsw-alias-state-business-primary: #0969da;
32
+ --dsw-alias-state-idle-primary: #8c959f;
33
+ --dsw-focus-ring-color: #0969da;
34
+ --iw-changes-fill: #1a7f37;
35
+ --iw-changes-hover: #28a745;
36
+ --iw-syn-keyword: #cf222e;
37
+ --iw-syn-string: #0a3069;
38
+ --iw-syn-number: #0550ae;
39
+ --iw-syn-comment: #6e7781;
40
+ --iw-syn-annotation: #8250df;
41
+ --iw-syn-type: #953800;
42
+ --iw-syn-function: #6639ba;
43
+ --iw-syn-punct: #24292f;
44
+ }
@@ -0,0 +1,42 @@
1
+ [
2
+ {
3
+ "id": "material-oceanic",
4
+ "mode": "dark"
5
+ },
6
+ {
7
+ "id": "material-palenight",
8
+ "mode": "dark"
9
+ },
10
+ {
11
+ "id": "dracula",
12
+ "mode": "dark"
13
+ },
14
+ {
15
+ "id": "monokai-pro",
16
+ "mode": "dark"
17
+ },
18
+ {
19
+ "id": "night-owl",
20
+ "mode": "dark"
21
+ },
22
+ {
23
+ "id": "material-light",
24
+ "mode": "light"
25
+ },
26
+ {
27
+ "id": "github-light",
28
+ "mode": "light"
29
+ },
30
+ {
31
+ "id": "atom-one-light",
32
+ "mode": "light"
33
+ },
34
+ {
35
+ "id": "solarized-light",
36
+ "mode": "light"
37
+ },
38
+ {
39
+ "id": "intellij-light",
40
+ "mode": "light"
41
+ }
42
+ ]
@@ -0,0 +1,44 @@
1
+ /**
2
+ * intellij-light (light) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="intellij-light"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="intellij-light"] {
9
+ --dsw-alias-bg-base: #f7f8fa;
10
+ --dsw-alias-bg-layer-1: #ffffff;
11
+ --dsw-alias-bg-layer-2: #ebecf0;
12
+ --dsw-alias-bg-layer-3: #dfe1e5;
13
+ --dsw-alias-bg-overlay: #ffffff;
14
+ --dsw-specific-sidebar-fill: #f7f8fa;
15
+ --dsw-specific-menu: #ffffff;
16
+ --dsw-alias-card-fill: #ffffff;
17
+ --dsw-alias-card-fill-hover: #edf0f3;
18
+ --dsw-alias-card-tile-fill: #ffffff;
19
+ --dsw-alias-label-primary: #1f2329;
20
+ --dsw-alias-label-secondary: #6c707e;
21
+ --dsw-alias-label-tertiary: #9aa0aa;
22
+ --dsw-alias-border-l1: #dfe1e5;
23
+ --dsw-alias-border-l2: #d4d6da;
24
+ --dsw-alias-border-l3: #c9ccd1;
25
+ --dsw-alias-border: #dfe1e5;
26
+ --dsw-alias-brand-primary: #3574f0;
27
+ --dsw-alias-interactive-bg-hover: #e6edfb;
28
+ --dsw-alias-state-success-primary: #57965c;
29
+ --dsw-alias-state-warning-primary: #c27c0e;
30
+ --dsw-alias-state-error-primary: #db3b4b;
31
+ --dsw-alias-state-business-primary: #3574f0;
32
+ --dsw-alias-state-idle-primary: #a0a4ac;
33
+ --dsw-focus-ring-color: #3574f0;
34
+ --iw-changes-fill: #57965c;
35
+ --iw-changes-hover: #6fb273;
36
+ --iw-syn-keyword: #0033b3;
37
+ --iw-syn-string: #067d17;
38
+ --iw-syn-number: #1750eb;
39
+ --iw-syn-comment: #6f6f6f;
40
+ --iw-syn-annotation: #9e880d;
41
+ --iw-syn-type: #1f2329;
42
+ --iw-syn-function: #00627a;
43
+ --iw-syn-punct: #1f2329;
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * material-light (light) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="material-light"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="material-light"] {
9
+ --dsw-alias-bg-base: #fafafa;
10
+ --dsw-alias-bg-layer-1: #ffffff;
11
+ --dsw-alias-bg-layer-2: #f2f3f5;
12
+ --dsw-alias-bg-layer-3: #e8eaed;
13
+ --dsw-alias-bg-overlay: #ffffff;
14
+ --dsw-specific-sidebar-fill: #f5f6f7;
15
+ --dsw-specific-menu: #ffffff;
16
+ --dsw-alias-card-fill: #ffffff;
17
+ --dsw-alias-card-fill-hover: #eef0f3;
18
+ --dsw-alias-card-tile-fill: #ffffff;
19
+ --dsw-alias-label-primary: #2e3c43;
20
+ --dsw-alias-label-secondary: #5f6b74;
21
+ --dsw-alias-label-tertiary: #8c979d;
22
+ --dsw-alias-border-l1: #e3e6e8;
23
+ --dsw-alias-border-l2: #d3d8dc;
24
+ --dsw-alias-border-l3: #c2c8cd;
25
+ --dsw-alias-border: #e3e6e8;
26
+ --dsw-alias-brand-primary: #1e88e5;
27
+ --dsw-alias-interactive-bg-hover: #e9f2fd;
28
+ --dsw-alias-state-success-primary: #2e7d32;
29
+ --dsw-alias-state-warning-primary: #ed6c02;
30
+ --dsw-alias-state-error-primary: #d32f2f;
31
+ --dsw-alias-state-business-primary: #1565c0;
32
+ --dsw-alias-state-idle-primary: #a8b0b6;
33
+ --dsw-focus-ring-color: #1e88e5;
34
+ --iw-changes-fill: #2e7d32;
35
+ --iw-changes-hover: #43a047;
36
+ --iw-syn-keyword: #a626a4;
37
+ --iw-syn-string: #2e7d32;
38
+ --iw-syn-number: #986801;
39
+ --iw-syn-comment: #6f7079;
40
+ --iw-syn-annotation: #9a6700;
41
+ --iw-syn-type: #9a6700;
42
+ --iw-syn-function: #4078f2;
43
+ --iw-syn-punct: #383a42;
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * material-oceanic (dark) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="material-oceanic"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="material-oceanic"] {
9
+ --dsw-alias-bg-base: #0f111a;
10
+ --dsw-alias-bg-layer-1: #131521;
11
+ --dsw-alias-bg-layer-2: #1b1e2b;
12
+ --dsw-alias-bg-layer-3: #232735;
13
+ --dsw-alias-bg-overlay: #0b0d16;
14
+ --dsw-specific-sidebar-fill: #131521;
15
+ --dsw-specific-menu: #1b1e2b;
16
+ --dsw-alias-card-fill: #1b1e2b;
17
+ --dsw-alias-card-fill-hover: #232735;
18
+ --dsw-alias-card-tile-fill: #1b1e2b;
19
+ --dsw-alias-label-primary: #c3cee3;
20
+ --dsw-alias-label-secondary: #8f93a2;
21
+ --dsw-alias-label-tertiary: #646a78;
22
+ --dsw-alias-border-l1: #1f2231;
23
+ --dsw-alias-border-l2: #2a2e3f;
24
+ --dsw-alias-border-l3: #3b4252;
25
+ --dsw-alias-border: #2a2e3f;
26
+ --dsw-alias-brand-primary: #4b6eaf;
27
+ --dsw-alias-interactive-bg-hover: #1f2433;
28
+ --dsw-alias-state-success-primary: #c3e88d;
29
+ --dsw-alias-state-warning-primary: #ffcb6b;
30
+ --dsw-alias-state-error-primary: #ff5370;
31
+ --dsw-alias-state-business-primary: #82aaff;
32
+ --dsw-alias-state-idle-primary: #697098;
33
+ --dsw-focus-ring-color: #82aaff;
34
+ --iw-changes-fill: #c3e88d;
35
+ --iw-changes-hover: #d7f0a8;
36
+ --iw-syn-keyword: #c792ea;
37
+ --iw-syn-string: #c3e88d;
38
+ --iw-syn-number: #f78c6c;
39
+ --iw-syn-comment: #5f7e97;
40
+ --iw-syn-annotation: #ffcb6b;
41
+ --iw-syn-type: #ffcb6b;
42
+ --iw-syn-function: #82aaff;
43
+ --iw-syn-punct: #89ddff;
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * material-palenight (dark) — a palette for the code workspace.
3
+ *
4
+ * Only DSH alias tokens are overridden, scoped to the panel, so every `.iw-*`
5
+ * rule picks the palette up without knowing this file exists. Nothing outside
6
+ * `.iw-root[data-iw-theme="material-palenight"]` is touched.
7
+ */
8
+ .iw-root[data-iw-theme="material-palenight"] {
9
+ --dsw-alias-bg-base: #292d3e;
10
+ --dsw-alias-bg-layer-1: #2f3445;
11
+ --dsw-alias-bg-layer-2: #333747;
12
+ --dsw-alias-bg-layer-3: #3b4056;
13
+ --dsw-alias-bg-overlay: #232738;
14
+ --dsw-specific-sidebar-fill: #2f3445;
15
+ --dsw-specific-menu: #333747;
16
+ --dsw-alias-card-fill: #333747;
17
+ --dsw-alias-card-fill-hover: #3b4056;
18
+ --dsw-alias-card-tile-fill: #333747;
19
+ --dsw-alias-label-primary: #a6accd;
20
+ --dsw-alias-label-secondary: #8a91b4;
21
+ --dsw-alias-label-tertiary: #676e95;
22
+ --dsw-alias-border-l1: #333747;
23
+ --dsw-alias-border-l2: #3b4056;
24
+ --dsw-alias-border-l3: #4a5170;
25
+ --dsw-alias-border: #3b4056;
26
+ --dsw-alias-brand-primary: #c792ea;
27
+ --dsw-alias-interactive-bg-hover: #373c51;
28
+ --dsw-alias-state-success-primary: #c3e88d;
29
+ --dsw-alias-state-warning-primary: #ffcb6b;
30
+ --dsw-alias-state-error-primary: #ff5370;
31
+ --dsw-alias-state-business-primary: #82aaff;
32
+ --dsw-alias-state-idle-primary: #676e95;
33
+ --dsw-focus-ring-color: #82aaff;
34
+ --iw-changes-fill: #82aaff;
35
+ --iw-changes-hover: #a9c4ff;
36
+ --iw-syn-keyword: #c792ea;
37
+ --iw-syn-string: #c3e88d;
38
+ --iw-syn-number: #f78c6c;
39
+ --iw-syn-comment: #7a82a8;
40
+ --iw-syn-annotation: #ffcb6b;
41
+ --iw-syn-type: #ffcb6b;
42
+ --iw-syn-function: #82aaff;
43
+ --iw-syn-punct: #89ddff;
44
+ }