You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

tailwindcss-important

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-important

!important variant plugin for tailwindcss framework

1.0.0
latest
Source
npm
Version published
Weekly downloads
1.2K
-15.06%
Maintainers
1
Weekly downloads
 
Created
Source

!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
}

Keywords

tailwind

FAQs

Package last updated on 28 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts