Light

Take it to the CLI

The same files on your machine: the generated config carries the choices above.

355 B
  1. Put dta.config.ts in your project folder. Put the token files in tokens/ next to it.
  2. Build:

The config imports defineConfig from design-token-authority: install it in your project first (npm install --save-dev design-token-authority).

Graphite

Take it to the CLI

The same files on your machine: the generated config carries the choices above.

355 B
  1. Put dta.config.ts in your project folder. Put the token files in tokens/ next to it.
  2. Build:

The config imports defineConfig from design-token-authority: install it in your project first (npm install --save-dev design-token-authority).