{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-circle",
  "type": "registry:ui",
  "title": "Icon Circle",
  "description": "The icon-circle primitive.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.klarhimmel.com/r/theme.json",
    "https://ui.klarhimmel.com/r/utils.json"
  ],
  "files": [
    {
      "path": "src/ui/icon-circle.tsx",
      "type": "registry:file",
      "target": "components/klarhimmel/ui/icon-circle.tsx",
      "content": "import type { ReactNode } from 'react';\nimport { cn } from '../lib/utils';\n\n/** A round tile behind a settings or feature icon (Felix 10-27 22:0x on Klar Agent's settings, \"use blue for the icon bg … update\n *  design system\"): 40 px with a 20 px icon. tone=\"brand\" is Klarhimmel's blue whatever the theme (theme CSS .kh-icon-circle), so it\n *  stays blue under an organisation's theme, where a dark accent made the soft accent read grey; tone=\"accent\" follows the theme.\n *  Decoration: the row's own text names it. */\nexport function IconCircle({ icon, tone = 'brand', className }: { icon: ReactNode; tone?: 'brand' | 'accent'; className?: string }) {\n  return (\n    <span aria-hidden className={cn('inline-flex size-10 shrink-0 items-center justify-center rounded-full [&>svg]:size-5', tone === 'brand' ? 'kh-icon-circle' : 'bg-kh-accent-fill text-kh-accent-fg', className)}>\n      {icon}\n    </span>\n  );\n}\n"
    }
  ]
}
