🎨 TailwindCSS WP Faust Plugin
This plugin takes the CSS contents of the generated Faust.js global stylesheet and adds it to the TailwindCSS build process.
You will have access to all the classes generated by Faust.js in your TailwindCSS build. As well as the css variables.
🚀 Installation
npm install tailwindcss-wp-faust
📦 Usage
Add the plugin to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
plugins: [
require('tailwindcss-wp-faust')({
globalStyes: fs.readFileSync('./path/to/faust/global.css', 'utf8'),
}),
],
}
⛭ Options
The globalStyles
option is required. It should be the contents of the generated Faust.js global stylesheet.
🪪 License
MIT
Made by natac13