From d0130a6e561745ad7c69807c05eec9b2eb7eafed Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:57 +0530 Subject: [PATCH] feat: add decorative glow --- app/components/ui/glow.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app/components/ui/glow.tsx diff --git a/app/components/ui/glow.tsx b/app/components/ui/glow.tsx new file mode 100644 index 0000000..5860008 --- /dev/null +++ b/app/components/ui/glow.tsx @@ -0,0 +1,17 @@ +import { cva, type VariantProps } from 'class-variance-authority'; +import { cn } from '~/lib/utils'; + +const glowVariants = cva('pointer-events-none absolute rounded-full', { + variants: { + intensity: { + soft: 'bg-primary/5 blur-[120px]', + strong: 'bg-primary/10 blur-[140px]', + }, + }, + defaultVariants: { intensity: 'soft' }, +}); + +// Decorative brand glow; position and size come from className +export function Glow({ intensity, className }: VariantProps & { className?: string }) { + return