DEV Community

The Dev Mystic
The Dev Mystic

Posted on

A solution to messy token systems for Next.js

I was struggling with token design system when I was building my own website. The already solution next-themes only handled theme token. To handle other tokens like accent, lang, etc, I literally had to do some dark magic and it still failed :(

So, I went on to build a "multi instance token system" for Next.js that can handle infinitely many number of tokens. It is easy to setup, reliable, and cares about dev time. I thought this fixed my problem, so why not save everyone else time too :)

It is called next-tokens and you can visit the official repository here: Repository Link

Top comments (0)