figma-sync
CommunityKeep Figma and code design tokens in sync.
Authortheodrosyimer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Synchronize design tokens between Figma and local DTCG JSON to prevent drift, reduce manual mapping effort, and maintain a single source of truth for design system values.
Core Features & Use Cases
- Pull variables from the Figma Variables API and map collections to DTCG groups (primitive, semantic) and theme files (light, dark).
- Push local DTCG JSON tokens back to Figma by creating or updating variable collections and variables while preserving descriptions and scoping.
- Use Case: Keep a monorepo design system and Figma file consistent after palette, spacing, or semantic alias updates and resolve conflicts through a pull-diff-push workflow.
Quick Start
Set FIGMA_ACCESS_TOKEN and FIGMA_FILE_KEY and run the pull script to fetch variables from Figma and write DTCG JSON tokens into packages/design-system/tokens.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: figma-sync Download link: https://github.com/theodrosyimer/.dotfiles/archive/main.zip#figma-sync Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.