{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "placeholder",
  "title": "Placeholder",
  "description": "The look of content that is still loading: a faint tint of the text colour that breathes slowly. The Skeleton and the charts share it.",
  "dependencies": [],
  "registryDependencies": [
    "https://kinoui.com/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/lib/placeholder.ts",
      "content": "/*\n * The look of content that is still loading: a faint tint of the text colour\n * that breathes slowly while it waits. The Skeleton draws it, and so do the\n * charts' placeholders, so everything that waits on data looks the same.\n *\n * The breath is a loop on opacity alone, timed by the `layout` role at an even\n * pace (motion rule 8), so it runs off the main thread. It keeps breathing\n * under reduced motion, since nothing travels.\n */\n\n/** The fill: a tint of the text colour, and GrayText in forced colours. */\nexport const placeholderFillClassName =\n  'bg-foreground/8 dark:bg-foreground/12 forced-colors:bg-[GrayText]!'\n\n/** The same tint as the text colour, for marks an SVG draws in `currentColor`, such as a chart's shapes. */\nexport const placeholderInkClassName =\n  'text-foreground/8 dark:text-foreground/12 forced-colors:text-[GrayText]!'\n\n/** The slow breath. */\nexport const placeholderBreatheClassName =\n  'animate-[pulse_calc(var(--motion-layout-duration)*6)_ease-in-out_infinite]'\n",
      "type": "registry:lib",
      "target": "@lib/placeholder.ts"
    }
  ],
  "type": "registry:lib"
}