tailwindcss-custom-forms
tailwindcss-custom-forms copied to clipboard
Yielded theme does not contain plugin-added utilities
I noticed that the theme
yielded in customForms
does not include utilities that were added by other plugins. I have tried reordering the order of plugins such that @tailwindcss/custom-forms
is after my custom plugin, but it doesn't look like it reflects any changes to the theme. Here's an example to illustrate what's happening:
module.exports = {
theme: {
customForms: (theme) => {
console.log(theme('lineHeight')); // i don't see my added lineHeights
return {
..
};
}
},
plugins: [
require("./my-custom-theme"), // calls addUtilities(.., variants("lineHeight"))
require("@tailwindcss/custom-forms")
]
}
Is this supported?