UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update sparkles text color
Dillion Vermaa81fa0d224d9
diff --git a/registry/components/magicui/sparkles-text.tsx b/registry/components/magicui/sparkles-text.tsxindex 3e777be1..945daed1 100644--- a/registry/components/magicui/sparkles-text.tsx+++ b/registry/components/magicui/sparkles-text.tsx@@ -49,7 +49,7 @@ interface SparklesTextProps {sparklesCount?: number;/**- * @default "{first: '#A07CFE', second: '#FE8FB5'}"+ * @default "{first: '#9E7AFF', second: '#FE8BBB'}"* @type string* @description* The colors of the sparkles@@ -62,7 +62,7 @@ interface SparklesTextProps {const SparklesText: React.FC<SparklesTextProps> = ({text,- colors = { first: "#A07CFE", second: "#FE8FB5" },+ colors = { first: "#9E7AFF", second: "#FE8BBB" },className,sparklesCount = 10,...props@@ -119,9 +119,7 @@ const SparklesText: React.FC<SparklesTextProps> = ({{sparkles.map((sparkle) => (<Sparkle key={sparkle.id} {...sparkle} />))}- <strong className="bg-gradient-to-r from-[var(--sparkles-first-color)] to-[var(--sparkles-second-color)] bg-clip-text text-transparent">- {text}- </strong>+ <strong>{text}</strong></span></div>);