@iasiv5/dsh-skins 1.0.6 → 1.0.8

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.
Files changed (2) hide show
  1. package/lib/client.js +17 -10
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -3014,16 +3014,7 @@ ${names}`);
3014
3014
  ]
3015
3015
  }),
3016
3016
  jsx("span", {
3017
- style: {
3018
- background: "currentColor",
3019
- color: "var(--dsw-alias-label-primary-inverted)",
3020
- borderRadius: "2px",
3021
- padding: "0 5px",
3022
- fontSize: "10px",
3023
- lineHeight: "14px",
3024
- fontWeight: 650,
3025
- letterSpacing: ".08em"
3026
- },
3017
+ className: "dsh-openbmc-badge",
3027
3018
  children: "STUDIO"
3028
3019
  })
3029
3020
  ]
@@ -3120,6 +3111,22 @@ ${names}`);
3120
3111
  Menlo, Consolas, monospace;
3121
3112
  }
3122
3113
 
3114
+ /* ---------- ④b 品牌徽章:官方 ▐HARNESS▌ 同构反色片(HTML/CSS 绘制) ----------
3115
+ * 壳里不存在 --dsw-alias-label-primary-inverted 令牌(那是官方 BrandWordmark
3116
+ * 的内部实现细节),内联 var() 取不到值会让字色整体失效——改为皮肤自带
3117
+ * 规则 + 明暗两套显式颜色(与 tgcf 的 NO TABOOS 徽章同一模式)。
3118
+ * 圆角 4px:官方 SVG rect 虽是 rx=2,但实测对比需在 14px 高度上取 4px
3119
+ * 才有官方观感的弧度(tgcf 徽章同值)。 */
3120
+ body[data-dsh-openbmc-skin] .dsh-openbmc-badge {
3121
+ display: inline-flex; align-items: center;
3122
+ background: #14202B; color: #F7FAFC;
3123
+ border-radius: 4px; padding: 0 5px;
3124
+ font-size: 10px; line-height: 14px; font-weight: 650; letter-spacing: .08em;
3125
+ }
3126
+ body[data-dsh-openbmc-skin][data-ds-dark-theme] .dsh-openbmc-badge {
3127
+ background: #F7FAFC; color: #14202B;
3128
+ }
3129
+
3123
3130
  /* ---------- ⑥ 会话气泡装饰:品牌描边 + 流式呼吸光条 ---------- */
3124
3131
  /* 用户气泡填充换品牌蓝 tint(token 层,随版本稳定) */
3125
3132
  body[data-dsh-openbmc-skin] {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iasiv5/dsh-skins",
3
3
  "description": "DSH Web 皮肤插件:多套品牌皮肤侧栏热切换,一键回到官方界面。",
4
- "version": "1.0.6",
4
+ "version": "1.0.8",
5
5
  "homepage": "https://github.com/iasiv5/dsh-skins#readme",
6
6
  "repository": {
7
7
  "type": "git",