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