@qw-ui/tokens 0.3.0-next.43 → 0.3.0-next.44
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/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qw-ui/tokens",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.44",
|
|
4
4
|
"description": "QW token pipeline: Figma Color variables are the color source of truth; code validates snapshots and builds CSS / TS exits.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "qw-ui contributors",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"registry": "https://registry.npmjs.org/"
|
|
60
60
|
},
|
|
61
61
|
"qwRelease": {
|
|
62
|
-
"source": "
|
|
62
|
+
"source": "1efbf834966275af4a8916611dba062b0a8b500d",
|
|
63
63
|
"channel": "next"
|
|
64
64
|
},
|
|
65
65
|
"readme": "# @qw-ui/tokens\n\n设计 Token 与主题。Design tokens and theme utilities for qw-ui.\n\n## 安装\n\n当前开发版本使用 `next`:\n\n```bash\nnpm install @qw-ui/tokens@next\n```\n\n包发布于 [公共 npm](https://www.npmjs.com/package/@qw-ui/tokens)。如环境配置了其他镜像,可在安装命令后追加 `--registry=https://registry.npmjs.org/`。\n\n## 最小示例\n\n```ts\nimport '@qw-ui/tokens/tokens.css';\nimport { defaultSeed, derive } from '@qw-ui/tokens';\n\nconst theme = derive(defaultSeed);\nconsole.log(theme);\n```\n\n## 使用说明\n\n应用使用 `tokens.css` 提供默认变量;组件消费 `--qw-sem-*` 语义变量。可通过容器的 `data-qw-mode=\"dark\"` 使用暗色主题。`tokens.live.css`、`tailwind.css`、`tokens.json` 等公开资源按项目需求选择,具体入口以 package exports 为准。\n\n## 兼容性\n\nCSS 面向 Chrome 123 / iOS Safari 16.4。主题派生 API 可用于 Node 构建工具和浏览器。\n\n## 版本通道\n\n- `next`:main 更新并通过检查后自动发布,用于试用当前能力。\n- `latest`:负责人手动发布的正式版本。正式版可用后,使用 `npm install @qw-ui/tokens@latest`;正式版支持范围以该版本 README 为准。\n- 生产项目建议锁定明确版本。配套使用的 `@qw-ui/*` 包应选择同批版本;内部运行时依赖由包管理器安装。\n\n## 文档与许可证\n\n- [组件文档与接入指南](https://qw-ui.qianwen.com/)\n- [npm 版本列表](https://www.npmjs.com/package/@qw-ui/tokens?activeTab=versions)\n- MIT,详见包内 `LICENSE`。\n",
|