twskin 0.6.3 → 0.6.5

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 CHANGED
@@ -5,6 +5,32 @@ All notable changes to this package are documented here. This project follows
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.6.5] - 2026-07-29
9
+
10
+ ### Fixed
11
+
12
+ - Updated `Solvay 1927 · Solarized Light` to theme version `1.0.14`. Marketplace
13
+ banners and skill previews now keep their authored artwork and prompt styling;
14
+ the archive-grid treatment remains limited to chat recommendations.
15
+
16
+ ### For contributors
17
+
18
+ - Added regression coverage ensuring the Solvay recommendation-card rule cannot
19
+ match Marketplace cards.
20
+
21
+ ## [0.6.4] - 2026-07-29
22
+
23
+ ### Fixed
24
+
25
+ - Mapped the legacy `text-text-default-reverse` alias to the foreground derived
26
+ from `surface.invert`. Older host primary buttons now retain readable text on
27
+ both light and dark inverse surfaces.
28
+
29
+ ### For contributors
30
+
31
+ - Extended the official-theme action-contrast audit to cover this legacy
32
+ inverse-action foreground alias.
33
+
8
34
  ## [0.6.3] - 2026-07-29
9
35
 
10
36
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twskin",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "An unofficial community theme manager and CLI for TRAE Work on macOS.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.6.3",
3
+ "packageVersion": "0.6.5",
4
4
  "themesBundled": false,
5
5
  "files": [
6
6
  {
@@ -40,8 +40,8 @@
40
40
  },
41
41
  {
42
42
  "path": "token-map.mjs",
43
- "size": 24840,
44
- "sha256": "11ccf9f72410ac6b936d1fcd58d1087b933cef9697137a6a92a51593dcf6e0cb"
43
+ "size": 25102,
44
+ "sha256": "5655ad4b3cfab19b569005a64b6a70972e86328129e4ac104323d81427e21559"
45
45
  }
46
46
  ]
47
47
  }
@@ -78,7 +78,7 @@
78
78
 
79
79
  // ---------- 命名空间普查清单(2026-07 实地盘点,见 docs/验证记录)----------
80
80
  const NS_BG = ["base-default", "base-secondary", "base-tertiary", "brand", "brand-active", "brand-disabled", "brand-disabled-sub", "brand-hover", "brand-hover-sub", "brand-old", "brand-popup", "brand-popup-sub", "brand-sub", "card", "card-hover", "input", "invert", "invert-active", "invert-disabled", "invert-hover", "menu", "menu-old", "overlay-l0", "overlay-l1", "overlay-l2", "overlay-l3", "overlay-l4", "tooltip", "white"];
81
- const NS_TEXT = ["brand", "brand-hover", "brand-hover-sub", "brand-sub", "default", "default-active", "default-hover", "disabled", "onaccent", "onbrand", "preformat-foreground", "secondary", "secondary-active", "secondary-hover", "tertiary"];
81
+ const NS_TEXT = ["brand", "brand-hover", "brand-hover-sub", "brand-sub", "default", "default-active", "default-hover", "default-reverse", "disabled", "onaccent", "onbrand", "preformat-foreground", "secondary", "secondary-active", "secondary-hover", "tertiary"];
82
82
  const NS_ICON = ["brand", "brand-hover", "brand-hover-sub", "brand-sub", "default", "default-active", "default-hover", "disabled", "onaccent", "onbrand", "secondary", "secondary-active", "secondary-hover", "tertiary", "white"];
83
83
  const NS_BORDER = ["brand", "brand-sub", "contrast", "neutral-l1", "neutral-l2", "neutral-l3"];
84
84
  // --vscode-icube-- 别名层(组件真正消费的那层)
@@ -221,6 +221,9 @@
221
221
  const textValue = (suffix) => {
222
222
  switch (suffix) {
223
223
  case "default": case "default-hover": case "default-active": return text.primary;
224
+ // 少数旧 CSS module 使用这个别名配对 bg-bg-invert;它不是“正文反色”,
225
+ // 仍须从实际 invert 表面推导,避免浅色 invert 按钮得到白字。
226
+ case "default-reverse": return onInvert;
224
227
  case "secondary": case "secondary-hover": case "secondary-active": return text.secondary;
225
228
  case "tertiary": return text.tertiary;
226
229
  case "disabled": return text.disabled;