@agent-relay/brand

中文文档
15.0.2发布于 2026/11/02零依赖构建来源已验证近 30 天下载 2078

Shared brand tokens, CSS variables, and color system for Agent Relay and associated properties

原始使用文档
文档目录5 节
  1. Usage
  2. Import in CSS (with a bundler)
  3. Link directly (HTML)
  4. Static sites without a bundler
  5. Tokens

@agent-relay/brand

Shared brand tokens, CSS variables, and color system for Agent Relay and associated properties.

This is a pure CSS package — no build step required.

Usage

Import in CSS (with a bundler)

@import '@agent-relay/brand/brand.css';
<link rel="stylesheet" href="node_modules/@agent-relay/brand/brand.css" />

Static sites without a bundler

Copy brand.css into your project, or reference it via a CDN.

Tokens

The file exposes CSS custom properties on :root for light mode and :root[data-theme='dark'] for dark mode. Key token groups:

  • Logo — --logo-primary, --logo-secondary
  • Brand accents — --accent-warm, --accent-ink, --accent-stone
  • Status — --status-red, --status-yellow, --status-green
  • Console / terminal — --console-bg, --console-fg, etc.
  • Primary scale — --primary-50 through --primary-950
  • Secondary scale — --secondary-50 through --secondary-950
  • Neutral scale — --neutral-50 through --neutral-950
  • Semantic tokens — --bg, --fg, --primary, --card-bg, --nav-*, --footer-*, etc.

版本与发布记录

@agent-relay/brand 共发布 225 个版本,首次发布于 2026/03/26;过去 12 个月发布了 225 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
15.0.2latest2026/11/026 天前
15.0.12026/11/017 天前
15.0.02026/10/317 天前
14.0.02026/10/1425 天前
13.4.12026/10/1325 天前
13.4.02026/10/1127 天前

关于 @agent-relay/brand 的常见问题

@agent-relay/brand 是什么?

Shared brand tokens, CSS variables, and color system for Agent Relay and associated properties

如何安装 @agent-relay/brand?

在项目目录运行 npm install @agent-relay/brand,或使用 pnpm add / yarn add / bun add。

@agent-relay/brand 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/agent-relay__brand 是否存在。

@agent-relay/brand 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agent-relay/brand 可以商用吗?

@agent-relay/brand 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@agent-relay/brand 的下载量有多少?

根据 npm 官方下载统计,@agent-relay/brand 在 2026/10/05 – 2026/11/03 这 30 天内被下载 2,078 次,日均约 69 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agent-relay/brand 还在维护吗?

最新版本 15.0.2 发布于 2026/11/02(6 天前);至今共发布 225 个版本,其中过去 12 个月发布了 225 个;首次发布于 2026/03/26。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。