Skip to content
设计系统packages/design

design 能力面

把品牌、tokens、icons、theme、UI primitive 和设计同步组织成一条供应链。

稳定性
稳定
作用域
全局
边界
packages/design
designpackages/design
设计系统
neutral-2
neutral-7
neutral-12
blue-9
cyan-9
brand-gradient

Aa Heading

Body copy renders the rhythm.

Small body for secondary context.

Caption · the smallest step

Tokens 数

242

组件

27

覆盖率

93%

同步状态

OK

packages/design设计供应链
使用方式theme.css
css
theme.css
1@import "@nebutra/tokens/styles.css";
2
3.cta {
4  background: hsl(var(--primary));
5  color: var(--neutral-1);
6  border-radius: var(--radius-md);
7  padding: 0.75rem 1.25rem;
8}
brand · tokensdesign
  • blue
  • cyan
  • grad
  • ok
  • warn
  • err
AaAaAa

oklch · DTCG · Style Dictionary

brand能力包

brand

品牌原语 — 颜色定义、渐变 token、动效语言;为源数据,不被 app 运行时直接引用。

查看
DTCG JSON
git
@nebutra/tokens
pull1.2s · 47 tokens re-read
12m ago
pushdry-run · 3 token diffs
1h ago
git-only · CI workflow
design-sync能力包

design-sync

纯 Git 的设计 token 同步 — token 以仓库为唯一数据源,无需再和设计工具做双向同步。

查看
tokens.jsonDTCG v0.7
{
  "color.brand.primary": {
    "$value": "hsl(var(--primary))",
    "$type": "color"
  }
}
  • brand.primary
  • brand.accent
  • status.success

Style Dictionary 4multi-platform output

design-tokens能力包

design-tokens

W3C DTCG $value/$type 规范的 token 文件 + Style Dictionary 4 流水线;输出 CSS 变量与 JS module,纯 Git 编辑,不经设计工具同步往返。

查看
fonts能力包

fonts

fonts 是 设计系统 能力域中的独立 package,边界保持在 packages/design/fonts,向上层暴露稳定的能力接口。

查看
541 icons · tree-shakable
@nebutra/icons · Geist source
icons能力包

icons

541 个 Geist icon,以 tree-shakable TSX 组件分发;单字重 + 光学尺寸,与 Vercel / v0 视觉对齐。

查看
theme能力包

theme

纯 CSS 多 theme 引擎 — 六套 oklch preset,通过 data-theme 切换;关键路径无 JS。

查看
12-step
--blue-1 → --blue-12
--brand-primary
--brand-accent
--brand-gradient
--radius-sm
--radius-md
--radius-lg
runtime CSS vars · @import "@nebutra/tokens/styles.css"
tokens能力包

tokens

运行时 CSS 变量 + ThemeProvider — 所有 app 颜色 / 间距 / radius 的单一数据源;在 globals.css 中 @import。

查看
typelens-catalog能力包

typelens-catalog

typelens-catalog 是 设计系统 能力域中的独立 package,边界保持在 packages/design/typelens-catalog,向上层暴露稳定的能力接口。

查看
300+ primitives
NewBetaStable
Composable Card

Primitives + GSAP, themed by tokens.

@nebutra/ui · Storybook covered
ui能力包

ui

主组件库 — Nebutra 组件、自研原语、layout、主题桥接与共享 Motion 门面;产品 UI 的 import 边界。

查看