This is a tailwind css plugin for making your elements glow.
drama
class. e.g. drama-green-500 drama-20
border-glow
class. e.g. border-glow-blue-500
text-glow
class. e.g. text-glow-blue-500
Install the npm library
npm i -D twglow
Or, if you are using yarn:
yarn add -D twglow
Then add the plugin to your tailwind.config.js
file:
import twGlow from "twglow";
export default {
// ...
plugins: [twGlow],
};
Or if you use common JS, then:
module.exports = {
theme: {
// ...
},
plugins: [require("twglow")],
};
Use the provided examples.