Tailwind Shades to CSS Variables
This script can be used to generate a set of CSS variables from a Tailwind shades object.
Overview
Let's say you have the following JavaScript object. You might have generated such an object on a site such as Tailwind Shades.
{