Skip to content
This repository was archived by the owner on Dec 19, 2020. It is now read-only.

Tailwindcss plugin to color caret in input fields

Notifications You must be signed in to change notification settings

Naoray/tailwind-caret-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

afd5c90 · Aug 19, 2020

History

10 Commits
Aug 19, 2020
Dec 4, 2018
Dec 4, 2018

Repository files navigation

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.