This plugin generates classes for coloring carets using caret-color: #;.
Pull it in through npm or yarn:
npm install tailwind-caret-coloryarn add tailwind-caret-colorAdd 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.
This project is licensed under the MIT License.