A plugin for Tailwind CSS to create
utility classes for hyphens
.
yarn add @distributed/tailwindcss-hyphens
tailwind.config.ts:
module.exports = {
plugins: [
require("@distributed/tailwindcss-hyphens")
]
};
By default, this plugin generates the following utilities:
.hyphens-none {
hyphens: none;
}
.hyphens-manual {
hyphens: manual;
}
.hyphens-auto {
hyphens: auto;
}
Plugin extracted from a private monorepo, README generated by ChatGPT 🤖