Originally published at: Get Tailwind CSS colors from npm package – Vinkas Blog
First of all, you can already customize or extend Tailwind CSS theme colors in the config file. Only if you use the same color palette in multiple projects, then you would need to store and fetch the colors from a separate npm package.In your npm package, export the colors as default module. Or you can…