Skip to content
Design System Supply Chain

design-sync

Git-only design-token sync — tokens live in the repo as the source of truth, no design-tool round-trip to keep in lock-step.

packages/design/design-sync · Source ↗ · Docs ↗

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

In code

design-sync.ts
1import { getDesignSync } from "@nebutra/design-sync";
2
3// Auto-detects git-only / design-md from env.
4const sync = await getDesignSync();
5
6await sync.healthcheck();
7await sync.pull();                  // re-read DTCG token files (git is the source)
8await sync.push({ dryRun: true });  // validate + reformat in place (dry-run safe)