- Add colorToHex8 (hex with alpha via culori formatHex8) - Add colorToCSSCompact (no-space rgba for Tailwind shadow classes) - Add normalizeColor (partial Color → full Color with defaults) - Add colorDistance (Euclidean RGB via culori differenceEuclidean) - Replace colorToCSS body with culori formatRgb - Change rgba255ToColor to positional args (r, g, b, a) - Remove duplicate formatColor from svg-export.ts and export-jsx.ts - Remove duplicate colorDistance from tools/analyze.ts - Remove duplicate convertColor from kiwi/kiwi-convert.ts - Replace hand-rolled hex+alpha in HsvColorArea.vue with colorToHex8 - Replace hand-rolled rgba255→Color in HsvColorArea.vue with rgba255ToColor - Expand color.test.ts from 16 to 34 tests |
||
|---|---|---|
| .. | ||
| acp | ||
| cli | ||
| core | ||
| demos | ||
| docs | ||
| mcp | ||