@tbox.cn/app-theme-tbox 0.1.6 → 1.0.0-alpha.10

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 (3) hide show
  1. package/README.md +2 -2
  2. package/index.css +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  // apps/client/src/platform/bootstrap.ts 启动层自由区(CLI 永不触碰;生成 entry 与根 entry 共享)
10
10
  import '@tbox.cn/app-theme-tbox/index.css';
11
11
  import '@tbox.cn/app-theme-tbox/brand.js';
12
- import { applyTheme } from '@app/agent-ui-kit/theme';
12
+ import { applyTheme } from '@tbox.cn/app-agent-ui-kit/theme';
13
13
  applyTheme('tbox');
14
14
  ```
15
15
 
@@ -23,7 +23,7 @@ applyTheme('tbox');
23
23
  五段(`index.css` 依序 @import):`tokens.css` / `motion.css` / `overrides.css` / `domains.css`(tokens/motion/domains
24
24
  为空骨架,overrides 仅通过 `.tbox-card` 壳类承载蓝宝卡面结构适配)/ `assets.css`(素材九位);`assets/` 物理素材;`brand.js`(出厂不设标题——注释覆写示例态,见文件头)。
25
25
 
26
- **覆写面必须 ⊆ kit 主题契约封闭清单**(`@app/agent-ui-kit/theme/contract`):
26
+ **覆写面必须 ⊆ kit 主题契约封闭清单**(`@tbox.cn/app-agent-ui-kit/theme/contract`):
27
27
  平台 token + `--tbox-domain-*` + `--tbox-asset-*` + `.tbox-*` 壳类;
28
28
  `doctor theme-package-structure` 校验(error)。变量声明唯一合法位 = `html[data-theme='tbox']` 段。
29
29
 
package/index.css CHANGED
@@ -4,7 +4,7 @@
4
4
  * 接线(生成应用侧三行,main.tsx 自由区;模板出厂已接线):
5
5
  * import '@tbox.cn/app-theme-tbox/index.css';
6
6
  * import '@tbox.cn/app-theme-tbox/brand.js';
7
- * import { applyTheme } from '@app/agent-ui-kit/theme';
7
+ * import { applyTheme } from '@tbox.cn/app-agent-ui-kit/theme';
8
8
  * applyTheme('tbox');
9
9
  *
10
10
  * 五段结构(主题契约,doctor theme-package-structure 校验):
@@ -14,7 +14,7 @@
14
14
  * domains 域色通道覆写(--tbox-domain-*,空骨架)
15
15
  * assets 素材变量覆写(--tbox-asset-* 九语义位——平台 IP 素材唯一归宿;A1 级联修复后元素侧只消费不声明)
16
16
  *
17
- * 覆写变量必须 ⊆ kit 主题契约封闭清单(@app/agent-ui-kit/theme/contract)。
17
+ * 覆写变量必须 ⊆ kit 主题契约封闭清单(@tbox.cn/app-agent-ui-kit/theme/contract)。
18
18
  */
19
19
  @import './tokens.css';
20
20
  @import './motion.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/app-theme-tbox",
3
- "version": "0.1.6",
3
+ "version": "1.0.0-alpha.10",
4
4
  "type": "module",
5
5
  "description": "平台品牌主题包(公开发布):五段 CSS 覆写 + 平台 IP 素材九语义位 + brand.js 品牌副作用入口(v1 仅标题)。接线 = import 本包 index.css + brand.js + applyTheme('tbox') 三行。素材独立化——IP 换代 = 本包补丁,模块零品牌资产。",
6
6
  "exports": {