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)