{"version":3,"file":"color-formats.mjs","names":[],"sources":["../src/color-formats.ts"],"sourcesContent":["/**\n * The color display formats swatchbook understands, shared across the\n * blocks display surface, the MCP server's agent output, and the addon\n * toolbar selector.\n *\n * Kept colorjs-free (no `formatColor` import) so the addon manager bundle\n * can import the list without dragging colorjs.io in — see\n * [[format-color.ts]] for the rendering kernel.\n *\n * - `hex` — sRGB hex (`#rrggbb` / `#rrggbbaa`); out-of-gamut falls back to `rgb()`.\n * - `rgb` / `hsl` — CSS Color 4 space-separated syntax.\n * - `oklch` — perceptual wide-gamut form.\n * - `raw` — the normalized color payload (rendering is consumer-specific).\n */\nexport type ColorFormat = 'hex' | 'rgb' | 'hsl' | 'oklch' | 'raw';\n\nexport const COLOR_FORMATS: readonly ColorFormat[] = ['hex', 'rgb', 'hsl', 'oklch', 'raw'];\n"],"mappings":";AAgBA,MAAa,gBAAwC;CAAC;CAAO;CAAO;CAAO;CAAS;CAAM"}