Skip to main content

Overview

Overdose Design Tokens Transformer CLI

Transforms Overdose Master Template design tokens to CSS variables compatible with @overdose/theme.

Installation

yarn add @overdose/design-tokens-transformer -D

Quick Start

  • Export design tokens from Figma using the Design Tokens plugin. Save the exported design-tokens.tokens.json file in your project.
  • Generate tokens with:
yarn transform-design-tokens build -s "<SOURCE_PATH>" -d "<DESTINATION_PATH>"

Help

yarn transform-design-tokens --help