A plugin for tailwindcss to add highlights to your text
The tailwindcss-highlights is a plugin for Tailwind CSS that provides utility classes for easily adding highlights to texts. It offers various options to customize the highlights such as colors, spread sizes, and variants.
To install the tailwindcss-highlights plugin, run the following command:
npm install tailwindcss-highlights
Add the plugin to the tailwind.config.js
file in:
module.exports = {
plugins: [
require('tailwindcss-highlights')
]
}
The tailwindcss-highlights plugin for Tailwind CSS is a useful tool for enhancing text elements with highlights. With features like color customization, spread utility, and variant options, it provides a range of ways to style highlights to suit different design needs. Whether it’s adding default highlights or applying custom styles, this plugin offers versatility in text highlighting within Tailwind CSS projects.