{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "text",
  "title": "text",
  "description": "text",
  "dependencies": [
    "tailwind-merge",
    "tailwind-variants"
  ],
  "registryDependencies": [
    "https://intentui.com/r/primitive",
    "https://intentui.com/r/link"
  ],
  "files": [
    {
      "path": "src/components/ui/text.tsx",
      "content": "import { twMerge } from 'tailwind-merge'\nimport { tv } from 'tailwind-variants'\nimport { cx } from '@/lib/primitive'\nimport { Link } from './link'\n\nexport function Text({ className, ...props }: React.ComponentPropsWithoutRef<'p'>) {\n  return (\n    <p\n      data-slot=\"text\"\n      {...props}\n      className={twMerge('text-base/6 text-muted-fg sm:text-sm/6', className)}\n    />\n  )\n}\n\nexport const textLinkStyles = tv({\n  base: 'text-primary-subtle-fg decoration-primary-subtle-fg/50 hover:underline hover:decoration-primary-subtle-fg has-data-[slot=icon]:inline-flex has-data-[slot=icon]:items-center has-data-[slot=icon]:gap-x-1',\n})\n\nexport function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>) {\n  return <Link {...props} className={cx(textLinkStyles(), className)} />\n}\n\nexport function Strong({ className, ...props }: React.ComponentPropsWithoutRef<'strong'>) {\n  return <strong {...props} className={twMerge('font-medium', className)} />\n}\n\nexport function Code({ className, ...props }: React.ComponentPropsWithoutRef<'code'>) {\n  return (\n    <code\n      {...props}\n      className={twMerge(\n        'rounded-sm border bg-muted px-0.5 font-medium text-sm sm:text-[0.8125rem]',\n        className\n      )}\n    />\n  )\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}