{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"tint-type","type":"registry:ui","title":"Tint Type","description":"Text filled with a slowly flowing multi-stop gradient.","dependencies":[],"registryDependencies":[],"files":[{"path":"registry/ui/tint-type.tsx","type":"registry:ui","content":"\"use client\";\n\nconst css = `@keyframes tint-type{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}`;\n\nexport interface TintTypeProps {\n  text: string;\n  colors?: string[];\n  /** Seconds per full cycle. */\n  speed?: number;\n  className?: string;\n}\n\nexport function TintType({\n  text,\n  colors = [\"#c6ff3d\", \"#22d3ee\", \"#a78bfa\", \"#c6ff3d\"],\n  speed = 6,\n  className,\n}: TintTypeProps) {\n  return (\n    <>\n      <style href=\"tint-type\" precedence=\"default\">\n        {css}\n      </style>\n      <span\n        className={className}\n        style={{\n          display: \"inline-block\",\n          color: \"transparent\",\n          backgroundImage: `linear-gradient(90deg, ${colors.join(\", \")})`,\n          backgroundSize: \"300% 100%\",\n          WebkitBackgroundClip: \"text\",\n          backgroundClip: \"text\",\n          animation: `tint-type ${speed}s ease-in-out infinite`,\n        }}\n      >\n        {text}\n      </span>\n    </>\n  );\n}\n"}]}