Skip to content

An app that will make a valid Tailwind config from your design tokens.

Notifications You must be signed in to change notification settings

frankstallone/design-token-tailwind-config-creator

Repository files navigation

Design Token Tailwind Config Creator

Take your design system into the Tailwind utility class age. Uses Style Dictionary design tokens to create a valid tailwind.config.js file.

Uses

Installation

yarn

Build

yarn build

Capabilities

1.0 ships with being able to process colors, font family, font weight and font size tokens.

Example fold structure

tokens
└── color
	└── base.json5
	└── font.json5
└── font
	└── family.json5
	└── size.json5
	└── weight.json5

Change log

1.0.3

  • Core colors now distinguished from other colors in project
  • Clearer naming in tailwind.template
  • Replaced .forEach() with .map() functions for unaltered variables

About

An app that will make a valid Tailwind config from your design tokens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published