@yeapptech/yeride-brand

中文文档
1.2.0发布于 2026/11/03UNLICENSEDTypeScriptESM + CJS零依赖

YeRide brand source of truth: design tokens (palette, typography) and logo/icon assets.

原始使用文档

@yeapptech/yeride-brand

YeRide's brand source of truth as a package: design tokens (palette, typography) and logo/icon assets, shared by every YeRide app.

npm install @yeapptech/yeride-brand
ImportGives you
@yeapptech/yeride-brandTyped token constants (colors.cabYellow, …)
@yeapptech/yeride-brand/tailwind-presetTailwind / NativeWind preset
@yeapptech/yeride-brand/tokens.cssCSS custom properties
@yeapptech/yeride-brand/tokens.jsonDTCG token source
@yeapptech/yeride-brand/assets/*Logo SVGs and PNGs, the mobile app-icon kit

Fonts are not included: load Nunito per platform.

Maintained in a private repository. YeRide app teams: the adoption contract is that repository's CONSUMING.md.

版本与发布记录

@yeapptech/yeride-brand 共发布 3 个版本,首次发布于 2026/10/12;过去 12 个月发布了 3 个版本。

版本发布日期距今
1.2.0latest2026/11/03今天
1.1.02026/10/1222 天前
0.0.0-stage2026/10/1222 天前

关于 @yeapptech/yeride-brand 的常见问题

@yeapptech/yeride-brand 是什么?

YeRide品牌真相来源:设计标志(调色板,排版)和标志/图标资产。

如何安装 @yeapptech/yeride-brand?

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

@yeapptech/yeride-brand 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@yeapptech/yeride-brand 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@yeapptech/yeride-brand 可以商用吗?

@yeapptech/yeride-brand 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@yeapptech/yeride-brand 还在维护吗?

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