@stackhackerio/classless
v0.0.6
Published
Out of the box CSS styling for HTML elements. No class names, no framework to learn.
Downloads
2
Maintainers
Readme
@stackhackerio/classless
Your Tailwind CSS Plugin Description
Install the plugin from npm:
$ npm install tailwindcss-classless
Then add the plugin to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
theme: {
// ...
// Optional. Your plugin might not have any options at all.
classless: {
// ...
YOUR_PLUGIN_CUSTOM_OPTION: true,
// ...
},
},
variants: {
// ...
// Optional. Your plugin might not have any variants at all.
classless: ['responsive'],
// ...
},
plugins: [
// ...
require('tailwindcss-classless'),
// ...
],
}
This plugin will generate following CSS:
/* ... */
.example-utility-class {
display: block;
}
.custom-utility-class {
background-color: red;
}
/* ... */
License
tailwindcss-classless is licensed under the MIT License.
Credits
Created with create-tailwind-plugin.