1.0.0 • Published 4 years ago

@gelbehexe/tailwindcss-disabled-class v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Enables ':disabled' classes also for '.disabled' class

It enables ':disabled' classes also for '.disabled' class to allow consistently usage also for button-like a tags.

NOT FOR PRODUCTION USE

Installation

Install the plugin from npm:

# Using npm
npm install @gelbehexe/tailwindcss-disabled-class

# Using Yarn
yarn add @gelbehexe/tailwindcss-disabled-class

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  plugins: [
    // ...
    require('@gelbehexe/tailwindcss-disabled-class'),
    // ...
  ],
}

Generated css

svg {
  pointer-events: none
}