This is a tailwind css plugin for making your elements glow.
- Drama Effect: use the
dramaclass. e.g.drama-green-500 drama-20
- Border Glow Effect: use the
border-glowclass. e.g.border-glow-blue-500
- Text Glow Effect: use the
text-glowclass. e.g.text-glow-blue-500
- More coming soon in sha Allah...
Install the npm library
npm i -D twglowOr, if you are using yarn:
yarn add -D twglowThen 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.