gearsandcode / figma-tokens

Official Repo of the Figma Plugin 'Figma Tokens'

Home Page:https://www.figma.com/community/plugin/843461159747178978

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figma Tokens

installs likes

Figma Design Tokens - Making design tokens a single source of truth for Figma. | Product Hunt

Figma Tokens is a Figma plugin allowing you to define and use design tokens in Figma. It allows you to set and create color or typography styles in a granular way by extracting atomic decisions to tokens. Also, it allows you to define reusable values for spacing which you can apply on Auto Layout layers, or set border radious tokens on rectangles that update whenever your tokens change. Think of it like Styles for everything.

Documentation

https://docs.tokens.studio/

How does it work?

Whenever you apply a token to a layer, the plugin will store hidden information on that layer containing information about what token to apply for what property. Whenever your tokens change, we scan the document for any layers containing these hidden information, and update layers accordingly. For Styles, the plugin checks if there is any local style with the same name of your color or typography tokens and updates these.

More information

I will provide more information and some Getting Started videos on my personal website: jansix.at/resources/figma-tokens

Contribute

  • Run yarn to install dependencies.
  • Run yarn build:watch to start webpack in watch mode.
  • Open Figma -> Plugins -> Development -> New Plugin... and choose manifest.json file from this repo.
  • Create a Pull Request for your branch

About

Official Repo of the Figma Plugin 'Figma Tokens'

https://www.figma.com/community/plugin/843461159747178978


Languages

Language:TypeScript 91.2%Language:JavaScript 5.6%Language:CSS 3.2%Language:Shell 0.0%Language:HTML 0.0%