Importing design tokens (2024)

Importing design tokens

Importing design tokens (1)

Nic Allen

There are a number of ways you can add design tokens to zeroheight:

The extent to which you can manage your tokens will depend partly on how they are created or imported.

Importing design tokens (2)

Formatting your tokens file

The zeroheight design tokens manager follows the W3C Community Group Design Tokens specification. More details and advice on transforming your file to follow the specification can be found here: Convert design token sets to use zeroheight tokens manager.

You can upload a JSON file of your tokens, or if you have the JSON file in a GitHub repo, you can create a 2-way sync between this file and zeroheight’s token manager. You can then edit these tokens in zeroheight and export the updated tokens or create a pull request in GitHub with the latest changes.

Syncing tokens from code repositories

👉 Note: You can only import one file from one repo at a time.

1) In the Tokens section, click Create token set

2) Enter Token set name and select Create

3) Select GitHub or GitLab as the token source

4) Follow the steps to connect to GitHub or GitLab

5) Select the token set from the code repo you want to upload from and click Continue

5) You will see a summary of the tokens you’re importing — if you’re happy, click Finish

You can:

  • import changes from your code repository into zeroheight
  • make changes to your token set in zeroheight and push those changes back to your code repository as a pull request
  • publish changes to the tokens you’ve added in your styleguide
  • export your file as a JSON

Importing design tokens from Figma styles

1) In the Tokens section, click Create token set

2) Enter Token set name and select Create

3) Select Figma as the token source

4) Choose the connected Figma file from which you want to import styles. Alternatively, you can connect a new Figma file. You’ll need to be authorized to access the Figma file you’re trying to import from.

Note: Tokens will be created based on all styles applied to a layer in the file

5) Preview your import and hit ‘Finish’ if you’re happy

Note: Tokens imported from Figma styles cannot be edited in zeroheight as the changes cannot currently be synced back to Figma

Uploading a JSON file

1) In the Tokens section, click Create token set

2) Enter Token set name and select Create

3) Select JSON import as the token source

4) Upload JSON file and select Continue

5) Select Finish

6) You’ve added your token set as a JSON file.

7) You can:

  • upload another JSON file
  • export your set as a JSON file
  • publish changes to the tokens you’ve added to your styleguide
Importing design tokens (3)

See also:

Importing design tokens (2024)
Top Articles
The Best And Worst Banks Of 2023
Full-time Broker VS Discount Broker
What Is Single Sign-on (SSO)? Meaning and How It Works? | Fortinet
Woodward Avenue (M-1) - Automotive Heritage Trail - National Scenic Byway Foundation
Best Team In 2K23 Myteam
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Shs Games 1V1 Lol
25X11X10 Atv Tires Tractor Supply
Hay day: Top 6 tips, tricks, and cheats to save cash and grow your farm fast!
Mlifeinsider Okta
Gt Transfer Equivalency
What Does Dwb Mean In Instagram
Vichatter Gifs
Tracking Your Shipments with Maher Terminal
Nwi Arrests Lake County
Apne Tv Co Com
Mission Impossible 7 Showtimes Near Marcus Parkwood Cinema
Petco Vet Clinic Appointment
Scotchlas Funeral Home Obituaries
Exterior insulation details for a laminated timber gothic arch cabin - GreenBuildingAdvisor
Nurse Logic 2.0 Testing And Remediation Advanced Test
Melissababy
Barber Gym Quantico Hours
Best Transmission Service Margate
Reser Funeral Home Obituaries
پنل کاربری سایت همسریابی هلو
Suspiciouswetspot
Divide Fusion Stretch Hoodie Daunenjacke für Herren | oliv
Copper Pint Chaska
Spectrum Outage in Queens, New York
Narragansett Bay Cruising - A Complete Guide: Explore Newport, Providence & More
Infinite Campus Asd20
Vivification Harry Potter
Rubmaps H
Home Auctions - Real Estate Auctions
35 Boba Tea & Rolled Ice Cream Of Wesley Chapel
Xfinity Outage Map Lacey Wa
Www Craigslist Com Shreveport Louisiana
Goodwill Thrift Store & Donation Center Marietta Photos
No Hard Feelings Showtimes Near Tilton Square Theatre
Property Skipper Bermuda
Tirage Rapid Georgia
Red Dead Redemption 2 Legendary Fish Locations Guide (“A Fisher of Fish”)
Improving curriculum alignment and achieving learning goals by making the curriculum visible | Semantic Scholar
Carteret County Busted Paper
Grand Valley State University Library Hours
Pas Bcbs Prefix
Star Sessions Snapcamz
Parks And Rec Fantasy Football Names
How to Find Mugshots: 11 Steps (with Pictures) - wikiHow
Generator für Fantasie-Ortsnamen: Finden Sie den perfekten Namen
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 6187

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.