How do I

Bring tokens in from a design tool

Get tokens you already have (from Figma, Tokens Studio, Penpot or Tailwind) into Stoaken.

From Figma, Tokens Studio or Style Dictionary

  1. Export your tokens as a design tokens JSON file. Tokens Studio, Style Dictionary and Figma variables plugins can all write the W3C format Stoaken reads.
  2. On Overview, use Bring your tokens on the Brand (or Add a token set to add another set).
  3. Upload a file (up to 1 MB), or Paste JSON. Stoaken checks the file and tells you plainly if something doesn’t fit the format.
  4. They become a token set. Nothing is published until a release is approved.

Tip: Updating tokens you already brought in? Use Replace on the token set instead: it swaps the whole set, and you propose a release to send the change for review.

From a Tailwind config

Choose Tailwind config when bringing tokens in, and give it your tailwind.config (v3) or @theme CSS (v4). The review offers two choices: Only what I changed (chosen first: your own values and the ones that replace a Tailwind default) or Everything, with Tailwind’s defaults (also every default you never touched; each becomes a token to look after). A config that changes nothing offers only the second.

Already brought the defaults in? Open the set in Tokens, switch to the Table view and use the picker’s Tailwind defaults nothing uses to select them in one go (the ones another token still uses stay out), then remove them from the working copy. Removing tokens is breaking: the next release is a major version a reviewer decides. An AI agent can list them with find_tailwind_defaults.

From Figma variables

A whole collection you already have in Figma: in the Stoaken plugin, Copy for Stoaken under From this file into Stoaken, then on Overview Bring your tokens › From Figma and paste. Each mode becomes a mode on the theme. Propose the first release; once it’s approved, the plugin brings it back into that same collection, so your layers stay linked. A few variables at a time: add them to the collection the plugin makes, and propose them from the plugin. They come in through review like any change.

From Penpot

Connect the Penpot file on the Penpot page, then Bring from Penpot. Each Penpot set comes in as a token set of the same name, ready to propose as a release. From then on you can send changes back to Penpot too.

Was this page useful?

Looking for the API, CLI or AI agents? They’re in the developer docs.