Introduction

🥷 Tokun — simple, and easy-to-use tool for working with design tokens with powerups.

  • A straightforward API
  • CLI with predefined configurations
  • Support config file
  • Built-in support for DTCG Format
  • Validators and schemas for DTCG Format
  • You can add custom loaders, transforms, platforms, validators - and override built-in ones
  • CSS format support
npm install -D tokun

Motivations behind the project

The main motivation behind this project is to provide a simple and easy-to-use tool for working with design tokens. There are already a lot of great tools for this purpose (such as style-dictionary or theo), but they are either too complex or outdated. I wanted to create a tool that will get your design tokens ready to use in a few seconds without any additional configuration. However, if you want to extend its functionalities, you can do it easily by adding custom loaders, transforms, formats, validators, etc. The goal is also to be align with latest DTCG Format and provide built-in support for it.

Contributing

If you want to contribute to this project, feel free to create a pull request or an issue on GitHub.

Happy coding! 🚀