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