Quick Start
This guide walks you through syncing design tokens between Figma and GitHub in 5 minutes.
Time: 5 minutes Difficulty: Beginner Prerequisites: GitFig installed, GitHub authenticated
What We'll Do
- Create a simple token file in GitHub
- Connect it to Figma
- Pull tokens to create Figma Variables
- Make a change and push it back
Step 1: Create a Token File
First, create a JSON token file in your GitHub repository. You can use any repo you have write access to.
Create a file called tokens/colors.json:
{
"colors": {
"primary": {
"$value": "#0066FF",
"$type": "color",
"$description": "Primary brand color"
},
"secondary": {
"$value": "#6B7280",
"$type": "color",
"$description": "Secondary text color"
},
"background": {
"$value": "#FFFFFF",
"$type": "color"
},
"surface": {
"$value": "#F3F4F6",
"$type": "color"
}
}
}
Commit this file to your main branch.
Step 2: Connect to Repository
- Open GitFig in Figma
- Make sure Design Sync mode is selected (default)
- Enter your repository in the format
owner/repo(e.g.,myname/design-tokens) - Click "Connect"

Step 3: Configure File Mapping
- Click "Configure" next to "Sync Mappings"
- Browse to your
tokens/colors.jsonfile - Click on it to select
- Choose "Variables" as the target type
- Click "Add Mapping"
- Click "Save Mappings"

Step 4: Pull Tokens
- Click the "Pull" button
- Watch as GitFig creates Variables in Figma

- Open Variables panel in Figma (right sidebar → Variables icon)
- You should see a new collection with your colors:

🎉 Congratulations! Your tokens are now synced from GitHub to Figma.
Step 5: Make a Change
Let's test the round-trip by changing a color in Figma:
- In the Variables panel, click on
primary - Change the color to
#FF6600(orange) - In GitFig, click "Push"
- Enter a commit message: "Change primary color to orange"
- Click "Push to GitHub"

Step 6: Verify on GitHub
Open your repository on GitHub and check tokens/colors.json. The primary color should now be #FF6600:
"primary": {
"$value": "#FF6600",
"$type": "color",
"$description": "Primary brand color"
}
What's Next?
You've completed the basic workflow! Here are some next steps:
| Goal | Guide |
|---|---|
| Learn token formats in depth | Token Formats |
| Set up branches for themes | Multi-Brand Themes Tutorial |
| Create PRs from Figma | Branch Workflows |
| Sync Figma Make files | Make Bridge Setup |
Common Issues
"No variables created"
- Check that your JSON follows the W3C Design Tokens format
- Ensure
$valueand$typeare present for each token - Check the browser console for errors (Figma → Plugins → Development → Open Console)
"Repository not found"
- Verify the repo format is
owner/repo(not a full URL) - Check you have at least read access to the repository
- Try signing out and back in to refresh your token