config.mjs
/** @type {import('tokun/types').Config} */
export default {
  data: ["basic.tokens.json"],
  options: {
    loader: "dtcg-json",
    platforms: [
      {
        name: "css",
        format: "css",
        transforms: ["kebab-case", "css-transforms"],
        outputs: [
          {
            name: "dist/vars.css",
          },
        ],
        config: { outputReferences: false },
      },
    ],
  },
};

Build themes. Easy.

The simple, and easy-to-use tool for working with design tokens with powerups.

> npm i -D tokun