Package Exports
- tailwindcss-important
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-important) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
!important Tailwind Plugin
Installation
Add this plugin to your project:
# Install via npm
npm install --save-dev tailwindcss-important
# Install via yarn
yarn add tailwindcss-important --dev
Adding variants through plugins is currently an experimental feature in tailwind and requires version 0.6.2 or higher.
Usage
The important plugin exposes an important
variant for you to use by prepending !
to your class names: !text-white !bg-black
require('tailwindcss-important')()
textColors: ['responsive', 'hover', 'important'],
experiments: {
pluginVariants: true
}