This is a tailwind css plugin for making your elements glow.
- Drama Effect: use the
drama
class. e.g.drama-green-500 drama-20
- Border Glow Effect: use the
border-glow
class. e.g.border-glow-blue-500
- Text Glow Effect: use the
text-glow
class. e.g.text-glow-blue-500
- More coming soon in sha Allah...
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.