{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "studio",
  "title": "Studio",
  "description": "A studio backdrop for a picture of the product: grey paper, lit softly behind it and falling off towards the edges, in any colour scheme.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/lib/studio.tsx",
      "content": "import type { ComponentProps } from 'react'\n\nimport { cn } from '@/lib/utils'\n\n/*\n * A studio backdrop: what a picture of the product stands on, lit softly\n * behind it and falling off towards the edges and floor, like a\n * photographer's paper. Grey only, from the theme's own background and\n * foreground, so it suits any colour scheme. It fills the box around it,\n * which is `relative isolate`, and sits behind everything in it.\n */\nfunction Studio({ className, ...props }: ComponentProps<'div'>) {\n  return (\n    <div\n      aria-hidden\n      data-slot='studio'\n      className={cn(\n        'pointer-events-none absolute inset-0 -z-10 forced-colors:hidden',\n        // The light: brightest just above the middle, where a picture's top sits.\n        'bg-[radial-gradient(90%_80%_at_50%_38%,var(--color-background),color-mix(in_oklab,var(--color-foreground)_2%,var(--color-background)))] dark:bg-[radial-gradient(90%_80%_at_50%_38%,color-mix(in_oklab,var(--color-foreground)_9%,var(--color-background)),var(--color-background))]',\n        className,\n      )}\n      {...props}\n    >\n      {/* The floor, a shade deeper, so what stands on it has somewhere to stand. */}\n      <div className='absolute inset-x-0 bottom-0 h-1/3 bg-[linear-gradient(to_bottom,transparent,--alpha(var(--color-black)/1.5%))] dark:bg-[linear-gradient(to_bottom,transparent,--alpha(var(--color-black)/25%))]' />\n    </div>\n  )\n}\n\nexport { Studio }\n",
      "type": "registry:lib",
      "target": "@lib/studio.tsx"
    }
  ],
  "type": "registry:lib"
}