{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "utils",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/lib/utils.ts",
      "content": "import { type ClassValue, clsx } from \"clsx\";\nimport { extendTailwindMerge } from \"tailwind-merge\";\n\n// Register our custom scales so tailwind-merge doesn't collapse them\n// into the wrong conflict groups. Without the font-size registration,\n// tailwind-merge lumps text-small / text-micro / etc alongside text-ink\n// (a color) and strips whichever comes first, so a destructive\n// MenuItem's `text-small ... text-error` collapses to just `text-error`.\nconst twMerge = extendTailwindMerge({\n  extend: {\n    classGroups: {\n      \"font-size\": [\n        \"text-micro\",\n        \"text-mini\",\n        \"text-small\",\n        \"text-regular\",\n        \"text-large\",\n        \"text-title3\",\n        \"text-title2\",\n        \"text-title1\",\n      ],\n    },\n  },\n});\n\nexport function cn(...inputs: ClassValue[]): string {\n  return twMerge(clsx(inputs));\n}\n",
      "type": "registry:lib",
      "target": "lib/utils.ts"
    }
  ],
  "type": "registry:lib"
}