Cursor Glow

Hover around the screen to preview

Usage

Include --cursor in your global.css file.

global.css

1
@layer base {
2
:root {
3
--cursor: 91 33 182;
4
}
5
}
Add cursor to your tailwind.config.ts file

tailwind.config.ts

1
theme: {
2
extend: {
3
colors: {
4
cursor: "rgb(var(--cursor) / <alpha-value>)",