tailwind-caret-color

Tailwind plugin to create caret color classes


Keywords
caret, plugin, postcss, tailwindcss
License
MIT
Install
npm install tailwind-caret-color@1.1.0

Documentation

Caret Color - TailwindCSS Plugin

npm npm

This plugin generates classes for coloring carets using caret-color: #;.

Installation

Pull it in through npm or yarn:

npm install tailwind-caret-color
yarn add tailwind-caret-color

Usage

Add it to the plugins array of your Tailwind config.

plugins: [
  // Other plugins
  require('tailwind-caret-color')(),
],

For each color in colors config of tailwind a caret-{color} class is created, analog to bg- and text- classes.

License

This project is licensed under the MIT License.