TagTailwind

Get Tailwind CSS colors from npm package

G

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 export multiple color pallets with different export names. module.exports = { primary: { 50:...