DEV Community

Cover image for Creating dynamic Tailwind themes for a React library
Taylor Bantle
Taylor Bantle

Posted on

Creating dynamic Tailwind themes for a React library

I wrote an article about how we implemented dynamic Tailwind themes in Typescript for a React component library that we built to share components between web applications with different color themes. It also shows how we use Storybook to toggle color themes when testing React components.

Check out the article here: https://www.dolthub.com/blog/2024-03-20-dynamic-tailwind-themes/

Top comments (0)