1.0.0 • Published 3 years ago

tailwind-stroke-color v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Stroke Color - TailwindCSS Plugin

npm npm

This plugin generates classes for coloring strokes using stroke: #;.

Installation

Pull it in through npm or yarn:

npm install tailwind-stroke-color
yarn add tailwind-stroke-color

Usage

Add it to the plugins array of your Tailwind config.

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

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

License

This project is licensed under the MIT License.