UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: fix css for line shadow text
Dillion Vermab2fa86d94211
diff --git a/public/r/line-shadow-text.json b/public/r/line-shadow-text.jsonindex fb60ea3a..855f00c5 100644--- a/public/r/line-shadow-text.json+++ b/public/r/line-shadow-text.json@@ -14,5 +14,20 @@"type": "registry:ui","target": "components/magicui/line-shadow-text.tsx"}- ]+ ],+ "cssVars": {+ "theme": {+ "animate-line-shadow": "line-shadow 15s linear infinite"+ }+ },+ "css": {+ "@keyframes line-shadow": {+ "0%": {+ "background-position": "0 0"+ },+ "100%": {+ "background-position": "100% -100%"+ }+ }+ }}\ No newline at end of filediff --git a/public/registry.json b/public/registry.jsonindex c6f12e91..2aceb1bf 100644--- a/public/registry.json+++ b/public/registry.json@@ -75,7 +75,22 @@"type": "registry:ui","target": "components/magicui/line-shadow-text.tsx"}- ]+ ],+ "cssVars": {+ "theme": {+ "animate-line-shadow": "line-shadow 15s linear infinite"+ }+ },+ "css": {+ "@keyframes line-shadow": {+ "0%": {+ "background-position": "0 0"+ },+ "100%": {+ "background-position": "100% -100%"+ }+ }+ }},{"name": "aurora-text",diff --git a/registry.json b/registry.jsonindex c6f12e91..2aceb1bf 100644--- a/registry.json+++ b/registry.json@@ -75,7 +75,22 @@"type": "registry:ui","target": "components/magicui/line-shadow-text.tsx"}- ]+ ],+ "cssVars": {+ "theme": {+ "animate-line-shadow": "line-shadow 15s linear infinite"+ }+ },+ "css": {+ "@keyframes line-shadow": {+ "0%": {+ "background-position": "0 0"+ },+ "100%": {+ "background-position": "100% -100%"+ }+ }+ }},{"name": "aurora-text",diff --git a/registry/registry-ui.ts b/registry/registry-ui.tsindex 488b3fad..9b8cf38f 100644--- a/registry/registry-ui.ts+++ b/registry/registry-ui.ts@@ -56,6 +56,21 @@ export const ui: Registry["items"] = [target: "components/magicui/line-shadow-text.tsx",},],+ cssVars: {+ theme: {+ "animate-line-shadow": "line-shadow 15s linear infinite",+ },+ },+ css: {+ "@keyframes line-shadow": {+ "0%": {+ "background-position": "0 0",+ },+ "100%": {+ "background-position": "100% -100%",+ },+ },+ },},{name: "aurora-text",diff --git a/styles/globals.css b/styles/globals.cssindex fa457342..f83a5c13 100644--- a/styles/globals.css+++ b/styles/globals.css@@ -357,7 +357,6 @@background-position: 100% -100%;}}- /* End Keyframes */}@layer base {