{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "utils",
  "title": "cn",
  "description": "Class merging that knows the hairline utilities of the ndekoui theme.",
  "dependencies": [
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/ndeko/lib/utils.ts",
      "content": "import { clsx, type ClassValue } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\nconst twMerge = extendTailwindMerge({\n  extend: {\n    classGroups: {\n      'border-w': ['hairline-border'],\n      'border-w-b': ['hairline-b'],\n      'border-w-t': ['hairline-t'],\n      'border-w-l': ['hairline-l'],\n      'border-w-r': ['hairline-r'],\n      'border-w-x': ['hairline-x'],\n      'border-w-y': ['hairline-y'],\n      'divide-y': ['hairline-divide-y'],\n      'divide-x': ['hairline-divide-x'],\n      'ring-w': ['hairline-ring'],\n    },\n  },\n});\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n",
      "type": "registry:lib"
    }
  ],
  "categories": [
    "foundations"
  ],
  "type": "registry:lib"
}