pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Tailwind text-color classes should work when defining custom colors #125

Open pixelastic opened 3 years ago

pixelastic commented 3 years ago

Currently, if I edit my tailwind.config.js file to set a new theme.colors entry, the .red classes generated are the default one from norska, not the one defined in my custom config.

It seems that this is because the text color plugin loads its config from a shared resources in norska, not from the current tailwind config.

Furthermore, because the plugin disable the default .text-red classes, there is no workaround (even adding corePlugins.textColor: true do not overwrites it.