tailwindcss-wp-faust
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

🎨 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

Package Sidebar

Install

npm i tailwindcss-wp-faust

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

8.28 kB

Total Files

5

Last publish

Collaborators

  • natac13