Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.4 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.4 KB

tailwindcss-hyphens

npm version npm downloads code style: prettier License: MIT

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 🤖

License

MIT