Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tailwind-accent-color

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwind-accent-color

Tailwind plugin to create accent color classes

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
537
decreased by-3.24%
Maintainers
1
Weekly downloads
 
Created
Source

TailwindCSS Accent Color Plugin

npm

This plugin generates accent-color classes.

Installation

Add to your project via:

# Install using npm
npm install -D tailwind-accent-color

# Install using yarn
yarn add -D tailwind-accent-color

Add it to the plugins array of your Tailwind config.

plugins: [
  require('tailwind-accent-color')(), // no options to configure
]

An accent-{color} class will be created for each Tailwind color, much like bg- classes.

Optionally, you can also customise the variants for the plugin, by adding to the variants section of your Tailwind config.

variants: {
	accentColor: ['responsive', 'dark', 'group-hover', 'focus-within', 'hover', 'focus'] // Listed are the defaults
}

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 09 Jul 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc