Designex is a cli tool that helps you get started with Design tokens.
Get easily started with design tokens using Designex CLI. Features a wide range of templates, pre-built configurations, and live reloading for seamless design system integration.
The Elixir library allows you to run Design CLI without the need for Nodejs similar to Tailwind Elixir
Quick Start - Run Designex Setup to setup ready-to-use token templates and get your project running in seconds.
Easy Build - Use Designex Build to convert your tokens into platform-ready formats.
Live Updates - Use Designex Build Watch to see changes instantly while you work.
This templates follows the latest setup of [Tailwind v4] (https://tailwindcss.com).
It will generate Tailwind v4 CSS files to import into your main css assets.
You can choose from style dictionary or tokens studio format.
If you are using the free version of Tokens Studio you must select single file.
tailwind/v4/tokens-studio/single
tailwind/v4/tokens-studio/multi
tailwind/v4/style-dictionary
Tailwind v3
This templates follows the legacy setup of [Tailwind v3] (https://tailwindcss.com).
It will generate Tailwind v3 JS files to import into your Tailwind Config file.
You can choose from tokens studio single and multi format.
If you are using the free version of Tokens Studio you must select single file.
tailwind/v3/tokens-studio/single
tailwind/v3/tokens-studio/multi
Shadcn
This templates follows the latest setup of [Shadcn] (Introduction - shadcn/ui).
It will generate Tailwind v3 JS files to import into your Tailwind Config file.
You must also add the generate CSS files for the default and dark mode.
The colors are converted to hsl as advised by Shadcn
You can choose from style dictionary or tokens studio format.
If you are using the free version of Tokens Studio you must select single file.
This templates is an export of the Material 3 Design Kit Figma file and the Material Theme Builder Figma Plugin
You can choose from style dictionary or tokens studio format.
If you are using the free version of Tokens Studio you must select single file.
material/tokens-studio/single
material/tokens-studio/multi
material/style-dictionary
Mozilla
This templates is an export of the legacy Mozilla Design Tokens
You can choose from tokens studio single and multi format.
If you are using the free version of Tokens Studio you must select single file.
Designex is a cli tool that helps you get started with Design tokens.
It uses mainly Style Dictionary to build the tokens into CSS or Tailwind config
-Setup by coping one of the template for design tokens and scripts.
Some template supports Figma Tokens Studio format
-Build your tokens using the script into css or tailwind files
-Watch for any changes of your tokens and run the build script
The Elixir library allows you to run Design CLI without the need for Nodejs similar to Tailwind Elixir
I should have made my question a little more specific and clear.
To be clear my question was made to make you realise that your topic doesn’t address users that have no clue what are design tokens, thus no idea what this is useful for. I know we can google it, but as someone that worked before as a Developer Advocate I would recommend you to be more specific in your promotion of your package to help increase it’s adoption among people unaware of what are design tokens.
@Exadra37@dimitarvp Thank you for your questions and advises.
We assumed that Design Tokens were well know from the developer and designer community however even the most experimented of us lack knowledge about it.
What Are Design Tokens?
Design tokens are the smallest building blocks of a design system, storing design decisions such as colors, typography, spacing, shadows, and more in a structured, reusable format. They ensure consistency across different platforms and can be dynamically updated.
Core Idea of Design Tokens
Platform-Agnostic: Instead of hardcoding values in CSS, Swift, or Android XML, design tokens store values in a structured format like JSON.
Scalability: Tokens allow design changes to be applied globally across a system.
Design tokens help streamline the connection between design and development, ensuring consistency and scalability. Their adoption continues to grow, with tools and frameworks evolving to support them natively.
I think there are quite a few grey-hairs in the Elixir community (myself included) who prefer doing almost anything else over tinkering with CSS, so it’s worth taking the time to explain the problem context and the problem your library solves.
Welcome to the community BTW, and thanks for your work on this library.