Terrazzo

CLI

设计令牌命令行工具(原名 Cobalt UI):读取符合 W3C DTCG 标准的颜色、字体、间距等令牌,校验后通过插件生成 CSS、Sass、JS/TS、Swift、Tailwind 等代码,可放进 CI,让设计规范自动落到代码里。需要 Node.js 项目。

terrazzoapp/terrazzo476
README

⛋ Terrazzo Monorepo

This repo serves as the home for:

  • Terrazzo CLI: generate code from DTCG tokens (formerly known as “Cobalt UI”)
  • Terrazzo Color Picker, a futuristic colorpicker that can handle wide gamut and high bit-depth colors in stunning color reproduction
  • Token Lab (coming soon): generate design systems from scratch, or start from an existing OSS design system

🔹 Cobalt UI

Cobalt UI 2.0 was renamed to Terrazzo (same project, same people). To see the code for Cobalt 1.0, see the 1.x branch.