Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update meteor styles

Dillion Verma7ded3aa33c19
diff --git a/registry/registry-ui.ts b/registry/registry-ui.ts
index 62f65263..69fb96b5 100644
--- a/registry/registry-ui.ts
+++ b/registry/registry-ui.ts
@@ -34,6 +34,30 @@ export const ui: Registry = [
name: "meteors",
type: "registry:ui",
files: ["magicui/meteors.tsx"],
+ tailwind: {
+ config: {
+ theme: {
+ extend: {
+ animation: {
+ meteor: "meteor 5s linear infinite",
+ },
+ keyframes: {
+ meteor: {
+ "0%": {
+ transform: "rotate(215deg) translateX(0)",
+ opacity: "1",
+ },
+ "70%": { opacity: "1" },
+ "100%": {
+ transform: "rotate(215deg) translateX(-500px)",
+ opacity: "0",
+ },
+ },
+ },
+ },
+ },
+ },
+ },
},
{
name: "grid-pattern",