{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hatch",
  "title": "Hatch",
  "description": "A diagonal hatch in any colour, for reserved space and failed bars.",
  "files": [
    {
      "path": "registry/ndeko/lib/hatch.ts",
      "content": "export function hatchOf(color: string, strength = 45) {\n  const stripe = `color-mix(in oklab, ${color} ${strength}%, transparent)`;\n  return `repeating-linear-gradient(135deg, ${stripe} 0 1.5px, transparent 1.5px 5px)`;\n}\n",
      "type": "registry:lib"
    }
  ],
  "categories": [
    "foundations"
  ],
  "type": "registry:lib"
}