Prototypr

Prototyping, UX Design, Front-end Development and Beyond 👾 | ✍️ Write for us https://bit.ly/apply-prototypr

Follow publication

A proposal for Figma styles alternative. Tokens for Spacing, Typography, Colors, Opacity, Grids, Line height, Radius and more

Making Design Tokens A Single Source of Truth for Figma tool.

Abdul Sial
Prototypr
Published in
3 min readApr 4, 2020

Figma Token Proposal an alternative to styles.

Updates 15th July 2020

Finally! able to lunch this idea as a plugin with the help of another developer Jan Six.

It’s open-source! Feel free to contribute and raise suggestions at https://github.com/six7/figma-tokens

The Problem

Most of the design systems tokens are in code JSON files or XML hidden away from designers.

Design tokens are an integral part of any design system. Figma styles are not enough to create all design tokens, Figma support Colors, Typography, Shadows, and grids styles.

Start with Figma styles why stop there! Go all the way to add all and integrated back into Figma properties.

  • Colors
  • Spacing
  • Font Families
  • Font Sizes
  • Font Weights
  • Line Heights
  • Letter Spacings
  • Z-Index
  • Border Radius
  • Border Widths
  • Shadows
  • Opacity

Mostly I am working on the design system with multiple designers, developers, and product managers, to share a single source of tokens is mandatory to create a solid base for the design system.

Embedding design decisions in code isn’t valuable if designers and developers don’t know what the decisions are and how to access them. — Nathan

Solution

Giving a design decision back to the designer

Figma Tokens a place where a designer can add tokens manually, and use these tokens as the value for all the properties throughout design files in Figma e.g., Fill, Auto Layout, Radius and more.

A merge between styles and custom token values, including spacing, radius, z-index, borders….

Making design tokens A single source of truth for designers and developers using Figma.

Proposal

Introducing the tab for Token in the right-side panel of Figma. A place to merge between styles and custom token values, giving styles a home aka Tokens.

These Tokens start showing up in all the properties.

Spacing tokens, a proposal for Figma styles alternative. Typography, Colors, and radius tokens
An example of spacing tokens

All tokens will start showing as the values in related properties.

Radius tokens, a proposal for Figma styles alternative.
Radius token as values
Opacity tokens, a proposal for Figma styles alternative.
Opacity token as values

Automation

This could include the quick API link to export these tokens in JSON or XML, similar to Salesforce opensource tool Theo.

No more hacking a code to read vectors and layer names to extract values.

Please share your ideas to take this topic further. These all are my ideas for a proposal I believe they can be improved.

Figma is a great tool for collaboration for teams, Last year I moved my all teams to Figma the more I use it more I love it. Thanks to Figma Team 🙏🏻

Hopefully, you enjoyed reading this story, if not, let’s discuss! 🙏🏻

My info

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Published in Prototypr

Prototyping, UX Design, Front-end Development and Beyond 👾 | ✍️ Write for us https://bit.ly/apply-prototypr

Written by Abdul Sial

Lead UX @ ABB, Community-taught Previously at @emirates , Start-ups mentor #UX #UI #Designer #Startups

Responses (9)

Write a response