Turn your brand into design tokens (W3C DTCG JSON)

In short

Design tokens are a brand's decisions (colours, type sizes, spacing) stored as named values that design tools and code both read. Plaibook derives them from your brand automatically, with no guessed numbers, and exports them as W3C design tokens (DTCG) JSON.

Light and dark semantic colours are checked against WCAG AA contrast, so the button text that ships is readable.

  1. 01 What's in the tokens
  2. 02 Where to use them

What's in the tokens

  • Colour

    Palette ramps and semantic roles

    Tints and shades of every brand colour, plus background, text, primary and accent roles for light and dark mode.

  • Type

    A type scale

    Sizes, weights and tracking from display to caption.

  • Space

    Spacing, radius, borders

    A spacing base and scale, a corner style and border widths.

  • Layout

    Elevation, breakpoints and grid

    Shadows, screen sizes and columns.

Where to use them

  1. 1

    Download

    Get the DTCG JSON from the Design Tokens section of your guidelines.

  2. 2

    Figma

    Sync them into Figma variables with the Plaibook plugin.

  3. 3

    Code

    Turn them into CSS variables or a theme for your framework.

Questions

What is the W3C DTCG format?

The Design Tokens Community Group format is a shared JSON format for design tokens, read by a growing number of design and code tools.

Is dark mode included?

Yes. Dark semantic colours are derived to pass WCAG AA; they start as a draft until you confirm them.

Can I adjust the tokens?

Yes. Confirm dark mode, choose the corner style and set the spacing base; your edits are kept when the guidelines are recompiled.