{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "reading-rail",
  "title": "Table of Contents",
  "description": "A spacious table of contents with a rail that bends around nested sections.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "components/ui/reading-rail.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { motion, useMotionValue, useReducedMotion, useSpring, useTransform, type MotionValue } from \"motion/react\"\n\nimport { buildTrack, lengthAt, useRailRows, type RailTrack } from \"@/components/ui/rail-path\"\nimport { cn } from \"@/lib/utils\"\n\ntype ReadingRailItem = {\n  /** matches the `id` of the heading it points to */\n  id: string\n  label: string\n  /** Optional destination when the rail is used for page navigation. */\n  href?: string\n  /** indents the row, and bends the rail sideways to reach it; 0 is a top level heading */\n  depth?: number\n}\n\ntype ReadingRailProps = Omit<React.ComponentProps<\"nav\">, \"children\"> & {\n  items: ReadingRailItem[]\n  /** the element that scrolls; leave it out to follow the page */\n  container?: HTMLElement | null\n  /** how far below the top of the view a heading counts as reached, in px */\n  offset?: number\n  title?: string\n  /** Controls the active item for route-based navigation instead of scroll tracking. */\n  activeId?: string\n  /** Called when a controlled item is selected. */\n  onActiveIdChange?: (id: string) => void\n  /** Enlarges the rail for a standalone contents view. */\n  size?: \"default\" | \"large\"\n}\n\nconst RAIL_X = 7\nconst STEP = 14\n\nfunction RailDot({ x, y, at, reached, current, index, large }: {\n  x: number\n  y: number\n  at: number\n  reached: MotionValue<number>\n  current: number\n  index: number\n  large: boolean\n}) {\n  // Let the travelling arrow cover a dot as it arrives, rather than hiding the destination early.\n  const opacity = useTransform(reached, (length) =>\n    large && current >= 0 ? Math.min(1, Math.max(0, (Math.abs(length - at) - 9) / 10)) : 1\n  )\n  const passed = useTransform(reached, (length) => length + 0.5 >= at ? 1 : 0)\n  if (large) {\n    return (\n      <motion.g style={{ opacity }}>\n        <circle cx={x} cy={y} r={7} className=\"fill-card stroke-[color-mix(in_oklch,var(--foreground)_40%,var(--card))]\" strokeWidth={2.5} />\n        <motion.circle cx={x} cy={y} r={7} className=\"fill-[color-mix(in_oklch,var(--foreground)_65%,var(--card))]\" style={{ opacity: passed }} />\n      </motion.g>\n    )\n  }\n  return (\n    <motion.circle\n      cx={x}\n      cy={y}\n      r={index === current ? 3.25 : 2.25}\n      style={{ opacity }}\n      className={cn(index <= current ? \"fill-glow\" : \"fill-background stroke-foreground/35\", \"transition-[r,fill,stroke] duration-200 motion-reduce:transition-none\")}\n      strokeWidth={1.25}\n    />\n  )\n}\n\n// a table of contents on a dashed rail that bends in where a heading is indented. a solid line fills\n// the rail as you read, and a small endpoint bead follows the path\nfunction ReadingRail({ items, container = null, offset = 24, title = \"On this page\", activeId, onActiveIdChange, size = \"default\", className, ...props }: ReadingRailProps) {\n  const reduceMotion = useReducedMotion()\n  const stemId = React.useId()\n  const large = size === \"large\"\n  const railX = large ? 12 : RAIL_X\n  const step = large ? 30 : STEP\n  const list = React.useRef<HTMLUListElement>(null)\n  const base = React.useRef<SVGPathElement>(null)\n  const trackRef = React.useRef<RailTrack | null>(null)\n  const [current, setCurrent] = React.useState(0)\n  const position = useMotionValue(0)\n  const direction = useMotionValue(0)\n  const previousTarget = React.useRef<number | null>(null)\n\n  const rows = useRailRows(list, railX, step, items)\n  const track = React.useMemo(() => buildTrack(rows ?? [], 7, large ? \"diagonal\" : \"rounded\"), [large, rows])\n\n  // the fill, in px along the path. one spring drives the line and endpoint bead together\n  const reached = useSpring(0, reduceMotion ? { duration: 0 } : { stiffness: 240, damping: 31, mass: 1 })\n  const rotation = useSpring(direction, reduceMotion ? { duration: 0 } : { stiffness: 260, damping: 28, mass: 0.7 })\n  const fill = useMotionValue(0)\n  const x = useMotionValue(railX)\n  const y = useMotionValue(0)\n\n  const moveTo = React.useCallback((target: number) => {\n    if (large && previousTarget.current !== null && Math.abs(target - previousTarget.current) > 0.5) {\n      const angle = target < previousTarget.current ? 180 : 0\n      if (reduceMotion) {\n        direction.jump(angle)\n        rotation.jump(angle)\n      } else {\n        direction.set(angle)\n      }\n    }\n    if (previousTarget.current === null || Math.abs(target - previousTarget.current) > 0.5) previousTarget.current = target\n    if (reduceMotion) reached.jump(target)\n    else reached.set(target)\n  }, [direction, large, reached, reduceMotion, rotation])\n\n  React.useEffect(() => {\n    trackRef.current = track\n    const target = lengthAt(track, position.get())\n    moveTo(target)\n  }, [moveTo, position, track])\n\n  // keep the line and the ember on the path\n  const place = React.useCallback(\n    (length: number) => {\n      const path = base.current\n      const total = trackRef.current?.total ?? 0\n      if (!path || !total) return\n      const clamped = Math.max(0, Math.min(length, total))\n      fill.set(clamped / total)\n      const here = path.getPointAtLength(clamped)\n      x.set(here.x)\n      y.set(here.y)\n    },\n    [fill, x, y]\n  )\n\n  React.useEffect(() => reached.on(\"change\", place), [place, reached])\n\n  // when the rows are measured or move, put the ember back where the rail now is\n  React.useEffect(() => place(reached.get()), [place, reached, track])\n\n  // keep the active row visible when the rail itself sits inside a scrollable sidebar\n  React.useEffect(() => {\n    if (current < 0) return\n    const row = list.current?.children.item(current)?.querySelector<HTMLElement>(\"button, a\")\n    if (!row) return\n\n    let viewport = list.current?.parentElement ?? null\n    while (viewport && viewport !== document.body && viewport !== document.documentElement) {\n      const style = window.getComputedStyle(viewport)\n      const canScroll = /auto|scroll/.test(style.overflowY) && viewport.scrollHeight > viewport.clientHeight + 1\n      if (canScroll) {\n        const rowBounds = row.getBoundingClientRect()\n        const viewportBounds = viewport.getBoundingClientRect()\n        const top = viewportBounds.top + viewport.clientTop\n        const bottom = top + viewport.clientHeight\n        const margin = 12\n\n        if (rowBounds.top < top + margin) {\n          viewport.scrollTo({ top: viewport.scrollTop + rowBounds.top - top - margin, behavior: reduceMotion ? \"auto\" : \"smooth\" })\n        } else if (rowBounds.bottom > bottom - margin) {\n          viewport.scrollTo({ top: viewport.scrollTop + rowBounds.bottom - bottom + margin, behavior: reduceMotion ? \"auto\" : \"smooth\" })\n        }\n        return\n      }\n      viewport = viewport.parentElement\n    }\n  }, [current, reduceMotion])\n\n  React.useEffect(() => {\n    let frame = 0\n    const measure = () => {\n      frame = 0\n      if (activeId !== undefined) {\n        const index = items.findIndex((item) => item.id === activeId)\n        if (index < 0) { position.set(0); moveTo(0); reached.jump(0); setCurrent(-1); return }\n        position.set(index)\n        const length = lengthAt(trackRef.current ?? track, index)\n        moveTo(length)\n        setCurrent(index)\n        return\n      }\n      const top = container ? container.getBoundingClientRect().top : 0\n      const line = top + offset\n      const tops = items.map((item) => document.getElementById(item.id)?.getBoundingClientRect().top ?? Infinity)\n      let index = -1\n      tops.forEach((value, i) => {\n        if (value <= line + 1) index = i\n      })\n      const scrollable = container\n        ? container.scrollHeight - container.clientHeight\n        : document.documentElement.scrollHeight - window.innerHeight\n      const scrolled = container ? container.scrollTop : window.scrollY\n      // scroll snapping can settle a few pixels before the exact scroll limit\n      const atEnd = scrollable > 0 && scrolled >= scrollable - Math.max(24, offset)\n      let next: number\n      if (atEnd) next = items.length - 1\n      else if (index < 0) next = 0\n      else if (index >= items.length - 1) next = items.length - 1\n      else {\n        const span = tops[index + 1] - tops[index]\n        next = index + (span > 0 ? Math.min(Math.max((line - tops[index]) / span, 0), 1) : 0)\n      }\n      position.set(next)\n      const length = lengthAt(trackRef.current ?? track, next)\n      moveTo(length)\n      setCurrent(atEnd ? items.length - 1 : Math.max(index, 0))\n    }\n    const schedule = () => {\n      if (!frame) frame = requestAnimationFrame(measure)\n    }\n    schedule()\n    const scroller: HTMLElement | Window = container ?? window\n    scroller.addEventListener(\"scroll\", schedule, { passive: true })\n    window.addEventListener(\"resize\", schedule)\n    return () => {\n      cancelAnimationFrame(frame)\n      scroller.removeEventListener(\"scroll\", schedule)\n      window.removeEventListener(\"resize\", schedule)\n    }\n  }, [activeId, container, items, moveTo, offset, position, reached, track])\n\n  function go(id: string) {\n    if (activeId !== undefined) {\n      onActiveIdChange?.(id)\n      return\n    }\n    const target = document.getElementById(id)\n    if (!target) return\n    const behavior = reduceMotion ? \"auto\" : \"smooth\"\n    if (container) {\n      const delta = target.getBoundingClientRect().top - (container.getBoundingClientRect().top + offset)\n      container.scrollTo({ top: container.scrollTop + delta, behavior })\n    } else {\n      window.scrollTo({ top: window.scrollY + target.getBoundingClientRect().top - offset, behavior })\n    }\n  }\n\n  return (\n    <nav data-slot=\"reading-rail\" data-size={size} aria-label={title} className={cn(\"relative\", className)} {...props}>\n      <div className={cn(\"mb-4 flex items-center pl-7\", large && \"mb-5 gap-4 pl-0 sm:mb-6\")}>\n        {large && (\n          <span aria-hidden className=\"flex w-6 shrink-0 flex-col gap-[4px] text-foreground/65\">\n            <span className=\"h-[3px] w-full rounded-full bg-current\" />\n            <span className=\"h-[3px] w-[17px] rounded-full bg-current\" />\n            <span className=\"h-[3px] w-[21px] rounded-full bg-current\" />\n          </span>\n        )}\n        <p className={cn(\"text-[13px] font-medium tracking-tight text-foreground/70\", large && \"text-[24px] leading-tight font-semibold text-foreground/80 sm:text-[30px]\")}>{title}</p>\n      </div>\n      <ul ref={list} className=\"relative flex flex-col\">\n        {rows && track.d && (\n          <svg aria-hidden className={cn(\"pointer-events-none absolute top-0 left-0 h-full overflow-visible\", large ? \"w-16\" : \"w-8\")}>\n            {large && rows[0] && (\n              <>\n                <defs>\n                  <linearGradient id={stemId} gradientUnits=\"userSpaceOnUse\" x1={rows[0].x} y1={rows[0].y - 32} x2={rows[0].x} y2={rows[0].y}>\n                    <stop offset=\"0%\" stopColor=\"currentColor\" stopOpacity=\"0\" />\n                    <stop offset=\"100%\" stopColor=\"currentColor\" />\n                  </linearGradient>\n                </defs>\n                <path d={`M ${rows[0].x} ${rows[0].y - 32} V ${rows[0].y}`} fill=\"none\" stroke={`url(#${stemId})`} strokeWidth=\"3\" className=\"text-foreground/45\" />\n              </>\n            )}\n            <path ref={base} d={track.d} fill=\"none\" strokeWidth={large ? 2.5 : 1.5} strokeLinecap=\"round\" strokeDasharray={large ? \"3 10\" : \"0.1 5\"} className={large ? \"stroke-foreground/35\" : \"stroke-foreground/30\"} />\n            <motion.path d={track.d} fill=\"none\" strokeWidth={large ? 3 : 1.75} strokeLinecap=\"round\" className={large ? \"stroke-[color-mix(in_oklch,var(--foreground)_65%,var(--card))]\" : \"stroke-glow\"} style={{ pathLength: fill }} />\n            {rows.map((row, index) => (\n              <RailDot\n                key={index}\n                x={row.x}\n                y={row.y}\n                at={track.at[index]}\n                reached={reached}\n                current={current}\n                index={index}\n                large={large}\n              />\n            ))}\n            <motion.g style={{ x, y, opacity: current < 0 ? 0 : 1 }}>\n              {large ? (\n                <motion.g data-rail-arrow style={{ rotate: rotation, originX: 0.5, originY: 13 / 29 }}>\n                  <path d=\"M -13 -13 L 0 16 L 13 -13 L 0 -7 Z\" className=\"fill-foreground\" />\n                </motion.g>\n              ) : (\n              <>\n              <circle\n                r={large ? 5.5 : 4.25}\n                className=\"fill-background stroke-glow\"\n                strokeWidth={large ? 1.75 : 1.5}\n              />\n              <circle r={large ? 1.8 : 1.5} className=\"fill-glow\" />\n              </>\n              )}\n            </motion.g>\n          </svg>\n        )}\n        {items.map((item, index) => {\n          const Element = item.href ? \"a\" : \"button\"\n          return (\n          <li key={item.id} data-rail-row data-depth={item.depth ?? 0} className=\"relative\">\n            <Element\n              type={item.href ? undefined : \"button\"}\n              href={item.href}\n              onClick={item.href ? undefined : () => go(item.id)}\n              aria-current={index === current ? \"location\" : undefined}\n              className={cn(\n                cn(\"group flex min-h-8 w-full cursor-pointer items-center rounded-lg py-1.5 pr-2 text-left text-[13px] leading-snug outline-none transition-colors duration-200 ease-[cubic-bezier(0.22,1,0.36,1)] focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-ring motion-reduce:transition-none\", large && \"min-h-[56px] rounded-none py-1.5 text-[22px] font-medium sm:min-h-[68px] sm:text-[26px]\"),\n                index === current ? (large ? \"font-semibold text-foreground\" : \"font-medium text-foreground\") : large ? \"text-foreground/60 hover:text-foreground/90 focus-visible:text-foreground\" : index < current ? \"text-foreground/70 hover:text-foreground\" : \"text-foreground/45 hover:text-foreground\"\n              )}\n              style={{ paddingLeft: (large ? 40 : 28) + (item.depth ?? 0) * step }}\n            >\n              <span className={cn(large && \"block origin-left transition-transform duration-200 ease-[cubic-bezier(0.22,1,0.36,1)] group-hover:translate-x-[3px] group-focus-visible:translate-x-[3px] group-active:translate-x-px motion-reduce:transform-none motion-reduce:transition-none\")}>{item.label}</span>\n            </Element>\n          </li>\n        )})}\n      </ul>\n    </nav>\n  )\n}\n\nexport { ReadingRail, type ReadingRailItem, type ReadingRailProps }\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/rail-path.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\n// the geometry that the rail components share: a path drawn through the centre of every row,\n// stepping sideways with rounded elbows where a row is indented, and a short curved hook that\n// turns off the rail into a row\n\ntype RailRow = { x: number; y: number }\n\ntype RailTrack = {\n  /** the full path, from the first row to the last */\n  d: string\n  /** how far along the path each row sits, in px */\n  at: number[]\n  total: number\n}\n\n/** a path through every row. rows that sit at a different x get a rounded jog halfway between them */\nfunction buildTrack(rows: RailRow[], radius = 7, bend: \"rounded\" | \"diagonal\" = \"rounded\"): RailTrack {\n  if (!rows.length) return { d: \"\", at: [], total: 0 }\n  let d = `M ${rows[0].x} ${rows[0].y}`\n  let length = 0\n  const at = [0]\n  for (let i = 1; i < rows.length; i++) {\n    const a = rows[i - 1]\n    const b = rows[i]\n    if (a.x === b.x) {\n      d += ` V ${b.y}`\n      length += b.y - a.y\n    } else {\n      if (bend === \"diagonal\") {\n        const mid = (a.y + b.y) / 2\n        const half = Math.min(Math.abs(b.x - a.x) / 2, (b.y - a.y) / 4)\n        d += ` V ${mid - half} L ${b.x} ${mid + half} V ${b.y}`\n        length += b.y - a.y - 2 * half + Math.hypot(b.x - a.x, 2 * half)\n        at.push(length)\n        continue\n      }\n      const dir = b.x > a.x ? 1 : -1\n      const dx = Math.abs(b.x - a.x)\n      const r = Math.min(radius, dx / 2, (b.y - a.y) / 4)\n      const mid = (a.y + b.y) / 2\n      d += ` V ${mid - r} A ${r} ${r} 0 0 ${dir === 1 ? 0 : 1} ${a.x + dir * r} ${mid} H ${b.x - dir * r}`\n      d += ` A ${r} ${r} 0 0 ${dir === 1 ? 1 : 0} ${b.x} ${mid + r} V ${b.y}`\n      length += mid - r - a.y + (Math.PI * r) / 2 + (dx - 2 * r) + (Math.PI * r) / 2 + (b.y - mid - r)\n    }\n    at.push(length)\n  }\n  return { d, at, total: length }\n}\n\n/** how far along the track a position is, where 1.5 means halfway between the second and third row */\nfunction lengthAt(track: RailTrack, position: number) {\n  if (!track.at.length) return 0\n  const clamped = Math.min(Math.max(position, 0), track.at.length - 1)\n  const index = Math.min(Math.floor(clamped), track.at.length - 2)\n  if (index < 0) return 0\n  const t = clamped - index\n  return track.at[index] + (track.at[index + 1] - track.at[index]) * t\n}\n\n/**\n * measures the centre of each `[data-rail-row]` inside the list. a row's `data-depth` shifts it\n * sideways by `step` px. returns null until the first measure, so nothing is drawn on the server\n */\nfunction useRailRows(list: React.RefObject<HTMLElement | null>, x: number, step: number, watch: unknown) {\n  const [rows, setRows] = React.useState<RailRow[] | null>(null)\n\n  React.useEffect(() => {\n    const node = list.current\n    if (!node) return\n    let frame = 0\n    const measure = () => {\n      frame = 0\n      const found = Array.from(node.querySelectorAll<HTMLElement>(\"[data-rail-row]\"))\n      setRows(\n        found.map((row) => ({\n          x: x + Number(row.dataset.depth ?? 0) * step,\n          y: row.offsetTop + row.offsetHeight / 2,\n        }))\n      )\n    }\n    const schedule = () => {\n      if (!frame) frame = requestAnimationFrame(measure)\n    }\n    schedule()\n    const observer = new ResizeObserver(schedule)\n    observer.observe(node)\n    node.querySelectorAll(\"[data-rail-row]\").forEach((row) => observer.observe(row))\n    return () => {\n      cancelAnimationFrame(frame)\n      observer.disconnect()\n    }\n  }, [list, x, step, watch])\n\n  return rows\n}\n\nexport { buildTrack, lengthAt, useRailRows, type RailRow, type RailTrack }\n",
      "type": "registry:ui"
    },
    {
      "path": "lib/afterglow.ts",
      "content": "import type { CSSProperties } from \"react\"\nimport type { TargetAndTransition, Transition } from \"motion/react\"\n\n// shared spring presets, every component picks from these\nexport const springs = {\n  snappy: { stiffness: 520, damping: 34, mass: 0.6 },\n  soft: { stiffness: 260, damping: 26, mass: 0.8 },\n  glide: { stiffness: 120, damping: 20, mass: 1 },\n} as const\n\nexport type SpringName = keyof typeof springs\n\nexport function spring(name: SpringName): Transition {\n  return { type: \"spring\", ...springs[name] }\n}\n\n// how a glow fades once its source moves away: slow, with a long tail\nexport const afterglow = {\n  linger: 0.9,\n  ease: [0.22, 1, 0.36, 1],\n} as const satisfies { linger: number; ease: Transition[\"ease\"] }\n\n// paints only the padding ring of an element, used for glowing borders\nexport const ringMask: CSSProperties = {\n  WebkitMask:\n    \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n  WebkitMaskComposite: \"xor\",\n  mask: \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n  maskComposite: \"exclude\",\n}\n\n// small icon gestures, played when a control is pressed or selected\nexport const iconGestures = {\n  pop: { scale: [1, 1.2, 1] },\n  ring: { rotate: [0, -18, 14, -9, 4, 0], scale: [1, 1.12, 1] },\n  // a gear looks the same after half a turn, so it can rest there and snap back unseen\n  turn: { rotate: [0, 180], scale: [1, 1.12, 1] },\n  hop: { y: [0, -3, 0], scale: [1, 1.1, 1] },\n  nudge: { x: [0, 2.5, 0], scale: [1, 1.1, 1] },\n} satisfies Record<string, TargetAndTransition>\n\nexport type IconGesture = keyof typeof iconGestures\n\n// leaving a gesture is instant: every gesture already ends at, or looks like, its resting pose\nexport const iconRest: TargetAndTransition = { scale: 1, rotate: 0, x: 0, y: 0, transition: { duration: 0 } }\n",
      "type": "registry:lib"
    }
  ],
  "cssVars": {
    "theme": {
      "color-glow": "var(--glow)",
      "color-glow-foreground": "var(--glow-foreground)",
      "color-glow-2": "var(--glow-2)",
      "color-glow-3": "var(--glow-3)",
      "color-glass": "var(--glass)",
      "color-gloss-highlight": "var(--gloss-highlight)",
      "shadow-gloss": "inset 0 1px 0 0 var(--gloss-highlight), inset 0 -1px 0 0 var(--gloss-shade), 0 0 0 1px var(--gloss-edge), 0 1px 2px 0 var(--gloss-depth), 0 4px 12px -4px var(--gloss-depth)",
      "shadow-glass": "inset 0 1px 0 0 var(--gloss-highlight), inset 0 -10px 24px -18px var(--gloss-shade), inset 0 0 0 1px var(--gloss-edge), 0 2px 6px -1px var(--gloss-depth), 0 18px 40px -12px var(--gloss-depth)",
      "shadow-well": "inset 0 1px 3px 0 var(--gloss-depth), inset 0 0 0 1px var(--gloss-edge), 0 1px 0 0 var(--gloss-highlight)"
    },
    "light": {
      "glow": "oklch(0.7 0.19 45)",
      "glow-foreground": "oklch(0.22 0.05 40)",
      "glow-2": "oklch(0.64 0.22 12)",
      "glow-3": "oklch(0.56 0.21 300)",
      "glass": "oklch(1 0 0 / 55%)",
      "gloss-highlight": "oklch(1 0 0 / 95%)",
      "gloss-shade": "oklch(0.3 0.03 285 / 10%)",
      "gloss-depth": "oklch(0.32 0.03 285 / 20%)",
      "gloss-edge": "oklch(0.22 0.02 285 / 10%)",
      "liquid-tint": "oklch(1 0 0 / 18%)",
      "liquid-fallback": "oklch(1 0 0 / 55%)",
      "liquid-rim": "oklch(1 0 0 / 95%)",
      "liquid-edge": "oklch(0.2 0.02 285 / 10%)",
      "liquid-shadow": "oklch(0.22 0.02 285 / 26%)",
      "liquid-glow": "oklch(1 0 0 / 55%)",
      "liquid-shade": "oklch(0.25 0.03 285 / 14%)"
    },
    "dark": {
      "glow": "oklch(0.8 0.16 55)",
      "glow-foreground": "oklch(0.22 0.05 40)",
      "glow-2": "oklch(0.7 0.2 15)",
      "glow-3": "oklch(0.65 0.2 300)",
      "glass": "oklch(0.19 0 0 / 55%)",
      "gloss-highlight": "oklch(1 0 0 / 16%)",
      "gloss-shade": "oklch(0 0 0 / 30%)",
      "gloss-depth": "oklch(0.04 0 0 / 60%)",
      "gloss-edge": "oklch(1 0 0 / 9%)",
      "liquid-tint": "oklch(0.2 0 0 / 22%)",
      "liquid-fallback": "oklch(0.2 0 0 / 45%)",
      "liquid-rim": "oklch(1 0 0 / 60%)",
      "liquid-edge": "oklch(1 0 0 / 10%)",
      "liquid-shadow": "oklch(0 0 0 / 50%)",
      "liquid-glow": "oklch(1 0 0 / 24%)",
      "liquid-shade": "oklch(0 0 0 / 28%)"
    }
  },
  "type": "registry:ui"
}